You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Vladimir Rodionov <vr...@carrieriq.com> on 2013/07/03 19:51:56 UTC

MiniHBaseCluster on Mac OSX

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)
        at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:575)
        at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:562)
        at com.inclouds.hbase.test.CoprocessorLoadTest.setUp(CoprocessorLoadTest.java:43)
        at junit.framework.TestCase.runBare(TestCase.java:128)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
2013-07-02 23:02:03,484 main INFO  [HMaster] Cluster shutdown requested


Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: vrodionov@carrieriq.com

________________________________________
From: Chris Trezzo (JIRA) [jira@apache.org]
Sent: Wednesday, July 03, 2013 10:50 AM
To: dev@hbase.apache.org
Subject: [jira] [Created] (HBASE-8861) Remove ReplicaitonState completely

Chris Trezzo created HBASE-8861:
-----------------------------------

             Summary: Remove ReplicaitonState completely
                 Key: HBASE-8861
                 URL: https://issues.apache.org/jira/browse/HBASE-8861
             Project: HBase
          Issue Type: Improvement
          Components: Replication
    Affects Versions: 0.95.2
            Reporter: Chris Trezzo


The stop/start replication functionality is confusing. More times then not a user really only wants to stop/start replication on a peer by peer basis. Enable/disable peer handles this need.

Removing ReplicationState and the admin commands associated with it will simplify the code without losing any major functionality.

This JIRA was created based on a discussion in HBASE-8844.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.

Re: MiniHBaseCluster on Mac OSX

Posted by David Williams <mo...@gmail.com>.
Yes, and Apache 0.94.6.1.

I created this Jira ticket.

https://issues.apache.org/jira/browse/HBASE-8944



On Jul 13, 2013, at 10:45 AM, Vladimir Rodionov wrote:

