While navigating HDFS directory structure in the project explorer, if you are getting Error:NULL check for Advanced Parameters settings. I am using Hadoop 0.18.0 and Eclipse SDK version 3.5.0.
In many of the eclipse versions when you are setting Advanced Parameters, you may not find "hadoop.job.ugi" parameter. And hence missing setting this parameter could result in Error:NULL.
First, set all the required parameters except hadoop.job.ugi (because its missing). Then click Finish.
Now go to your workspace directory and navigate to locations folder.
"\workspace\.metadata\.plugins\org.apache.hadoop.eclipse\locations"
Here open the xml file and add the following.
<property>
< name>hadoop.job.ugi</name>
< value>hadoop-user,ABC</value>
< /property>
Close the eclipse and start it again. Now you should be able to connect to HDFS and view its file system.
In many of the eclipse versions when you are setting Advanced Parameters, you may not find "hadoop.job.ugi" parameter. And hence missing setting this parameter could result in Error:NULL.
First, set all the required parameters except hadoop.job.ugi (because its missing). Then click Finish.
Now go to your workspace directory and navigate to locations folder.
"\workspace\.metadata\.plugins\org.apache.hadoop.eclipse\locations"
Here open the xml file and add the following.
<property>
< name>hadoop.job.ugi</name>
< value>hadoop-user,ABC</value>
< /property>
Close the eclipse and start it again. Now you should be able to connect to HDFS and view its file system.
No comments:
Post a Comment