Re: graphics in hadoop

2008-10-15 Thread chandravadana

Thanks steve..
will try working on the patch..


S.Chandravadana



Steve Loughran wrote:
> 
> chandravadana wrote:
>> ya.. will write up in hadoop wiki..
>> is there a way other than copying from local filesystem to hdfs...
>> like writing directly to hdfs...?
>> 
> 
> Can you patch jfreechart to write directly to HDFS files? That is the 
> only way to do it right now, unless you can mount the HFDS filesystem 
> under linux using FUSE
> 
> 
> -steve
> 
> 

-- 
View this message in context: 
http://www.nabble.com/graphics-in-hadoop-tp19853939p19992110.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.



Re: graphics in hadoop

2008-10-15 Thread Steve Loughran

chandravadana wrote:

ya.. will write up in hadoop wiki..
is there a way other than copying from local filesystem to hdfs...
like writing directly to hdfs...?



Can you patch jfreechart to write directly to HDFS files? That is the 
only way to do it right now, unless you can mount the HFDS filesystem 
under linux using FUSE



-steve


Re: graphics in hadoop

2008-10-14 Thread chandravadana

ya.. will write up in hadoop wiki..
is there a way other than copying from local filesystem to hdfs...
like writing directly to hdfs...?

Thanks 
S.Chandravadana


Steve Loughran wrote:
> 
> chandravadana wrote:
>> hi
>> Thanks all.. ur guidelines helped me a lot..
>> i'm using Jfreechart... when i set
>> System.setProperty("java.awt.headless",
>> "true"); i'm able to run this properly... 
> 
> this is good; consider writing this up on the hadoop wiki
>> 
>> if i specify the path (where the chart is to be saved) as  local
>> filesystem.. i'm able to save the chart..
>> but if i set path to be hdfs, then i'm unable to...
>> so what changes do i need to make..
> 
> You'll need to copy the local file to HDFS after it is rendered.
> 
>> 
>> Thanks 
>> Chandravadana.S
>> 
>> 
>> 
>> Steve Loughran wrote:
>>> Alex Loddengaard wrote:
>>>> Hadoop runs Java code, so you can do anything that Java could do.  This
>>>> means that you can create and/or analyze images.  However, as Lukas has
>>>> said, Hadoop runs on a cluster of computers and is used for data
>>>> storage
>>>> and
>>>> processing.
>>>>
>>> -If you are trying to do 2D graphics (AWT operations included) on unix 
>>> servers, you often need to have X11 up and running before the rendering 
>>> works
>>> - You need to start whichever JVM runs your rendering code with the 
>>> property  java.awt.headless=true; you can actually set this in your
>>> code.
>>> -if the rendering code uses the OS/hardware, then different hardware can 
>>> render differently. This may not be visible to the eye, but it makes 
>>> testing more complex as the generated bitmaps can be slightly different 
>>> from machine to machine
>>>
>>> -steve
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>> Steve Loughran  http://www.1060.org/blogxter/publish/5
>>> Author: Ant in Action   http://antbook.org/
>>>
>>>
>> 
> 
> 
> -- 
> Steve Loughran  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action   http://antbook.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/graphics-in-hadoop-tp19853939p19986476.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.



Re: graphics in hadoop

2008-10-14 Thread Steve Loughran

chandravadana wrote:

hi
Thanks all.. ur guidelines helped me a lot..
i'm using Jfreechart... when i set System.setProperty("java.awt.headless",
"true"); i'm able to run this properly... 


this is good; consider writing this up on the hadoop wiki


if i specify the path (where the chart is to be saved) as  local
filesystem.. i'm able to save the chart..
but if i set path to be hdfs, then i'm unable to...
so what changes do i need to make..


You'll need to copy the local file to HDFS after it is rendered.



Thanks 
Chandravadana.S




Steve Loughran wrote:

Alex Loddengaard wrote:

Hadoop runs Java code, so you can do anything that Java could do.  This
means that you can create and/or analyze images.  However, as Lukas has
said, Hadoop runs on a cluster of computers and is used for data storage
and
processing.

-If you are trying to do 2D graphics (AWT operations included) on unix 
servers, you often need to have X11 up and running before the rendering 
works
- You need to start whichever JVM runs your rendering code with the 
property  java.awt.headless=true; you can actually set this in your code.
-if the rendering code uses the OS/hardware, then different hardware can 
render differently. This may not be visible to the eye, but it makes 
testing more complex as the generated bitmaps can be slightly different 
from machine to machine


-steve





--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/







--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/


Re: graphics in hadoop

2008-10-13 Thread chandravadana

hi
Thanks all.. ur guidelines helped me a lot..
i'm using Jfreechart... when i set System.setProperty("java.awt.headless",
"true"); i'm able to run this properly... 

