HBase connection hangs in INFO zookeeper.ClientCnxn: session creation is completed on the server. How to connect next?

I just can't connect my client machine to HBase.

The client runs on Windows 8. HBase on Fedora VM.

I imported the following jars:

commons-configuration (commons-configuration-1.6.jar)

commons-lang (commons-lang-2.6.jar)

commons-logging (commons-logging-1.1.1.jar)

hasoop-core (hadoop-core-1.2.1.jar)

hbase (hbase-0.94.11.jar)

log4j (log4j-1.2.16.jar)

Protobuf-java-2.5.0.jar

slf4j-api (slf4j-api-1.5.8.jar)

slf4j-log4j (slf4j-log4j12-1.5.8.jar)

zookeeper (zookeeper-3.4.3.jar)

I looked here: the Hbase client cannot connect to the remote Hbase server (I even use the question code from there) did not help.

: https://www.mail-archive.com/user@hbase.apache.org/msg23159.html .

/etc/hosts, "my_ip localhost".

, hdfs-site.xml:

<property>   
        <name>hbase.rootdir</name>
        <value>file:///home/hadoop/hbase</value>
    </property> 
    <property>
        <name>hbase.zookeeper.property.dataDir</name>
        <value>/home/hadoop/zookeeper</value>
    </property>
    <property>
        <name>hbase.zookeeper.quorum</name>
        <value>Hadoop</value>
    </property>
    <property>
        <name>hbase.zookeeper.property.clientPort</name>
        <value>2181</value>
    </property>
    <property>
        <name>hbase.master</name>
        <value>Hadoop:60000</value>
    </property>
    <property>
        <name>zookeeper.znode.rootserver</name>
        <value>Hadoop</value>
    </property>
    <property>
        <name>zookeeper.znode.parent</name>
        <value>/hbase</value>
    </property>

, , : INFO zookeeper.ClientCnxn: ip/ip: 2181, sessionid = 0x147d515db130006, = 40000

+4
5

hbase.96. . hbase.96 hbase.98. . , .

+1

.

, 2 :

  • IP- ( )

  • hbase, .

Cloudera Hadoop/Hbase, JAR /opt/cloudera/parcels, .

,

+1

, , , . , , Zookeeper Successfully. . . 0.98.0.2.1.5.0-695-hadoop2 . hbase jar 0.96.0.98.9, 0.98.13.. . hbase 0.98.5-hadoop2, . !

:

[ ] [1] http://www.informit.com/articles/article.aspx?p=2255108&seqNum=2

[Info] [1] www.tech.theplayhub.com/java _-_ hbase_client_stuck_on_session_establishment_complete/

0
0

        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-core</artifactId>
            <version>${hadoop.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>**hadoop-client**</artifactId>
            <version>${hadoop.version}</version>
        </dependency>

${hasoop.version} - 2.5.1, , /opt/hbase-1.1.2/lib/hadoop-client- 2.5.1.jar

0

All Articles