- I am trying to setup my Eclipse for Hadoop using this page
- I am using hadoop eclipse plugin jar from here
- my core-site.xml looks like has the following:
<property> <name>fs.default.name</name> <value>hdfs://localhost:54310</value> <description>The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri's scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri's authority is used to determine the host, port, etc. for a filesystem.</description> </property> </configuration>
- my mapred-site.xml has following
<property> <name>mapred.job.tracker</name> <value>localhost:54311</value> <description>The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task. </description> </property>
I set up hadoop location under mapreduce perspective in Eclipse as
Location Name: local Map Reduce Master
- Host: localhost
- port: 54310
DFS Master
- Host: localhost
- port: 54311
When I try to connect it gives error saying:
Error: Call to localhost/127.0.0.1:54311 failed on local exception: java.io.EOFException
- Can someone please help me to resolve this issue?
Thank you