> David, I can give you release where HBaseTestingUtiliy misbehaves - 0.94.6 (CDH 4.3.0)
> 
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: vrodionov@carrieriq.com
> 
> ________________________________________
> From: David Williams [mobiusinversion@gmail.com]
> Sent: Saturday, July 13, 2013 7:56 AM
> To: dev@hbase.apache.org; Vladimir Rodionov; Jesse Yates
> Subject: Re: MiniHBaseCluster on Mac OSX
> 
> Hi Jesse,
> 
> Actually I am having the opposite problem, in the sense that this works for me (and travis-ci support) on mac osx but fails on CentoOS, and consistently.
> 
> Valdamir - you said "All of a sudden it is working now. I have no idea - why?"  Is there a version or release where the TestingUtility behaves?
> 
> 
> On Jul 12, 2013, at 11:21 PM, Jesse Yates wrote:
> 
>> had this problem on OSX in the past. Sometimes it will just stop working in
>> the middle of working on something... usually just call it a day and it
>> works the next day.
>> 
>> Never found an explanation, just apple being weird :-/
>> -------------------
>> Jesse Yates
>> @jesse_yates
>> jyates.github.com
>> 
>> 
>> On Fri, Jul 12, 2013 at 8:58 PM, Vladimir Rodionov
>> <vr...@carrieriq.com>wrote:
>> 
>>> All of a sudden it is working now. I have no idea - why?
>>> 
>>> Best regards,
>>> Vladimir Rodionov
>>> Principal Platform Engineer
>>> Carrier IQ, www.carrieriq.com
>>> e-mail: vrodionov@carrieriq.com
>>> 
>>> ________________________________________
>>> From: Vladimir Rodionov
>>> Sent: Thursday, July 11, 2013 11:35 AM
>>> To: dev@hbase.apache.org
>>> Subject: RE: MiniHBaseCluster on Mac OSX
>>> 
>>> Not yet. I put on hold mini cluster testing but will have to resume it
>>> tomorrow.
>>> I will update this thread with my findings.
>>> 
>>> Best regards,
>>> Vladimir Rodionov
>>> Principal Platform Engineer
>>> Carrier IQ, www.carrieriq.com
>>> e-mail: vrodionov@carrieriq.com
>>> 
>>> ________________________________________
>>> From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [
>>> stack@duboce.net]
>>> Sent: Thursday, July 11, 2013 11:33 AM
>>> To: HBase Dev List
>>> Subject: Re: MiniHBaseCluster on Mac OSX
>>> 
>>> Did you figure this Vladimir?
>>> St.Ack
>>> 
>>> 
>>> On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:
>>> 
>>>> On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <
>>> vrodionov@carrieriq.com
>>>>> wrote:
>>>> 
>>>>> Michael, couple questions:
>>>>> 
>>>>> 1. You have multi support enabled in your local configs?
>>>>> 
>>>>> What is it?
>>>>> 
>>>> 
>>>> The hiccup above seemed related to zookeeper multi operation (multiple
>>> ops
>>>> at the one time, a feature only supported in later zks).  See here for
>>> the
>>>> hbase config and description:
>>>> http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
>>>> 
>>>> 
>>>> 
>>>>> 
>>>>> 2. How to enable DEBUG globally in MiniHBaseCluster?
>>>>> 
>>>>> 
>>>> Edit log4j file in your conf.  (Here is old wiki entry that might help
>>>> http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
>>>> 
>>>> St.Ack
>>>> 
>>> 
>>> Confidentiality Notice:  The information contained in this message,
>>> including any attachments hereto, may be confidential and is intended to be
>>> read only by the individual or entity to whom this message is addressed. If
>>> the reader of this message is not the intended recipient or an agent or
>>> designee of the intended recipient, please note that any review, use,
>>> disclosure or distribution of this message or its attachments, in any form,
>>> is strictly prohibited.  If you have received this message in error, please
>>> immediately notify the sender and/or Notifications@carrieriq.com and
>>> delete or destroy any copy of this message and its attachments.
>>> 
> 
> 
> Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.


RE: MiniHBaseCluster on Mac OSX

Posted by Vladimir Rodionov <vr...@carrieriq.com>.
David, I can give you release where HBaseTestingUtiliy misbehaves - 0.94.6 (CDH 4.3.0)

Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: vrodionov@carrieriq.com

________________________________________
From: David Williams [mobiusinversion@gmail.com]
Sent: Saturday, July 13, 2013 7:56 AM
To: dev@hbase.apache.org; Vladimir Rodionov; Jesse Yates
Subject: Re: MiniHBaseCluster on Mac OSX

Hi Jesse,

Actually I am having the opposite problem, in the sense that this works for me (and travis-ci support) on mac osx but fails on CentoOS, and consistently.

Valdamir - you said "All of a sudden it is working now. I have no idea - why?"  Is there a version or release where the TestingUtility behaves?


On Jul 12, 2013, at 11:21 PM, Jesse Yates wrote:

> had this problem on OSX in the past. Sometimes it will just stop working in
> the middle of working on something... usually just call it a day and it
> works the next day.
>
> Never found an explanation, just apple being weird :-/
> -------------------
> Jesse Yates
> @jesse_yates
> jyates.github.com
>
>
> On Fri, Jul 12, 2013 at 8:58 PM, Vladimir Rodionov
> <vr...@carrieriq.com>wrote:
>
>> All of a sudden it is working now. I have no idea - why?
>>
>> Best regards,
>> Vladimir Rodionov
>> Principal Platform Engineer
>> Carrier IQ, www.carrieriq.com
>> e-mail: vrodionov@carrieriq.com
>>
>> ________________________________________
>> From: Vladimir Rodionov
>> Sent: Thursday, July 11, 2013 11:35 AM
>> To: dev@hbase.apache.org
>> Subject: RE: MiniHBaseCluster on Mac OSX
>>
>> Not yet. I put on hold mini cluster testing but will have to resume it
>> tomorrow.
>> I will update this thread with my findings.
>>
>> Best regards,
>> Vladimir Rodionov
>> Principal Platform Engineer
>> Carrier IQ, www.carrieriq.com
>> e-mail: vrodionov@carrieriq.com
>>
>> ________________________________________
>> From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [
>> stack@duboce.net]
>> Sent: Thursday, July 11, 2013 11:33 AM
>> To: HBase Dev List
>> Subject: Re: MiniHBaseCluster on Mac OSX
>>
>> Did you figure this Vladimir?
>> St.Ack
>>
>>
>> On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:
>>
>>> On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <
>> vrodionov@carrieriq.com
>>>> wrote:
>>>
>>>> Michael, couple questions:
>>>>
>>>> 1. You have multi support enabled in your local configs?
>>>>
>>>> What is it?
>>>>
>>>
>>> The hiccup above seemed related to zookeeper multi operation (multiple
>> ops
>>> at the one time, a feature only supported in later zks).  See here for
>> the
>>> hbase config and description:
>>> http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
>>>
>>>
>>>
>>>>
>>>> 2. How to enable DEBUG globally in MiniHBaseCluster?
>>>>
>>>>
>>> Edit log4j file in your conf.  (Here is old wiki entry that might help
>>> http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
>>>
>>> St.Ack
>>>
>>
>> Confidentiality Notice:  The information contained in this message,
>> including any attachments hereto, may be confidential and is intended to be
>> read only by the individual or entity to whom this message is addressed. If
>> the reader of this message is not the intended recipient or an agent or
>> designee of the intended recipient, please note that any review, use,
>> disclosure or distribution of this message or its attachments, in any form,
>> is strictly prohibited.  If you have received this message in error, please
>> immediately notify the sender and/or Notifications@carrieriq.com and
>> delete or destroy any copy of this message and its attachments.
>>


Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.

Re: MiniHBaseCluster on Mac OSX

Posted by David Williams <mo...@gmail.com>.
Hi Jesse,

Actually I am having the opposite problem, in the sense that this works for me (and travis-ci support) on mac osx but fails on CentoOS, and consistently. 

Valdamir - you said "All of a sudden it is working now. I have no idea - why?"  Is there a version or release where the TestingUtility behaves?


On Jul 12, 2013, at 11:21 PM, Jesse Yates wrote:

> had this problem on OSX in the past. Sometimes it will just stop working in
> the middle of working on something... usually just call it a day and it
> works the next day.
> 
> Never found an explanation, just apple being weird :-/
> -------------------
> Jesse Yates
> @jesse_yates
> jyates.github.com
> 
> 
> On Fri, Jul 12, 2013 at 8:58 PM, Vladimir Rodionov
> <vr...@carrieriq.com>wrote:
> 
>> All of a sudden it is working now. I have no idea - why?
>> 
>> Best regards,
>> Vladimir Rodionov
>> Principal Platform Engineer
>> Carrier IQ, www.carrieriq.com
>> e-mail: vrodionov@carrieriq.com
>> 
>> ________________________________________
>> From: Vladimir Rodionov
>> Sent: Thursday, July 11, 2013 11:35 AM
>> To: dev@hbase.apache.org
>> Subject: RE: MiniHBaseCluster on Mac OSX
>> 
>> Not yet. I put on hold mini cluster testing but will have to resume it
>> tomorrow.
>> I will update this thread with my findings.
>> 
>> Best regards,
>> Vladimir Rodionov
>> Principal Platform Engineer
>> Carrier IQ, www.carrieriq.com
>> e-mail: vrodionov@carrieriq.com
>> 
>> ________________________________________
>> From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [
>> stack@duboce.net]
>> Sent: Thursday, July 11, 2013 11:33 AM
>> To: HBase Dev List
>> Subject: Re: MiniHBaseCluster on Mac OSX
>> 
>> Did you figure this Vladimir?
>> St.Ack
>> 
>> 
>> On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:
>> 
>>> On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <
>> vrodionov@carrieriq.com
>>>> wrote:
>>> 
>>>> Michael, couple questions:
>>>> 
>>>> 1. You have multi support enabled in your local configs?
>>>> 
>>>> What is it?
>>>> 
>>> 
>>> The hiccup above seemed related to zookeeper multi operation (multiple
>> ops
>>> at the one time, a feature only supported in later zks).  See here for
>> the
>>> hbase config and description:
>>> http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
>>> 
>>> 
>>> 
>>>> 
>>>> 2. How to enable DEBUG globally in MiniHBaseCluster?
>>>> 
>>>> 
>>> Edit log4j file in your conf.  (Here is old wiki entry that might help
>>> http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
>>> 
>>> St.Ack
>>> 
>> 
>> Confidentiality Notice:  The information contained in this message,
>> including any attachments hereto, may be confidential and is intended to be
>> read only by the individual or entity to whom this message is addressed. If
>> the reader of this message is not the intended recipient or an agent or
>> designee of the intended recipient, please note that any review, use,
>> disclosure or distribution of this message or its attachments, in any form,
>> is strictly prohibited.  If you have received this message in error, please
>> immediately notify the sender and/or Notifications@carrieriq.com and
>> delete or destroy any copy of this message and its attachments.
>> 


Re: MiniHBaseCluster on Mac OSX

Posted by Jesse Yates <je...@gmail.com>.
had this problem on OSX in the past. Sometimes it will just stop working in
the middle of working on something... usually just call it a day and it
works the next day.

Never found an explanation, just apple being weird :-/
-------------------
Jesse Yates
@jesse_yates
jyates.github.com


On Fri, Jul 12, 2013 at 8:58 PM, Vladimir Rodionov
<vr...@carrieriq.com>wrote:

> All of a sudden it is working now. I have no idea - why?
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: vrodionov@carrieriq.com
>
> ________________________________________
> From: Vladimir Rodionov
> Sent: Thursday, July 11, 2013 11:35 AM
> To: dev@hbase.apache.org
> Subject: RE: MiniHBaseCluster on Mac OSX
>
> Not yet. I put on hold mini cluster testing but will have to resume it
> tomorrow.
> I will update this thread with my findings.
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: vrodionov@carrieriq.com
>
> ________________________________________
> From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [
> stack@duboce.net]
> Sent: Thursday, July 11, 2013 11:33 AM
> To: HBase Dev List
> Subject: Re: MiniHBaseCluster on Mac OSX
>
> Did you figure this Vladimir?
> St.Ack
>
>
> On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:
>
> > On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <
> vrodionov@carrieriq.com
> > > wrote:
> >
> >> Michael, couple questions:
> >>
> >> 1. You have multi support enabled in your local configs?
> >>
> >> What is it?
> >>
> >
> > The hiccup above seemed related to zookeeper multi operation (multiple
> ops
> > at the one time, a feature only supported in later zks).  See here for
> the
> > hbase config and description:
> > http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
> >
> >
> >
> >>
> >> 2. How to enable DEBUG globally in MiniHBaseCluster?
> >>
> >>
> > Edit log4j file in your conf.  (Here is old wiki entry that might help
> > http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
> >
> > St.Ack
> >
>
> Confidentiality Notice:  The information contained in this message,
> including any attachments hereto, may be confidential and is intended to be
> read only by the individual or entity to whom this message is addressed. If
> the reader of this message is not the intended recipient or an agent or
> designee of the intended recipient, please note that any review, use,
> disclosure or distribution of this message or its attachments, in any form,
> is strictly prohibited.  If you have received this message in error, please
> immediately notify the sender and/or Notifications@carrieriq.com and
> delete or destroy any copy of this message and its attachments.
>

RE: MiniHBaseCluster on Mac OSX

Posted by Vladimir Rodionov <vr...@carrieriq.com>.
All of a sudden it is working now. I have no idea - why?

Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: vrodionov@carrieriq.com

________________________________________
From: Vladimir Rodionov
Sent: Thursday, July 11, 2013 11:35 AM
To: dev@hbase.apache.org
Subject: RE: MiniHBaseCluster on Mac OSX

Not yet. I put on hold mini cluster testing but will have to resume it tomorrow.
I will update this thread with my findings.

Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: vrodionov@carrieriq.com

________________________________________
From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [stack@duboce.net]
Sent: Thursday, July 11, 2013 11:33 AM
To: HBase Dev List
Subject: Re: MiniHBaseCluster on Mac OSX

Did you figure this Vladimir?
St.Ack


On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:

> On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <vrodionov@carrieriq.com
> > wrote:
>
>> Michael, couple questions:
>>
>> 1. You have multi support enabled in your local configs?
>>
>> What is it?
>>
>
> The hiccup above seemed related to zookeeper multi operation (multiple ops
> at the one time, a feature only supported in later zks).  See here for the
> hbase config and description:
> http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
>
>
>
>>
>> 2. How to enable DEBUG globally in MiniHBaseCluster?
>>
>>
> Edit log4j file in your conf.  (Here is old wiki entry that might help
> http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
>
> St.Ack
>

Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.

RE: MiniHBaseCluster on Mac OSX

Posted by Vladimir Rodionov <vr...@carrieriq.com>.
Not yet. I put on hold mini cluster testing but will have to resume it tomorrow.
I will update this thread with my findings.

Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: vrodionov@carrieriq.com

________________________________________
From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [stack@duboce.net]
Sent: Thursday, July 11, 2013 11:33 AM
To: HBase Dev List
Subject: Re: MiniHBaseCluster on Mac OSX

Did you figure this Vladimir?
St.Ack


On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:

> On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <vrodionov@carrieriq.com
> > wrote:
>
>> Michael, couple questions:
>>
>> 1. You have multi support enabled in your local configs?
>>
>> What is it?
>>
>
> The hiccup above seemed related to zookeeper multi operation (multiple ops
> at the one time, a feature only supported in later zks).  See here for the
> hbase config and description:
> http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
>
>
>
>>
>> 2. How to enable DEBUG globally in MiniHBaseCluster?
>>
>>
> Edit log4j file in your conf.  (Here is old wiki entry that might help
> http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
>
> St.Ack
>

Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.

Re: MiniHBaseCluster on Mac OSX

Posted by Stack <st...@duboce.net>.
Did you figure this Vladimir?
St.Ack


On Wed, Jul 3, 2013 at 2:43 PM, Stack <st...@duboce.net> wrote:

> On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov <vrodionov@carrieriq.com
> > wrote:
>
>> Michael, couple questions:
>>
>> 1. You have multi support enabled in your local configs?
>>
>> What is it?
>>
>
> The hiccup above seemed related to zookeeper multi operation (multiple ops
> at the one time, a feature only supported in later zks).  See here for the
> hbase config and description:
> http://hbase.apache.org/book.html#hbase.zookeeper.useMulti
>
>
>
>>
>> 2. How to enable DEBUG globally in MiniHBaseCluster?
>>
>>
> Edit log4j file in your conf.  (Here is old wiki entry that might help
> http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).
>
> St.Ack
>

Re: MiniHBaseCluster on Mac OSX

Posted by Stack <st...@duboce.net>.
On Wed, Jul 3, 2013 at 1:05 PM, Vladimir Rodionov
<vr...@carrieriq.com>wrote:

> Michael, couple questions:
>
> 1. You have multi support enabled in your local configs?
>
> What is it?
>

The hiccup above seemed related to zookeeper multi operation (multiple ops
at the one time, a feature only supported in later zks).  See here for the
hbase config and description:
http://hbase.apache.org/book.html#hbase.zookeeper.useMulti



>
> 2. How to enable DEBUG globally in MiniHBaseCluster?
>
>
Edit log4j file in your conf.  (Here is old wiki entry that might help
http://wiki.apache.org/hadoop/Hbase/FAQ_Operations#A2 ).

St.Ack

RE: MiniHBaseCluster on Mac OSX

Posted by Vladimir Rodionov <vr...@carrieriq.com>.
Michael, couple questions:

1. You have multi support enabled in your local configs?

What is it?

2. How to enable DEBUG globally in MiniHBaseCluster?


Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com
e-mail: vrodionov@carrieriq.com

________________________________________
From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [stack@duboce.net]
Sent: Wednesday, July 03, 2013 12:20 PM
To: HBase Dev List
Subject: 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
<vr...@carrieriq.com>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: vrodionov@carrieriq.com
>
> ________________________________________
> From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [
> stack@duboce.net]
> 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
> <vr...@carrieriq.com>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)
> >         at
> >
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:575)
> >         at
> >
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:562)
> >         at
> >
> com.inclouds.hbase.test.CoprocessorLoadTest.setUp(CoprocessorLoadTest.java:43)
> >         at junit.framework.TestCase.runBare(TestCase.java:128)
> >         at junit.framework.TestResult$1.protect(TestResult.java:106)
> >         at junit.framework.TestResult.runProtected(TestResult.java:124)
> >         at junit.framework.TestResult.run(TestResult.java:109)
> >         at junit.framework.TestCase.run(TestCase.java:120)
> >         at junit.framework.TestSuite.runTest(TestSuite.java:230)
> >         at junit.framework.TestSuite.run(TestSuite.java:225)
> >         at
> >
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
> >         at
> >
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> > 2013-07-02 23:02:03,484 main INFO  [HMaster] Cluster shutdown requested
> >
> >
> > Best regards,
> > Vladimir Rodionov
> > Principal Platform Engineer
> > Carrier IQ, www.carrieriq.com
> > e-mail: vrodionov@carrieriq.com
> >
> > ________________________________________
> > From: Chris Trezzo (JIRA) [jira@apache.org]
> > Sent: Wednesday, July 03, 2013 10:50 AM
> > To: dev@hbase.apache.org
> > Subject: [jira] [Created] (HBASE-8861) Remove ReplicaitonState completely
> >
> > Chris Trezzo created HBASE-8861:
> > -----------------------------------
> >
> >              Summary: Remove ReplicaitonState completely
> >                  Key: HBASE-8861
> >                  URL: https://issues.apache.org/jira/browse/HBASE-8861
> >              Project: HBase
> >           Issue Type: Improvement
> >           Components: Replication
> >     Affects Versions: 0.95.2
> >             Reporter: Chris Trezzo
> >
> >
> > The stop/start replication functionality is confusing. More times then
> not
> > a user really only wants to stop/start replication on a peer by peer
> basis.
> > Enable/disable peer handles this need.
> >
> > Removing ReplicationState and the admin commands associated with it will
> > simplify the code without losing any major functionality.
> >
> > This JIRA was created based on a discussion in HBASE-8844.
> >
> > --
> > This message is automatically generated by JIRA.
> > If you think it was sent incorrectly, please contact your JIRA
> > administrators
> > For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >
> > Confidentiality Notice:  The information contained in this message,
> > including any attachments hereto, may be confidential and is intended to
> be
> > read only by the individual or entity to whom this message is addressed.
> If
> > the reader of this message is not the intended recipient or an agent or
> > designee of the intended recipient, please note that any review, use,
> > disclosure or distribution of this message or its attachments, in any
> form,
> > is strictly prohibited.  If you have received this message in error,
> please
> > immediately notify the sender and/or Notifications@carrieriq.com and
> > delete or destroy any copy of this message and its attachments.
> >
>
> Confidentiality Notice:  The information contained in this message,
> including any attachments hereto, may be confidential and is intended to be
> read only by the individual or entity to whom this message is addressed. If
> the reader of this message is not the intended recipient or an agent or
> designee of the intended recipient, please note that any review, use,
> disclosure or distribution of this message or its attachments, in any form,
> is strictly prohibited.  If you have received this message in error, please
> immediately notify the sender and/or Notifications@carrieriq.com and
> delete or destroy any copy of this message and its attachments.
>

Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.

Re: MiniHBaseCluster on Mac OSX

Posted by Stack <st...@duboce.net>.
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
<vr...@carrieriq.com>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: vrodionov@carrieriq.com
>
> ________________________________________
> From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [
> stack@duboce.net]
> 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
> <vr...@carrieriq.com>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)
> >         at
> >
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:575)
> >         at
> >
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:562)
> >         at
> >
> com.inclouds.hbase.test.CoprocessorLoadTest.setUp(CoprocessorLoadTest.java:43)
> >         at junit.framework.TestCase.runBare(TestCase.java:128)
> >         at junit.framework.TestResult$1.protect(TestResult.java:106)
> >         at junit.framework.TestResult.runProtected(TestResult.java:124)
> >         at junit.framework.TestResult.run(TestResult.java:109)
> >         at junit.framework.TestCase.run(TestCase.java:120)
> >         at junit.framework.TestSuite.runTest(TestSuite.java:230)
> >         at junit.framework.TestSuite.run(TestSuite.java:225)
> >         at
> >
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
> >         at
> >
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> >         at
> >
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> > 2013-07-02 23:02:03,484 main INFO  [HMaster] Cluster shutdown requested
> >
> >
> > Best regards,
> > Vladimir Rodionov
> > Principal Platform Engineer
> > Carrier IQ, www.carrieriq.com
> > e-mail: vrodionov@carrieriq.com
> >
> > ________________________________________
> > From: Chris Trezzo (JIRA) [jira@apache.org]
> > Sent: Wednesday, July 03, 2013 10:50 AM
> > To: dev@hbase.apache.org
> > Subject: [jira] [Created] (HBASE-8861) Remove ReplicaitonState completely
> >
> > Chris Trezzo created HBASE-8861:
> > -----------------------------------
> >
> >              Summary: Remove ReplicaitonState completely
> >                  Key: HBASE-8861
> >                  URL: https://issues.apache.org/jira/browse/HBASE-8861
> >              Project: HBase
> >           Issue Type: Improvement
> >           Components: Replication
> >     Affects Versions: 0.95.2
> >             Reporter: Chris Trezzo
> >
> >
> > The stop/start replication functionality is confusing. More times then
> not
> > a user really only wants to stop/start replication on a peer by peer
> basis.
> > Enable/disable peer handles this need.
> >
> > Removing ReplicationState and the admin commands associated with it will
> > simplify the code without losing any major functionality.
> >
> > This JIRA was created based on a discussion in HBASE-8844.
> >
> > --
> > This message is automatically generated by JIRA.
> > If you think it was sent incorrectly, please contact your JIRA
> > administrators
> > For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >
> > Confidentiality Notice:  The information contained in this message,
> > including any attachments hereto, may be confidential and is intended to
> be
> > read only by the individual or entity to whom this message is addressed.
> If
> > the reader of this message is not the intended recipient or an agent or
> > designee of the intended recipient, please note that any review, use,
> > disclosure or distribution of this message or its attachments, in any
> form,
> > is strictly prohibited.  If you have received this message in error,
> please
> > immediately notify the sender and/or Notifications@carrieriq.com and
> > delete or destroy any copy of this message and its attachments.
> >
>
> Confidentiality Notice:  The information contained in this message,
> including any attachments hereto, may be confidential and is intended to be
> read only by the individual or entity to whom this message is addressed. If
> the reader of this message is not the intended recipient or an agent or
> designee of the intended recipient, please note that any review, use,
> disclosure or distribution of this message or its attachments, in any form,
> is strictly prohibited.  If you have received this message in error, please
> immediately notify the sender and/or Notifications@carrieriq.com and
> delete or destroy any copy of this message and its attachments.
>

RE: MiniHBaseCluster on Mac OSX

Posted by Vladimir Rodionov <vr...@carrieriq.com>.
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: vrodionov@carrieriq.com

________________________________________
From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [stack@duboce.net]
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
<vr...@carrieriq.com>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)
>         at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:575)
>         at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:562)
>         at
> com.inclouds.hbase.test.CoprocessorLoadTest.setUp(CoprocessorLoadTest.java:43)
>         at junit.framework.TestCase.runBare(TestCase.java:128)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>         at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
>         at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> 2013-07-02 23:02:03,484 main INFO  [HMaster] Cluster shutdown requested
>
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: vrodionov@carrieriq.com
>
> ________________________________________
> From: Chris Trezzo (JIRA) [jira@apache.org]
> Sent: Wednesday, July 03, 2013 10:50 AM
> To: dev@hbase.apache.org
> Subject: [jira] [Created] (HBASE-8861) Remove ReplicaitonState completely
>
> Chris Trezzo created HBASE-8861:
> -----------------------------------
>
>              Summary: Remove ReplicaitonState completely
>                  Key: HBASE-8861
>                  URL: https://issues.apache.org/jira/browse/HBASE-8861
>              Project: HBase
>           Issue Type: Improvement
>           Components: Replication
>     Affects Versions: 0.95.2
>             Reporter: Chris Trezzo
>
>
> The stop/start replication functionality is confusing. More times then not
> a user really only wants to stop/start replication on a peer by peer basis.
> Enable/disable peer handles this need.
>
> Removing ReplicationState and the admin commands associated with it will
> simplify the code without losing any major functionality.
>
> This JIRA was created based on a discussion in HBASE-8844.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
> Confidentiality Notice:  The information contained in this message,
> including any attachments hereto, may be confidential and is intended to be
> read only by the individual or entity to whom this message is addressed. If
> the reader of this message is not the intended recipient or an agent or
> designee of the intended recipient, please note that any review, use,
> disclosure or distribution of this message or its attachments, in any form,
> is strictly prohibited.  If you have received this message in error, please
> immediately notify the sender and/or Notifications@carrieriq.com and
> delete or destroy any copy of this message and its attachments.
>

