hdp 2.0 installed on windows successfuly but hbase shows 9095 port conflict

to create new topics or reply. | New User Registration

This topic contains 3 replies, has 2 voices, and was last updated by  Dave 1 year ago.

  • Creator
  • #48775

    Harish Bansal


    We have installed hdp 2.0 on 4 64 bit windows 7 boxes successfuly and Hive is working well. Hbase Master is configured on one boxes and region server on rest of the 3 windows 7 boxes. on Master machine. But Hbase is not starting and not able to connect with region servers. Follwoing is the error logs from hbase master and thrift 2: We are running services as hadoop user.

    Hbase Master

    INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=ServerSANDBOX04:2181,ServerHADOOP:2181,ServerSANDBOX05:2181 sessionTimeout=90000 watcher=master:60000
    INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Process identifier=master:60000 connecting to ZooKeeper ensemble=ServerSANDBOX04:2181,ServerHADOOP:2181,ServerSANDBOX05:2181
    INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server Serversandbox04.mybox.com/192.xxx.20.xxx:2181. Will not attempt to authenticate using SASL (unknown error)
    INFO org.apache.zookeeper.ClientCnxn: Socket connection established to Serversandbox04.mybox.com/192.xxx.20.xxx:2181, initiating session
    INFO org.apache.zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
    WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=ServerSANDBOX04:2181,ServerHADOOP:2181,ServerSANDBOX05:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
    INFO org.apache.hadoop.hbase.util.RetryCounter: Sleeping 2000ms before retry #1…
    INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server ServerHADOOP.mybox.com/192.xxx.20.xxx:2181. Will not attempt to authenticate using SASL (unknown error)

    Thrift 2
    INFO org.apache.hadoop.http.HttpServer: HttpServer.start() threw a non Bind IOException java.net.BindException: Port in use:
    at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:742)
    at org.apache.hadoop.http.HttpServer.start(HttpServer.java:686)
    at org.apache.hadoop.hbase.thrift2.ThriftServer.main(ThriftServer.java:302)

    On verification of pofts and processes, 9095 is with Hadoop processes only. In services list, Hbase master, rest and Thrift services are starting alternatively.

    Please guide about solution.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be to reply to this topic. | Create Account

  • Author
  • #49417


    Hi Harish,

    If you run netstat and look for 9095 & 9090 – are the ports actually in use?




    Harish Bansal

    Hi Dave,

    Thanks for your help, its much appreciated.

    Hbase has started working on our server. But Hbase thrift and thrift2 are still in conflict. Following are the logs from both of these:

    org.mortbay.log: Started SelectChannelConnector@
    org.apache.hadoop.hbase.thrift.ThriftServerRunner: starting TBoundedThreadPoolServer on /; min worker threads=16, max worker threads=1000, max queued requests=1000

    ERROR org.apache.hadoop.hbase.thrift2.ThriftServer: Port in use:
    java.net.BindException: Port in use:



    Hi Harish,

    Can you confirm you can reach your zookeeper nodes from the HBase Master machine?
    Please ensure that local firewall rules on the Windows machines all allow connectivity (test with Telnet) This will be from HBase Master machine to ServerHadoop, ServerSANDBOX05, ServerSANDBOX04 on port 2181
    Ensure that the Thrift server can run on port 9095 – stop the service, do a netstat -an | find “9095” (ensure it is not listening – if it is then kill off the process and start the thrift server again)



Viewing 3 replies - 1 through 3 (of 3 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.