« Return to Thread: Eclipse plugin

Re: Eclipse plugin

by Iman-4 :: Rate this Message:

| View in Thread

Hi John,
When I created the hadoop location, the hadoop.job.ugi did not appear in
the advanced parameter. But when I later edited it, it was there. I
donnu how that was fixed:)
Also to get it to work, I had to edit the fs.default.name and
mapred.job.tracker in  hadoop/conf/hadoop-site.xml
I added these lines:
<property>
    <name>fs.default.name</name>
    <value>hdfs://<ip_address>:9000</value>
  </property>
  <property>
    <name>mapred.job.tracker</name>
    <value><ip_address>:9001</value>
  </property>
  <property>
    <name>dfs.replication</name>
    <value>1</value>
  </property>

Finally, I decided to install hadoop locally on my machine instead of
using the hadoop virtual machine.
Iman.

John Livingstone wrote:

> Iman-4,
> I have encountered the same problem that you have encountered: Not being
> able to access HDFS on my Hadoop VMware Linux server (uning the Hadoop Yahoo
> tutorial) and not seeing "hadoop.job.ugi" in my Eclipse Europa 3.3.2 list of
> parameters.  What did you have to do or change to get it to work?
> Thanks,
> John L.
>
>
>
>
> Iman-4 wrote:
>  
>> Thank you so much, Norbert. It worked.
>> Iman
>> Norbert Burger wrote:
>>    
>>> Are running Eclipse on Windows?  If so, be aware that you need to spawn
>>> Eclipse from within Cygwin in order to access HDFS.  It seems that the
>>> plugin uses "whoami" to get info about the active user.  This thread has
>>> some more info:
>>>
>>> http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200807.mbox/%3C487CD747.8050503@...%3E
>>>
>>> Norbert
>>>
>>> On 2/12/09, Iman <ielghand@...> wrote:
>>>  
>>>      
>>>> Hi,
>>>> I am using VM image hadoop-appliance-0.18.0.vmx and an eclipse plug-in
>>>> of
>>>> hadoop. I have followed all the steps in this tutorial:
>>>> http://public.yahoo.com/gogate/hadoop-tutorial/html/module3.html. My
>>>> problem is that I am not able to browse the HDFS. It only shows an entry
>>>> "Error:null". Upload files to DFS, and Create new directory fail. Any
>>>> suggestions? I have tried to chang all the directories in the hadoop
>>>> location advanced parameters to "/tmp/hadoop-user", but it did not work.
>>>> Also, the tutorials mentioned a parameter "hadoop.job.ugi" that needs to
>>>> be
>>>> changed, but I could not find it in the list of parameters.
>>>> Thanks
>>>> Iman
>>>>
>>>>    
>>>>        
>>>  
>>>      
>>
>>    
>
>  

 « Return to Thread: Eclipse plugin