hadoophortonworks-data-platformhadoop-plugins

Can not set up Eclipse plugins, Hadoop Hortonworks 2.0


I got Hortonworks Sandbox 2.0 and it is running fine. Now I want to try to connect from Eclipse, but I am unable to.

The error is:

Call to localhost/127.0.0.1:50040 failed on connection exception: java.net.ConnectionException: Connection refused: no further information.

I think the error could be a mismatched Hadoop plugin since I am using Hadoop Eclipse plugin 1.2.0 but I could not find an Eclipse plugin for Hadoop 2.2

The answer from thread How to use java to connect hadoop 2.2.0 server says that currently there is no Eclipse plugin for Hadoop 2.2.0? Can someone guide me through this?


Solution

  • Jacky, there are different ports for different services.

    50070 is HDFS service which every Hadoop system has (therefore I suggested it).

    8888 is likely just a hortonworks' port for some specific web service.

    50030 is Jobtracker port

    First of all, make sure that you can connect/communicate with your VirtualBox (host os can access guest services). If so, find out what service/port you need e.g. Jobtracker API error - Call to localhost/127.0.0.1:50030 failed on local exception: java.io.EOFException

    It can be a lot of work - so if you know Cloudera distribution has all things you need - go for Cloudera