if i specify the path (where the chart is to be saved) as  local
filesystem.. i'm able to save the chart..
but if i set path to be hdfs, then i'm unable to...
so what changes do i need to make..

Thanks 
Chandravadana.S



Steve Loughran wrote:
> 
> Alex Loddengaard wrote:
>> Hadoop runs Java code, so you can do anything that Java could do.  This
>> means that you can create and/or analyze images.  However, as Lukas has
>> said, Hadoop runs on a cluster of computers and is used for data storage
>> and
>> processing.
>> 
> 
> -If you are trying to do 2D graphics (AWT operations included) on unix 
> servers, you often need to have X11 up and running before the rendering 
> works
> - You need to start whichever JVM runs your rendering code with the 
> property  java.awt.headless=true; you can actually set this in your code.
> -if the rendering code uses the OS/hardware, then different hardware can 
> render differently. This may not be visible to the eye, but it makes 
> testing more complex as the generated bitmaps can be slightly different 
> from machine to machine
> 
> -steve
> 
> 
> 
> 
> 
> -- 
> Steve Loughran  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action   http://antbook.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/graphics-in-hadoop-tp19853939p19967434.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.



Re: graphics in hadoop

2008-10-08 Thread Steve Loughran

Alex Loddengaard wrote:

Hadoop runs Java code, so you can do anything that Java could do.  This
means that you can create and/or analyze images.  However, as Lukas has
said, Hadoop runs on a cluster of computers and is used for data storage and
processing.



-If you are trying to do 2D graphics (AWT operations included) on unix 
servers, you often need to have X11 up and running before the rendering 
works
- You need to start whichever JVM runs your rendering code with the 
property  java.awt.headless=true; you can actually set this in your code.
-if the rendering code uses the OS/hardware, then different hardware can 
render differently. This may not be visible to the eye, but it makes 
testing more complex as the generated bitmaps can be slightly different 
from machine to machine


-steve





--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/


Re: graphics in hadoop

2008-10-07 Thread Alex Loddengaard
Hadoop runs Java code, so you can do anything that Java could do.  This
means that you can create and/or analyze images.  However, as Lukas has
said, Hadoop runs on a cluster of computers and is used for data storage and
processing.

If you need to display images, then you'd have to take these images off the
HDFS (Hadoop distributed filesystem) and on to your local desktop.

Alex

On Tue, Oct 7, 2008 at 3:50 AM, Lukáš Vlček <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Hadoop is a platform for distributed computing. Typically it runs on a
> cluster of dedicated servers (though expensive HW is not required), as far
> as I know it is not mean to be a platform for applications running on
> client.
> Hadoop is very general and not limitted by nature of the data, this means
> that you should be able to process also image data.
>
> Regards,
> Lukas
>
> On Tue, Oct 7, 2008 at 10:51 AM, chandra <
> [EMAIL PROTECTED]> wrote:
>
> >
> >
> > hi
> >
> > does hadoop support graphics packages for displaying some images..?
> >
> >
> > --
> > Best Regards
> > S.Chandravadana
> >
> > This e-mail and any files transmitted with it are for the sole use of the
> > intended recipient(s) and may contain confidential and privileged
> > information.
> > If you are not the intended recipient, please contact the sender by reply
> > e-mail and destroy all copies of the original message.
> > Any unauthorized review, use, disclosure, dissemination, forwarding,
> > printing or copying of this email or any action taken in reliance on this
> > e-mail is strictly
> > prohibited and may be unlawful.
> >
>


Re: graphics in hadoop

2008-10-07 Thread Lukáš Vlček
Hi,

Hadoop is a platform for distributed computing. Typically it runs on a
cluster of dedicated servers (though expensive HW is not required), as far
as I know it is not mean to be a platform for applications running on
client.
Hadoop is very general and not limitted by nature of the data, this means
that you should be able to process also image data.

Regards,
Lukas

On Tue, Oct 7, 2008 at 10:51 AM, chandra <
[EMAIL PROTECTED]> wrote:

>
>
> hi
>
> does hadoop support graphics packages for displaying some images..?
>
>
> --
> Best Regards
> S.Chandravadana
>
> This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly
> prohibited and may be unlawful.
>


Re: graphics in hadoop

2008-10-07 Thread chandravadana

and  is there any method for creating an image file in hadoop..?


chandravadana wrote:
> 
> 
> 
> hi
> 
> does hadoop support graphics packages for displaying some images..?
> 
> 
> -- 
> Best Regards
> S.Chandravadana
> 
> This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message. 
> Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on this
> e-mail is strictly 
> prohibited and may be unlawful.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/graphics-in-hadoop-tp19853939p19855082.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.



graphics in hadoop

2008-10-07 Thread chandra


hi

does hadoop support graphics packages for displaying some images..?


-- 
Best Regards
S.Chandravadana

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message. 
Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly 
prohibited and may be unlawful.