The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Windows – Installation Forum

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

  • #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 Will not attempt to authenticate using SASL (unknown error)
    INFO org.apache.zookeeper.ClientCnxn: Socket connection established to, 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 Will not attempt to authenticate using SASL (unknown error)

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

    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.

  • Author
  • #48781

    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)



    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: Port in use:


    Hi Harish,

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



The forum ‘HDP on Windows – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.