Confidentiality Notice:  The information contained in this message, including any attachments hereto, may be confidential and is intended to be read only by the individual or entity to whom this message is addressed. If the reader of this message is not the intended recipient or an agent or designee of the intended recipient, please note that any review, use, disclosure or distribution of this message or its attachments, in any form, is strictly prohibited.  If you have received this message in error, please immediately notify the sender and/or Notifications@carrieriq.com and delete or destroy any copy of this message and its attachments.

Re: MiniHBaseCluster on Mac OSX

Posted by Stack <st...@duboce.net>.
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
<vr...@carrieriq.com>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)
>         at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:575)
>         at
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:562)
>         at
> com.inclouds.hbase.test.CoprocessorLoadTest.setUp(CoprocessorLoadTest.java:43)
>         at junit.framework.TestCase.runBare(TestCase.java:128)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
>         at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
>         at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> 2013-07-02 23:02:03,484 main INFO  [HMaster] Cluster shutdown requested
>
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: vrodionov@carrieriq.com
>
> ________________________________________
> From: Chris Trezzo (JIRA) [jira@apache.org]
> Sent: Wednesday, July 03, 2013 10:50 AM
> To: dev@hbase.apache.org
> Subject: [jira] [Created] (HBASE-8861) Remove ReplicaitonState completely
>
> Chris Trezzo created HBASE-8861:
> -----------------------------------
>
>              Summary: Remove ReplicaitonState completely
>                  Key: HBASE-8861
>                  URL: https://issues.apache.org/jira/browse/HBASE-8861
>              Project: HBase
>           Issue Type: Improvement
>           Components: Replication
>     Affects Versions: 0.95.2
>             Reporter: Chris Trezzo
>
>
> The stop/start replication functionality is confusing. More times then not
> a user really only wants to stop/start replication on a peer by peer basis.
> Enable/disable peer handles this need.
>
> Removing ReplicationState and the admin commands associated with it will
> simplify the code without losing any major functionality.
>
> This JIRA was created based on a discussion in HBASE-8844.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
> Confidentiality Notice:  The information contained in this message,
> including any attachments hereto, may be confidential and is intended to be
> read only by the individual or entity to whom this message is addressed. If
> the reader of this message is not the intended recipient or an agent or
> designee of the intended recipient, please note that any review, use,
> disclosure or distribution of this message or its attachments, in any form,
> is strictly prohibited.  If you have received this message in error, please
> immediately notify the sender and/or Notifications@carrieriq.com and
> delete or destroy any copy of this message and its attachments.
>