Pleae help in setting up hadoop in eclipse in Ubuntu using VMWare

42 views
Skip to first unread message

Raj

unread,
Jul 24, 2013, 1:02:33 PM7/24/13
to hadooponli...@googlegroups.com

Hi Pavan,

I tried to setup Hadoop in eclipse but DFS Location is be giving below error.

Error:call to localhost/127.0.0.1:54311 failed on local exception:java.io.EOFException

1. Download Hadoop-20-2 and installed on Ubuntu usign VMware tool.
2. Started all nodes ./start-all.sh (NameNode, DataNode, TaskTracker, JobTracker, SecondaryNameNode)
3. Downloaded eclipse
4. copied hadoop-0.20.2-eclipse-plugin.jar in eclips plugin folder.
5. Started eclipse
6. Imported hadoop project
7. Add Map/Reduce server
8. When tried to see DLS locations I am getting error "Error:call to localhost/127.0.0.1:54311 failed on local exception:java.io.EOFException"

Please help Pawan to sortout this issue, I am struggling from two days. I tried installing different eclipse hadoop plugins unfortunately without success :(.


Regards,
Raj

PAVAN KUMAR Reddy

unread,
Jul 25, 2013, 1:40:04 AM7/25/13
to Raj, hadooponli...@googlegroups.com
1- Go to your HADOOP_HOME/contrib folder. Copy the hadoop-eclipse-plugin-*.jar somewhere and extract it. This will give a folder named hadoop-eclipse-plugin-*

2- Now, add following 5 jars from your HADOOP_HOME/lib folder to the hadoop-eclipse-plugin-*/lib folder, you have got just now after extracting the plugin :
    commons-configuration-1.6.jar
    commons-httpclient-3.0.1.jar
    commons-lang-2.4.jar
    jackson-core-asl-1.0.1.jar
    jackson-mapper-asl-1.0.1.jar


3- Now, modify the hadoop-eclipse-plugin-*/META-INF/MANIFEST.MF file and change the Bundle-ClassPath to :
Bundle-ClassPath: classes /, lib / hadoop-core.jar, lib/commons-cli-1.2.jar, lib/commons-httpclient-3.0.1.jar, lib/jackson-core-asl-1.0.1.jar , lib/jackson-mapper-asl-1.0.1.jar, lib/commons-configuration-1.6.jar, lib/commons-lang-2.4.jar

4- Now, re 'jar' the package and place this new jar inside eclipse/plugin directory and restart the eclipse



--
You received this message because you are subscribed to the Google Groups "HadoopOnlineTraining9" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hadooponlinetrai...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Thanks & Regards
Pavan Reddy .G
Reply all
Reply to author
Forward
0 new messages