[ https://issues.apache.org/jira/browse/HADOOP-10371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huangxing resolved HADOOP-10371. -------------------------------- Resolution: Fixed Fix Version/s: 1.2.1 Release Note: fixed The problem is be due to the configuration files, I configed the file core-site.xml like this: <configuration> <property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> </property> </configuration> So I change it to : <configuration> <property> <name>fs.default.name</name> <value>hdfs://191.255.255.253:9000</value> </property> </configuration> Finally, I set the server's ip as 191.255.255.253 in eclipse,then it works.. > The eclipse-plugin cannot work in my environment > ------------------------------------------------- > > Key: HADOOP-10371 > URL: https://issues.apache.org/jira/browse/HADOOP-10371 > Project: Hadoop Common > Issue Type: Task > Components: contrib/eclipse-plugin > Affects Versions: 1.2.1 > Environment: OS:ubuntu-12.04.4-desk-amd64 > eclipse:4.2.2 and 4.3.0 > Reporter: huangxing > Priority: Minor > Fix For: 1.2.1 > > Attachments: error.jpg > > > I compile the hadoop plugin for eclipse 4.2.2 and 4.3.0,but both of them > cannot work well,the error is like this: > Cannot connect to the Map/Reduce location: hx > Call to localhost/127.0.0.1:9001 failed on connection exception: > java.net.ConnectException: 拒绝连接 > 信息: Retrying connect to server: localhost/127.0.0.1:9001. Already tried 5 > time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, > sleepTime=1 SECONDS) > 二月 26, 2014 10:53:42 下午 org.apache.hadoop.ipc.Client$Connection > handleConnectionFailure > 信息: Retrying connect to server: localhost/127.0.0.1:9001. Already tried 6 > time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, > sleepTime=1 SECONDS) > 二月 26, 2014 10:53:43 下午 org.apache.hadoop.ipc.Client$Connection > handleConnectionFailure > 信息: Retrying connect to server: localhost/127.0.0.1:9001. Already tried 7 > time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, > sleepTime=1 SECONDS) > 二月 26, 2014 10:53:44 下午 org.apache.hadoop.ipc.Client$Connection > handleConnectionFailure > 信息: Retrying connect to server: localhost/127.0.0.1:9001. Already tried 8 > time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, > sleepTime=1 SECONDS) > 二月 26, 2014 10:53:45 下午 org.apache.hadoop.ipc.Client$Connection > handleConnectionFailure > 信息: Retrying connect to server: localhost/127.0.0.1:9001. Already tried 9 > time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, > sleepTime=1 SECONDS) > I don't know what happens,the version of eclipse is not right? -- This message was sent by Atlassian JIRA (v6.1.5#6160)