hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Foxinhead <john.foxinh...@gmail.com>
Subject While starting 3-nodes cluster hbase: WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null
Date Tue, 23 Apr 2013 15:24:15 GMT
Hi, I have a pseudo-distribuited version of Hbase running on a
pseudo-distribuited version of Hadoop. This version works well, I tried
also some java code to manage table, with jar running on the same host of
the pseudo-distribuited cluster.
Now I upgraded to a fully-distribuited version of hadoop and hbase. I have
no problems with hadoop because i'm able to get-put files on the HDFS fully
distribuited, so my problem is surely with hbase configuration, or
something similar. Also SSH is working: i can login with ssh from the
master node to all the slaves node. I also don't use map-reduce with
Hadoop: i start hadoop with start-dfs on the namenode, and this command
starts also the 2 datanodes on my cluster. My 3 nodes are debian virtual
machines running on Virtualbox and they can ping each other.
When, after starting HDFS and make sure that it works trying some put/get,
i try to start hbase using the command bin/start-hbase.sh from $HBASE_HOME
on the master, it seems that zookeeper don't start. I tried googling
everywhere but i didn't find anything working.
This is my log file error in master logs' directory:

mar 23 apr 2013, 16.09.47, CEST Starting master on debian01
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 16382
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 32768
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 32000
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
2013-04-23 16:09:47,691 INFO org.apache.hadoop.hbase.util.VersionInfo:
HBase 0.94.5
2013-04-23 16:09:47,692 INFO org.apache.hadoop.hbase.util.VersionInfo:
Subversion https://svn.apache.org/repos/asf/hbase/branches/0.94 -r 1443843
2013-04-23 16:09:47,692 INFO org.apache.hadoop.hbase.util.VersionInfo:
Compiled by jenkins on Fri Feb  8 05:51:25 UTC 2013
2013-04-23 16:09:47,978 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012
17:52 GMT
2013-04-23 16:09:47,978 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:host.name=localhost
2013-04-23 16:09:47,978 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.version=1.7.0_17
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.vendor=Oracle Corporation
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.home=/usr/lib/jvm/java-7-oracle/jre
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server
environment:java.class.path=/home/debian/hbase-0.94.5/bin/../conf:/usr/lib/jvm/java-7-oracle/lib/tools.jar:/home/debian/hbase-0.94.5/bin/..:/home/debian/hbase-0.94.5/bin/../hbase-0.94.5.jar:/home/debian/hbase-0.94.5/bin/../hbase-0.94.5-tests.jar:/home/debian/hbase-0.94.5/bin/../lib/activation-1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/asm-3.1.jar:/home/debian/hbase-0.94.5/bin/../lib/avro-1.5.3.jar:/home/debian/hbase-0.94.5/bin/../lib/avro-ipc-1.5.3.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-beanutils-1.7.0.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-beanutils-core-1.8.0.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-cli-1.2.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-codec-1.4.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-collections-3.2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-configuration-1.6.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-digester-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-el-1.0.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-httpclient-3.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-io-2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-lang-2.5.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-logging-1.1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-math-2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-net-1.4.1.jar:/home/debian/hbase-0.94.5/bin/../lib/core-3.1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/guava-11.0.2.jar:/home/debian/hbase-0.94.5/bin/../lib/hadoop-core-1.0.4.jar:/home/debian/hbase-0.94.5/bin/../lib/high-scale-lib-1.1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/httpclient-4.1.2.jar:/home/debian/hbase-0.94.5/bin/../lib/httpcore-4.1.3.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-core-asl-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-jaxrs-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-mapper-asl-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-xc-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jamon-runtime-2.3.1.jar:/home/debian/hbase-0.94.5/bin/../lib/jasper-compiler-5.5.23.jar:/home/debian/hbase-0.94.5/bin/../lib/jasper-runtime-5.5.23.jar:/home/debian/hbase-0.94.5/bin/../lib/jaxb-api-2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/jaxb-impl-2.2.3-1.jar:/home/debian/hbase-0.94.5/bin/../lib/jersey-core-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jersey-json-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jersey-server-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jettison-1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/jetty-6.1.26.jar:/home/debian/hbase-0.94.5/bin/../lib/jetty-util-6.1.26.jar:/home/debian/hbase-0.94.5/bin/../lib/jruby-complete-1.6.5.jar:/home/debian/hbase-0.94.5/bin/../lib/jsp-2.1-6.1.14.jar:/home/debian/hbase-0.94.5/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/debian/hbase-0.94.5/bin/../lib/jsr305-1.3.9.jar:/home/debian/hbase-0.94.5/bin/../lib/junit-4.10-HBASE-1.jar:/home/debian/hbase-0.94.5/bin/../lib/libthrift-0.8.0.jar:/home/debian/hbase-0.94.5/bin/../lib/log4j-1.2.16.jar:/home/debian/hbase-0.94.5/bin/../lib/metrics-core-2.1.2.jar:/home/debian/hbase-0.94.5/bin/../lib/netty-3.2.4.Final.jar:/home/debian/hbase-0.94.5/bin/../lib/protobuf-java-2.4.0a.jar:/home/debian/hbase-0.94.5/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/debian/hbase-0.94.5/bin/../lib/slf4j-api-1.4.3.jar:/home/debian/hbase-0.94.5/bin/../lib/slf4j-log4j12-1.4.3.jar:/home/debian/hbase-0.94.5/bin/../lib/snappy-java-1.0.3.2.jar:/home/debian/hbase-0.94.5/bin/../lib/stax-api-1.0.1.jar:/home/debian/hbase-0.94.5/bin/../lib/velocity-1.7.jar:/home/debian/hbase-0.94.5/bin/../lib/xmlenc-0.52.jar:/home/debian/hbase-0.94.5/bin/../lib/zookeeper-3.4.5.jar:/home/debian/hbase-0.94.5/lib:
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server
environment:java.library.path=/home/debian/hbase-0.94.5/bin/../lib/native/Linux-amd64-64
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.io.tmpdir=/tmp
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:java.compiler=<NA>
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.name=Linux
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.arch=amd64
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:os.version=2.6.32-5-amd64
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.name=debian
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.home=/home/debian
2013-04-23 16:09:47,979 INFO org.apache.zookeeper.server.ZooKeeperServer:
Server environment:user.dir=/home/debian/hbase-0.94.5
2013-04-23 16:09:48,046 INFO org.apache.zookeeper.server.ZooKeeperServer:
Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout
40000 datadir
/home/debian/hbase-0.94.5/zookeeper-data/zookeeper_0/version-2 snapdir
/home/debian/hbase-0.94.5/zookeeper-data/zookeeper_0/version-2
2013-04-23 16:09:48,135 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: binding to port
0.0.0.0/0.0.0.0:2181
2013-04-23 16:09:48,142 INFO
org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 0x0
to /home/debian/hbase-0.94.5/zookeeper-data/zookeeper_0/version-2/snapshot.0
2013-04-23 16:09:48,237 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket
connection from /127.0.0.1:44820
2013-04-23 16:09:48,244 INFO org.apache.zookeeper.server.NIOServerCnxn:
Processing stat command from /127.0.0.1:44820
2013-04-23 16:09:48,246 INFO org.apache.zookeeper.server.NIOServerCnxn:
Stat command output
2013-04-23 16:09:48,247 INFO
org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster: Started MiniZK
Cluster and connect 1 ZK server on client port: 2181
2013-04-23 16:09:48,253 INFO org.apache.zookeeper.server.NIOServerCnxn:
Closed socket connection for client /127.0.0.1:44820 (no session
established for client)
2013-04-23 16:09:48,369 DEBUG org.apache.hadoop.hbase.master.HMaster: Set
serverside HConnection retries=100
2013-04-23 16:09:48,871 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,871 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,872 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,872 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,872 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,872 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,873 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,873 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,873 INFO org.apache.hadoop.ipc.HBaseServer: Starting
Thread-3
2013-04-23 16:09:48,879 INFO org.apache.hadoop.ipc.HBaseServer: Starting
IPC Server listener on 60781
2013-04-23 16:09:48,894 INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
Initializing RPC Metrics with hostName=HMasterCommandLine$LocalHMaster,
port=60781
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:host.name=localhost
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.version=1.7.0_17
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.vendor=Oracle Corporation
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.home=/usr/lib/jvm/java-7-oracle/jre
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.class.path=/home/debian/hbase-0.94.5/bin/../conf:/usr/lib/jvm/java-7-oracle/lib/tools.jar:/home/debian/hbase-0.94.5/bin/..:/home/debian/hbase-0.94.5/bin/../hbase-0.94.5.jar:/home/debian/hbase-0.94.5/bin/../hbase-0.94.5-tests.jar:/home/debian/hbase-0.94.5/bin/../lib/activation-1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/asm-3.1.jar:/home/debian/hbase-0.94.5/bin/../lib/avro-1.5.3.jar:/home/debian/hbase-0.94.5/bin/../lib/avro-ipc-1.5.3.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-beanutils-1.7.0.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-beanutils-core-1.8.0.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-cli-1.2.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-codec-1.4.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-collections-3.2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-configuration-1.6.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-digester-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-el-1.0.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-httpclient-3.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-io-2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-lang-2.5.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-logging-1.1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-math-2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/commons-net-1.4.1.jar:/home/debian/hbase-0.94.5/bin/../lib/core-3.1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/guava-11.0.2.jar:/home/debian/hbase-0.94.5/bin/../lib/hadoop-core-1.0.4.jar:/home/debian/hbase-0.94.5/bin/../lib/high-scale-lib-1.1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/httpclient-4.1.2.jar:/home/debian/hbase-0.94.5/bin/../lib/httpcore-4.1.3.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-core-asl-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-jaxrs-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-mapper-asl-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jackson-xc-1.8.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jamon-runtime-2.3.1.jar:/home/debian/hbase-0.94.5/bin/../lib/jasper-compiler-5.5.23.jar:/home/debian/hbase-0.94.5/bin/../lib/jasper-runtime-5.5.23.jar:/home/debian/hbase-0.94.5/bin/../lib/jaxb-api-2.1.jar:/home/debian/hbase-0.94.5/bin/../lib/jaxb-impl-2.2.3-1.jar:/home/debian/hbase-0.94.5/bin/../lib/jersey-core-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jersey-json-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jersey-server-1.8.jar:/home/debian/hbase-0.94.5/bin/../lib/jettison-1.1.jar:/home/debian/hbase-0.94.5/bin/../lib/jetty-6.1.26.jar:/home/debian/hbase-0.94.5/bin/../lib/jetty-util-6.1.26.jar:/home/debian/hbase-0.94.5/bin/../lib/jruby-complete-1.6.5.jar:/home/debian/hbase-0.94.5/bin/../lib/jsp-2.1-6.1.14.jar:/home/debian/hbase-0.94.5/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/debian/hbase-0.94.5/bin/../lib/jsr305-1.3.9.jar:/home/debian/hbase-0.94.5/bin/../lib/junit-4.10-HBASE-1.jar:/home/debian/hbase-0.94.5/bin/../lib/libthrift-0.8.0.jar:/home/debian/hbase-0.94.5/bin/../lib/log4j-1.2.16.jar:/home/debian/hbase-0.94.5/bin/../lib/metrics-core-2.1.2.jar:/home/debian/hbase-0.94.5/bin/../lib/netty-3.2.4.Final.jar:/home/debian/hbase-0.94.5/bin/../lib/protobuf-java-2.4.0a.jar:/home/debian/hbase-0.94.5/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/debian/hbase-0.94.5/bin/../lib/slf4j-api-1.4.3.jar:/home/debian/hbase-0.94.5/bin/../lib/slf4j-log4j12-1.4.3.jar:/home/debian/hbase-0.94.5/bin/../lib/snappy-java-1.0.3.2.jar:/home/debian/hbase-0.94.5/bin/../lib/stax-api-1.0.1.jar:/home/debian/hbase-0.94.5/bin/../lib/velocity-1.7.jar:/home/debian/hbase-0.94.5/bin/../lib/xmlenc-0.52.jar:/home/debian/hbase-0.94.5/bin/../lib/zookeeper-3.4.5.jar:/home/debian/hbase-0.94.5/lib:
2013-04-23 16:10:49,288 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.library.path=/home/debian/hbase-0.94.5/bin/../lib/native/Linux-amd64-64
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.name=Linux
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.arch=amd64
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:os.version=2.6.32-5-amd64
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.name=debian
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.home=/home/debian
2013-04-23 16:10:49,292 INFO org.apache.zookeeper.ZooKeeper: Client
environment:user.dir=/home/debian/hbase-0.94.5
2013-04-23 16:10:49,293 INFO org.apache.zookeeper.ZooKeeper: Initiating
client connection, connectString=zookeeper2:2181,zookeeper1:2181
sessionTimeout=180000 watcher=master:60781
2013-04-23 16:10:49,329 INFO
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: The identifier of
this process is 3382@debian01
2013-04-23 16:10:49,336 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:49,337 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:49,462 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:49,463 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:49,463 WARN
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient
ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
2013-04-23 16:10:49,464 INFO org.apache.hadoop.hbase.util.RetryCounter:
Sleeping 2000ms before retry #1...
2013-04-23 16:10:50,564 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:50,566 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:50,668 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:50,669 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:51,771 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:51,773 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:51,874 WARN
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient
ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
2013-04-23 16:10:51,875 INFO org.apache.hadoop.hbase.util.RetryCounter:
Sleeping 4000ms before retry #2...
2013-04-23 16:10:51,875 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:51,876 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:52,978 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:52,980 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:53,081 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:53,083 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:54,198 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:54,199 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:54,299 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:54,301 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:55,403 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:55,404 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:55,505 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:55,506 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:56,608 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:56,613 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:56,714 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:56,716 WARN
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient
ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
2013-04-23 16:10:56,716 INFO org.apache.hadoop.hbase.util.RetryCounter:
Sleeping 8000ms before retry #3...
2013-04-23 16:10:56,717 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:57,818 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:57,820 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:57,922 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:57,923 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:59,027 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:59,029 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:10:59,130 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:10:59,132 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:00,234 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:00,236 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:00,338 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:00,340 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:01,442 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:01,442 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:01,543 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:01,543 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:02,645 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:02,647 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:02,748 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:02,750 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:03,852 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:03,854 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:03,955 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:03,957 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:05,059 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server jobtracker/192.168.1.111:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:05,060 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-04-23 16:11:05,162 WARN
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient
ZooKeeper exception:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
2013-04-23 16:11:05,163 ERROR
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: ZooKeeper exists
failed after 3 retries
2013-04-23 16:11:05,163 ERROR
org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
java.lang.RuntimeException: Failed construction of Master: class
org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMasterKeeperErrorCode
= ConnectionLoss for /hbase
    at
org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:134)
    at
org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:197)
    at
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:147)
    at
org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:146)
    at
org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at
org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1927)
Caused by: org.apache.hadoop.hbase.ZooKeeperConnectionException:
master:60781 Unexpected KeeperException creating base node
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:171)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:155)
    at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:307)
    at
org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:221)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at
org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:131)
    ... 7 more
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
    at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1041)
    at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1069)
    at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:199)
    at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:1091)
    at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:1081)
    at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:162)
    ... 15 more
2013-04-23 16:11:05,168 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server datanode1/192.168.1.112:2181. Will not attempt
to authenticate using SASL (unknown error)
2013-04-23 16:11:05,170 WARN org.apache.zookeeper.ClientCnxn: Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Connessione rifiutata
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)




Also theese are my configuration files:


hbase-site.xml:

<configuration>
  <property>
    <name>dfs.support.append</name>
    <value>true</value>
  </property>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://namenode:9000/hbase</value>
  </property>
  <property>
    <name>hbase.cluster.distribuited</name>
    <value>true</value>
  </property>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>zookeeper1,zookeeper2</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>/home/debian/hbase-0.94.5/zookeeper-data</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.maxClientCnxns</name>
    <value>1000</value>
  </property>
</configuration>


in hbase-env.sh i modified only classpath and java_home and i uncommented
"export HBASE_MANAGES_ZK=true"


file "regionservers":
regionserver1
regionserver2


file "/etc/hosts":
127.0.0.1    localhost
127.0.0.1    debian01
#  HADOOP
192.168.1.111    jobtracker
192.168.1.112    datanode1
192.168.1.121    namenode
192.168.1.122    datanode3
192.168.1.131    datanode2
192.168.1.132    tasktracker1
#  HBASE
192.168.1.121    master
192.168.1.111    zookeeper1
192.168.1.112    zookeeper2
192.168.1.111    regionserver1
192.168.1.112    regionserver2


(i wrote jobtracker, but i use it in slaves file on namenode, so it is a
datanode, not a jobtracker)
I made this configuration with hosts file so that i can simply change the
roles of the nodes on my cluster changing the hosts file without make lots
of change in hbase/hadoop configuration, because sometimes i use hbase on a
cluster on my host, but sometimes i work with 2 friends of mine, so i have
to change the roles sometimes. I want to start master on the same node of
namenode, and start on hadoop's datanode both zookeeper and regionserver. I
dedicated 1024 MB of ram for each virtual machine and i did'n modify
heapsizes, so that each virtual machine can use all the ram, that, is very
low to run hadoop and hbase, but this is my situation, i can't do better.

What's the problem?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message