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.

Reply via email to