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 # dev >> MiniHBaseCluster on Mac OSX


Copy link to this message
-
Re: MiniHBaseCluster on Mac OSX
Interesting.  I've not come across this one before.  Can you run w/ DEBUG
enabled Vladimir?

The mini hbase cluster says master is not up but it seems like a master is
indeed up and doing work having assigned -ROOT- and now trying to do same
for .META..

It has a hiccup around zk operation:

INFO: Got user-level KeeperException when processing
sessionid:0x13fa31c85440000 type:multi cxid:0x49 zxid:0x25 txntype:-1
reqpath:n/a aborting remaining multi ops. Error Path:/hbase/table/.META.
Error:KeeperErrorCode = NoNode for /hbase/table/.META.
2013-07-02 22:58:47,808 Master:0;192.168.0.196,56840,1372831123175 INFO
 [ZKUtil] On call to ZK.multi, received exception:
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode NoNode.  Attempting to run operations sequentially because
runSequentialOnMultiFailure is: true.
Jul 2, 2013 10:58:47 PM org.apache.zookeeper.server.PrepRequestProcessor
pRequest
INFO: Got user-level KeeperException when processing
sessionid:0x13fa31c85440000 type:delete cxid:0x4a zxid:0x26 txntype:-1
reqpath:n/a Error Path:/hbase/table/.META. Error:KeeperErrorCode = NoNode
for /hbase/table/.META.
2013-07-02 22:58:47,810 Master:0;192.168.0.196,56840,1372831123175 WARN
 [RecoverableZooKeeper] Node /hbase/table/.META. already deleted, and this
is not a retry

You have multi support enabled in your local configs?  It doesn't seem to
be working w/ your zk.

Master seems to be going out w/o complain loudly -- which is bad -- or mini
hbase cluster is just waiting on wrong master (another master running
concurrently)?

Sorry about this Vladimir.  If you send a DEBUG version, I'll take a look.

St.Ack
On Wed, Jul 3, 2013 at 11:16 AM, Vladimir Rodionov
<[EMAIL PROTECTED]>wrote:

> Here it is:
> http://pastebin.com/E3ZhkmkP
>
> It is 1 RS MiniHBaseCluster. I forced Zk to use IP assigned to my laptop
> by WiFi router, but I have tried all defaults as well
> I did not find any ERROR's or FATAL's in a log file which can explain why
> Master failed to initialize properly.
> From some log messages I made conclusion that RS was able to register with
> the Master
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: [EMAIL PROTECTED]
>
> ________________________________________
> From: [EMAIL PROTECTED] [[EMAIL PROTECTED]] On Behalf Of Stack [
> [EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2013 10:58 AM
> To: HBase Dev List
> Subject: Re: MiniHBaseCluster on Mac OSX
>
> May we see more log Vladimir?  My guess is that the reason for the failed
> Master instantiation shows earlier in the log.
> St.Ack
>
>
> On Wed, Jul 3, 2013 at 10:51 AM, Vladimir Rodionov
> <[EMAIL PROTECTED]>wrote:
>
> > I know that sometimes its not straightforward "instantiate and run"
> > exercise. May be somebody has experience of troubleshooting
> > MiniHBaseCluster on Mac OSX (10.7.5):
> >
> > I can not start cluster:
> >
> > 2013-07-02 23:01:44,387 IPC Server handler 0 on 56830 INFO  [audit]
> > allowed=true        ugi=vrodionov (auth:SIMPLE)     ip=/127.0.0.1
> > cmd=listStatus  src=/user/vrodionov/hbase/.archive      dst=null
> >  perm=null
> > 2013-07-02 23:02:03,483 main ERROR [MiniHBaseCluster] Error starting
> > cluster
> > java.lang.RuntimeException: Master not initialized after 200 seconds
> >         at
> >
> org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:206)
> >         at
> >
> org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:420)
> >         at
> > org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:216)
> >         at
> > org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:86)
> >         at
> > org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:77)
> >         at
> >
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:657)
> >         at
> >
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:627)
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