hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Hadoop 1.2.1 integration with Hbase 0.98.5
Date Wed, 20 Aug 2014 15:35:22 GMT
Can you try with adding your host name with the local IP on your /etc/hosts
file?

Something like:
192.168.1.3    t430s

Where t430s is your host name and 192.168.1.3 is your local IP. Restart all
the processes after that...

JM


2014-08-20 8:32 GMT-04:00 Ratnajit Devnath - ERS, HCL Tech <
Ratnajit.D@hcl.com>:

> Hi All,
>
> I have installed Hadoop 1.2.1 in Fedora 20 Linux OS. I am using the single
> node configuration.
>
> Hadoop is up.
>
> [root@localhost hbase-0.98.5-hadoop1]# jps
> 6153 JobTracker
> 6272 TaskTracker
> 6061 SecondaryNameNode
> 8594 HQuorumPeer
> 5938 DataNode
> 5816 NameNode
> 8917 Jps
>
> Core-site.xml file -
>
> <configuration>
> <property>
>          <name>fs.default.name</name>
>          <value>hdfs://localhost:9000</value>
>      </property>
> </configuration>
>
> <configuration>
> <property>
>          <name>dfs.replication</name>
>          <value>1</value>
>      </property>
> </configuration>
>
> Configuration related to Hbase is as follows,
>
> <configuration>
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value>true</value>
> </property>
> <property>
>   <name>hbase.master.wait.on.regionservers.mintostart</name>
>   <value>1</value>
> </property>
> <property>
>   <name>hbase.rootdir</name>
>   <value>hdfs://localhost:9000/hbase</value>
> </property>
>   <property>
>     <name>hbase.zookeeper.property.dataDir</name>
>     <value>/home/testuser/zookeeper</value>
>   </property>
> </configuration>
>
> Hosts file,
>
> [root@localhost ~]# cat /etc/hosts
> 127.0.0.1               localhost       localhost.localdomain
> ::1             localhost6.localdomain6 localhost6
>
> After starting the hbase, I am getting the following
>
> [root@localhost hbase-0.98.5-hadoop1]# ./bin/start-hbase.sh
> localhost: starting zookeeper, logging to
> /opt/hbase-0.98.5-hadoop1/bin/../logs/hbase-root-zookeeper-localhost.localdomain.out
> starting master, logging to
> /opt/hbase-0.98.5-hadoop1/bin/../logs/hbase-root-master-localhost.localdomain.out
> localhost: starting regionserver, logging to
> /opt/hbase-0.98.5-hadoop1/bin/../logs/hbase-root-regionserver-localhost.localdomain.out
> [root@localhost hbase-0.98.5-hadoop1]# jps
> 9458 HQuorumPeer
> 6153 JobTracker
> 6272 TaskTracker
> 9692 Jps
> 6061 SecondaryNameNode
> 9522 HMaster
> 9625 HRegionServer
> 9185 HMaster
> 5938 DataNode
> 5816 NameNode
>
> After 10 seconds, the HMaster and HRegionServer dies.
>
> [root@localhost hbase-0.98.5-hadoop1]# jps
> 9718 Jps
> 9458 HQuorumPeer
> 6153 JobTracker
> 6272 TaskTracker
> 6061 SecondaryNameNode
> 5938 DataNode
> 5816 NameNode
>
> I am getting the following error message on the logs,
>
> 2014-08-20 23:14:01,807 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:14:01,808 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:14:01,908 WARN  [main] zookeeper.RecoverableZooKeeper:
> Possibly transient ZooKeeper, quorum=localhost:2181,
> exception=org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase
> 2014-08-20 23:14:01,908 ERROR [main] zookeeper.RecoverableZooKeeper:
> ZooKeeper create failed after 4 attempts
> 2014-08-20 23:14:01,908 ERROR [main] master.HMasterCommandLine: Master
> exiting
> java.lang.RuntimeException: Failed construction of Master: class
> org.apache.hadoop.hbase.master.HMaster
>         at
> org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2780)
>         at
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:186)
>         at
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2794)
> 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.create(ZooKeeper.java:783)
>         at
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:489)
>         at
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:468)
>         at
> org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1241)
>         at
> org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1219)
>         at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:174)
>         at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:167)
>         at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:472)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at
> org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2775)
>         ... 5 more
>
> Another log,
>
> 2014-08-20 23:13:40,770 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:40,770 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:13:41,871 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:41,871 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:13:42,972 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:42,973 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:13:44,074 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:44,075 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
> :1
> 2014-08-20 23:13:27,019 INFO  [main] util.VersionInfo: HBase 0.98.5-hadoop1
> 2014-08-20 23:13:27,020 INFO  [main] util.VersionInfo: Subversion
> file:///var/tmp/0.98.5RC0/hbase-0.98.5<file:///\\var\tmp\0.98.5RC0\hbase-0.98.5>
> -r Unknown
> 2014-08-20 23:13:27,020 INFO  [main] util.VersionInfo: Compiled by
> apurtell on Mon Aug  4 23:39:24 PDT 2014
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:host.name=localhost
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.version=1.6.0_31
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.vendor=Sun Microsystems Inc.
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.home=/usr/java/jdk-1.6/jdk1.6.0_31/jre
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.class.path=/opt/hbase-0.98.5-hadoop1/bin/../conf:/usr/java/jdk-1.6/jdk1.6.0_31/lib/tools.jar:/opt/hbase-0.98.5-hadoop1/bin/..:/opt/hbase-0.98.5-hadoop1/bin/../lib/activation-1.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/asm-3.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-beanutils-1.7.0.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-beanutils-core-1.8.0.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-cli-1.2.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-codec-1.7.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-collections-3.2.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-configuration-1.6.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-digester-1.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-el-1.0.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-httpclient-3.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-io-2.4.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-lang-2.6.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-logging-1.1.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-math-2.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/commons-net-1.4.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/findbugs-annotations-1.3.9-1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/guava-12.0.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hadoop-core-1.2.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hamcrest-core-1.3.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-client-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-common-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-common-0.98.5-hadoop1-tests.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-examples-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-hadoop1-compat-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-hadoop-compat-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-it-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-it-0.98.5-hadoop1-tests.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-prefix-tree-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-protocol-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-server-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-server-0.98.5-hadoop1-tests.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-shell-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-testing-util-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/hbase-thrift-0.98.5-hadoop1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/high-scale-lib-1.1.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/htrace-core-2.04.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/httpclient-4.1.3.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/httpcore-4.1.3.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jackson-core-asl-1.8.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jackson-jaxrs-1.8.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jackson-mapper-asl-1.8.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jackson-xc-1.8.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jamon-runtime-2.3.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jasper-compiler-5.5.23.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jasper-runtime-5.5.23.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jaxb-api-2.2.2.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jaxb-impl-2.2.3-1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jersey-core-1.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jersey-json-1.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jersey-server-1.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jettison-1.3.1.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jetty-6.1.26.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jetty-sslengine-6.1.26.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jetty-util-6.1.26.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jruby-complete-1.6.8.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jsp-2.1-6.1.14.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jsp-api-2.1-6.1.14.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/jsr305-1.3.9.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/junit-4.11.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/libthrift-0.9.0.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/log4j-1.2.17.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/metrics-core-2.2.0.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/netty-3.6.6.Final.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/protobuf-java-2.5.0.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/servlet-api-2.5-6.1.14.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/slf4j-api-1.6.4.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/slf4j-log4j12-1.6.4.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/xmlenc-0.52.jar:/opt/hbase-0.98.5-hadoop1/bin/../lib/zookeeper-3.4.6.jar:
> /23:13
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.library.path=/usr/java/jdk-1.6/jdk1.6.0_31/jre/lib/amd64/server:/usr/java/jdk-1.6/jdk1.6.0_31/jre/lib/amd64:/usr/java/jdk-1.6/jdk1.6.0_31/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/tmp
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:os.name=Linux
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:os.arch=amd64
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:os.version=3.11.10-301.fc20.x86_64
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:user.name=root
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:user.home=/root
> 2014-08-20 23:13:27,499 INFO  [main] zookeeper.ZooKeeper: Client
> environment:user.dir=/opt/hbase-0.98.5-hadoop1
> 2014-08-20 23:13:27,500 INFO  [main] zookeeper.ZooKeeper: Initiating
> client connection, connectString=localhost:2181 sessionTimeout=90000
> watcher=hconnection-0x2e273686, quorum=localhost:2181, baseZNode=/hbase
> 2014-08-20 23:13:27,532 INFO  [main] zookeeper.RecoverableZooKeeper:
> Process identifier=hconnection-0x2e273686 connecting to ZooKeeper
> ensemble=localhost:2181
> 2014-08-20 23:13:27,540 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:27,548 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:13:27,659 WARN  [main] zookeeper.RecoverableZooKeeper:
> Possibly transient ZooKeeper, quorum=localhost:2181,
> exception=org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
> 2014-08-20 23:13:27,660 INFO  [main] util.RetryCounter: Sleeping 1000ms
> before retry #0...
> 2014-08-20 23:13:28,655 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:28,656 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:13:28,756 WARN  [main] zookeeper.RecoverableZooKeeper:
> Possibly transient ZooKeeper, quorum=localhost:2181,
> exception=org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
> 2014-08-20 23:13:28,756 INFO  [main] util.RetryCounter: Sleeping 2000ms
> before retry #1...
> 2014-08-20 23:13:29,757 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:29,757 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2014-08-20 23:13:30,858 INFO  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Opening socket connection to server localhost/
> 127.0.0.1:2181. Will not attempt to authenticate using SASL
> (java.lang.SecurityException: Unable to locate a login configuration)
> 2014-08-20 23:13:30,859 WARN  [main-SendThread(localhost:2181)]
> zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error,
> closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>
>
>         at
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:129)
>         at
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:90)
>         at
> org.apache.hadoop.hbase.client.HBaseAdmin.executeCallable(HBaseAdmin.java:3347)
>         at
> org.apache.hadoop.hbase.client.HBaseAdmin.shutdown(HBaseAdmin.java:2110)
>         at
> org.apache.hadoop.hbase.master.HMasterCommandLine.stopMaster(HMasterCommandLine.java:221)
>         at
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:137)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2794)
> Caused by: org.apache.hadoop.hbase.MasterNotRunningException:
> org.apache.hadoop.hbase.MasterNotRunningException: Can't get connection to
> ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$StubMaker.makeStub(HConnectionManager.java:1645)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$MasterServiceStubMaker.makeStub(HConnectionManager.java:1671)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveMasterService(HConnectionManager.java:1878)
>         at
> org.apache.hadoop.hbase.client.HBaseAdmin$MasterCallable.prepare(HBaseAdmin.java:3320)
>         at
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:113)
>         ... 8 more
> Caused by: org.apache.hadoop.hbase.MasterNotRunningException: Can't get
> connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.checkIfBaseNodeAvailable(HConnectionManager.java:879)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.access$600(HConnectionManager.java:567)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$StubMaker.makeStubNoRetries(HConnectionManager.java:1571)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$StubMaker.makeStub(HConnectionManager.java:1617)
>         ... 12 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:1045)
>         at
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:199)
>         at
> org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:479)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.checkIfBaseNodeAvailable(HConnectionManager.java:868)
>         ... 15 more
>
> Kindly give in your feedback to resolve the issue.
>
> Thanks
> Ratnajit
>
>
> ::DISCLAIMER::
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in
> transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability
> on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the
> author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error
> please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses
> and other defects.
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>

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