Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Cannot Run HBase + Hadoop on a single Node Cluster - Hdfs Problem


Copy link to this message
-
Re: Cannot Run HBase + Hadoop on a single Node Cluster - Hdfs Problem
It looks like your region server isn't connected to zookeeper. Can you
find a line in your region server log that looks like this:

INFO org.apache.zookeeper.ClientCnxn: Attempting connection to server
localhost/127.0.0.1:2181

-Joey

On Thu, May 19, 2011 at 9:18 AM, Florent G. <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am trying to run Haddop (hadoop-0.20.203.0) with Hbase (hbase-0.20.6) on a
> single node cluster in localhost.
> Hadoop start is ok without any errors but when i start Hbase :
> Master is running but cannot see any .ROOT. Table.
>
> I think it is maybe a problem on the hdfs settings from any of the
> components i quoted up there.
> I join you my logs.
> Last point (but not the least) : when i stop hbase, master doesn't answer
> and i have to kill it manually !
> Hope somebody will have the perfect solution for me !!
> Thx ++
>                                      hbase-hadoop-master-desktop.log :
>
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/tmp
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:os.name=Linux
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:os.arch=i386
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:os.version=2.6.32-24-generic
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:user.name=hadoop
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:user.home=/home/hadoop
> 2011-05-19 18:16:37,720 INFO org.apache.zookeeper.ZooKeeper: Client
> environment:user.dir=/home/hadoop/hbase-0.20.6
> 2011-05-19 18:16:37,721 INFO org.apache.zookeeper.ZooKeeper: Initiating
> client connection, connectString=localhost:2181 sessionTimeout=60000
> watcher=Thread[Thread-1,5,main]
> 2011-05-19 18:16:37,722 INFO org.apache.zookeeper.ClientCnxn:
> zookeeper.disableAutoWatchReset is false
> 2011-05-19 18:16:37,742 INFO org.apache.zookeeper.ClientCnxn: Attempting
> connection to server localhost/127.0.0.1:2181
> 2011-05-19 18:16:37,772 INFO org.apache.zookeeper.ClientCnxn: Priming
> connection to java.nio.channels.SocketChannel[connected
> local=/127.0.0.1:51311 remote=localhost/127.0.0.1:2181]
> 2011-05-19 18:16:37,781 INFO org.apache.zookeeper.ClientCnxn: Server
> connection successful
> 2011-05-19 18:16:37,811 DEBUG org.apache.hadoop.hbase.master.HMaster: Got
> event None with path null
> 2011-05-19 18:16:37,821 DEBUG org.apache.zookeeper.ClientCnxn: Reading reply
> sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null
> finished:false header:: -8,101  replyHeader:: -8,53,0  request::
> 0,v{},v{},v{}  response:: null
> 2011-05-19 18:16:37,831 INFO org.apache.hadoop.hbase.master.RegionManager:
> -ROOT- region unset (but not set to be reassigned)
> 2011-05-19 18:16:37,832 INFO org.apache.hadoop.hbase.master.RegionManager:
> ROOT inserted into regionsInTransition
> 2011-05-19 18:16:38,074 DEBUG org.apache.zookeeper.ClientCnxn: Reading reply
> sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null
> finished:false header:: 1,4  replyHeader:: 1,53,-101  request::
> '/hbase/master,T  response::
> 2011-05-19 18:16:38,129 DEBUG
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to read:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode > NoNode for /hbase/master
> 2011-05-19 18:16:38,135 DEBUG org.apache.zookeeper.ClientCnxn: Reading reply
> sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null
> finished:false header:: 2,3  replyHeader:: 2,53,0  request:: '/hbase,F
> response:: s{12,12,1305801043560,1305801043560,0,11,0,0,0,1,50}
> 2011-05-19 18:16:38,157 DEBUG org.apache.zookeeper.ClientCnxn: Reading reply
> sessionid:0x130090a90d10001, packet:: clientPath:null serverPath:null
> finished:false header:: 3,1  replyHeader:: 3,54,0  request::

Joseph Echeverria
Cloudera, Inc.
443.305.9434
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB