Can you enable HBase DEBUG logging in log4j.properties so that we can have
more clue ?

What hbase release are you using ?

Cheers

On Wed, Apr 29, 2015 at 4:27 AM, Saurabh Gupta <saurabh.gu...@semusi.com>
wrote:

> Hi,
>
> I am working with standalone HBase. And I want to execute HBaseTest.scala
> (in scala examples) .
>
> I have created a test table with three rows and I just want to get the
> count using HBaseTest.scala
>
> I am getting this issue:
>
> 15/04/29 11:17:10 INFO BlockManagerMaster: Registered BlockManager
> 15/04/29 11:17:11 INFO ZooKeeper: Client
> environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:host.name
> =ip-10-144-185-113
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:java.version=1.7.0_79
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:java.vendor=Oracle
> Corporation
> 15/04/29 11:17:11 INFO ZooKeeper: Client
> environment:java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
> 15/04/29 11:17:11 INFO ZooKeeper: Client
> environment:java.class.path=/home/ubuntu/sparkfolder/conf/:/home/ubuntu/sparkfolder/assembly/target/scala-2.10/spark-assembly-1.4.0-SNAPSHOT-hadoop2.2.0.jar:/home/ubuntu/sparkfolder/lib_managed/jars/datanucleus-core-3.2.10.jar:/home/ubuntu/sparkfolder/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar:/home/ubuntu/sparkfolder/lib_managed/jars/datanucleus-rdbms-3.2.9.jar
> 15/04/29 11:17:11 INFO ZooKeeper: Client
> environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:java.io.tmpdir=/tmp
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:java.compiler=<NA>
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:os.name=Linux
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:os.arch=amd64
> 15/04/29 11:17:11 INFO ZooKeeper: Client
> environment:os.version=3.13.0-49-generic
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:user.name=root
> 15/04/29 11:17:11 INFO ZooKeeper: Client environment:user.home=/root
> 15/04/29 11:17:11 INFO ZooKeeper: Client
> environment:user.dir=/home/ubuntu/sparkfolder
> 15/04/29 11:17:11 INFO ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=90000
> watcher=hconnection-0x2711025f, quorum=localhost:2181, baseZNode=/hbase
> 15/04/29 11:17:11 INFO RecoverableZooKeeper: Process
> identifier=hconnection-0x2711025f connecting to ZooKeeper
> ensemble=localhost:2181
> 15/04/29 11:17:11 INFO ClientCnxn: Opening socket connection to server
> ip-10-144-185-113/10.144.185.113:2181. Will not attempt to authenticate
> using SASL (unknown error)
> 15/04/29 11:17:11 INFO ClientCnxn: Socket connection established to
> ip-10-144-185-113/10.144.185.113:2181, initiating session
> 15/04/29 11:17:11 INFO ClientCnxn: Session establishment complete on
> server ip-10-144-185-113/10.144.185.113:2181, sessionid =
> 0x14d04d506da0005, negotiated timeout = 40000
> 15/04/29 11:17:11 INFO ZooKeeperRegistry: ClusterId read in ZooKeeper is
> null
>
> Its just stuck Not showing any error. There is no Hadoop on my machine.
> What could be the issue?
>
> here is hbase-site.xml:
>
> <configuration>
>     <property>
>        <name>hbase.zookeeper.quorum</name>
>       <value>localhost</value>
>     </property>
>
>    <property>
>       <name>hbase.zookeeper.property.clientPort</name>
>       <value>2181</value>
>    </property>
>         <property>
>                 <name>zookeeper.znode.parent</name>
>                <value>/hbase</value>
>         </property>
> </configuration>
>
>

Reply via email to