You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (JIRA)" <ji...@apache.org> on 2012/04/21 16:36:36 UTC

[jira] [Created] (HBASE-5851) TestProcessBasedCluster sometimes fails

Zhihong Yu created HBASE-5851:
---------------------------------

             Summary: TestProcessBasedCluster sometimes fails
                 Key: HBASE-5851
                 URL: https://issues.apache.org/jira/browse/HBASE-5851
             Project: HBase
          Issue Type: Test
            Reporter: Zhihong Yu


TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
Looks like cluster failed to start:
{code}
2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5851:
-------------------------

    Attachment: disable.txt

Patch to disable the flakey test for now.  This is not a critical functional piece and would like to have passing tests for a while so will commit this until this issue is fixed.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang reassigned HBASE-5851:
----------------------------------

    Assignee: Jimmy Xiang
    
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259901#comment-13259901 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

I found it consistently fails for secure test.  For the regular test, I need to look into it more.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259805#comment-13259805 ] 

stack commented on HBASE-5851:
------------------------------

This is secure hbase only?  We should change the subject.  Thanks for digging in Jimmy.  Make it a blocker too?
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260121#comment-13260121 ] 

Hadoop QA commented on HBASE-5851:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12523893/hbase-5851_v2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 3 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1621//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1621//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1621//console

This message is automatically generated.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Status: Patch Available  (was: Open)

Addressed Stack's comments.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260028#comment-13260028 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

Have you tried my patch?  With my patch, I can get it passed all the time.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260818#comment-13260818 ] 

stack commented on HBASE-5851:
------------------------------

It has nothing in output Jimmy (I retried it and it failed again).  Just this:

{code}
------------------------------------------------------------------------------
Test set: org.apache.hadoop.hbase.util.TestProcessBasedCluster
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 300.356 sec <<< FAILURE!
testProcessBasedCluster(org.apache.hadoop.hbase.util.TestProcessBasedCluster)  Time elapsed: 300.064 sec  <<< ERROR!
java.lang.Exception: test timed out after 300000 milliseconds
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:220)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at java.io.BufferedReader.fill(BufferedReader.java:136)
        at java.io.BufferedReader.readLine(BufferedReader.java:299)
        at java.io.BufferedReader.readLine(BufferedReader.java:362)
        at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.executeCommand(ProcessBasedLocalHBaseCluster.java:237)
        at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startServer(ProcessBasedLocalHBaseCluster.java:372)
        at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startZK(ProcessBasedLocalHBaseCluster.java:203)
        at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:156)
        at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
{code}
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Assignee:     (was: Jimmy Xiang)
    
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Ted Yu
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
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

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260039#comment-13260039 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

I think I have just fixed it. :)
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259734#comment-13259734 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

I have looked into it and know the root cause, don't have time to fix it yet.

The root cause is because the server is not in secure mode while the client expects it to be a secure sever.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260036#comment-13260036 ] 

stack commented on HBASE-5851:
------------------------------

Committed to trunk the attached disable.txt to disable the failing test.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259728#comment-13259728 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

I can look into it.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260072#comment-13260072 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

For this one, I just want to be safe. I think you are right.
{code}
+    conf.reloadConfiguration();
{code}

For the conf related, I thought about it too.  I think the reason for not to put the current conf into place is because of different logging directory, and so on.  The reason for the way I did it is to minimize the change so as to be safe.

                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260115#comment-13260115 ] 

Hudson commented on HBASE-5851:
-------------------------------

Integrated in HBase-TRUNK #2802 (See [https://builds.apache.org/job/HBase-TRUNK/2802/])
    HBASE-5851 TestProcessBasedCluster sometimes fails; DISABLE THE FAILING TEST FOR NOW (Revision 1329497)

     Result = SUCCESS
stack : 
Files : 
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestProcessBasedCluster.java

                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260058#comment-13260058 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

It is added: hbase-5851.patch.  Not sure why hadoopqa didn't pick it up.
You feel free to change the comments I put there.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Attachment: hbase-5851_v2.patch
    
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260029#comment-13260029 ] 

Hadoop QA commented on HBASE-5851:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12523885/metahang.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 15 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1618//console

This message is automatically generated.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Attachment: hbase-5851.patch
    
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Status: Open  (was: Patch Available)

Agree with Stack, still flaky, will look into it more later.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Status: Open  (was: Patch Available)
    
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5851:
-------------------------

    Summary: TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled  (was: TestProcessBasedCluster sometimes fails)

Updated the subject.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260024#comment-13260024 ] 

stack commented on HBASE-5851:
------------------------------

It fails for me too.  Will attach the two failure types I saw.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260043#comment-13260043 ] 

Hadoop QA commented on HBASE-5851:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12523886/disable.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1619//console

This message is automatically generated.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260714#comment-13260714 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

@Stack, I tried to run the test in a row for 10 times and all passed.
.out is always empty for me.  There should be something in .log.
When it failed on you, anything in the .log?


                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260066#comment-13260066 ] 

stack commented on HBASE-5851:
------------------------------

Sorry Jimmy.  Missed your patch upload.

Why we need to this now?  We've not had to up to this:

{code}
+    conf.reloadConfiguration();
{code}

And here, could we not just update the conf by putting the current conf into place?

{code}
+    // copy some important settings from configuration from this.conf
+    if (conf.get("hbase.rpc.engine") != null) {
+      confMap.put("hbase.rpc.engine", conf.get("hbase.rpc.engine"));
+    }
{code}

Would the test pass if we did not do the reload and if we just updated the content of confMap w/ what current Config is?

BTW, this feels like right soln.  Good stuff Jimmy.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260193#comment-13260193 ] 

stack commented on HBASE-5851:
------------------------------

It failed on the 9th iteration  (It used fail every other time for me so its an improvement).

{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
2012-04-23 19:38:20.210 java[97418:a003] Unable to load realm info from SCDynamicStore
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 300.829 sec <<< FAILURE!

Results :

Tests in error: 
  testProcessBasedCluster(org.apache.hadoop.hbase.util.TestProcessBasedCluster): test timed out after 300000 milliseconds

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
{code}

There is nothing in the .out...
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260054#comment-13260054 ] 

stack commented on HBASE-5851:
------------------------------

@Jimmy Thanks.  Add the patch and we'll commit.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260091#comment-13260091 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

@Stack, you are right. We don't need reladConfiguration at that time.

Just adding the hbase.rpc.engine configuration doesn't fix the security unit test.
Now, why does the regular test also fail?  There could be other bugs. But I can't
reproduce it now.
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260095#comment-13260095 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

I typed too fast, and there are so many typos. Sorry for the confusion.
Is there a way to correct my comments?

s/reladConfiguration/reloadConfiguration/
s/doesn't fix/does fix/
                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260261#comment-13260261 ] 

Hudson commented on HBASE-5851:
-------------------------------

Integrated in HBase-TRUNK-security #182 (See [https://builds.apache.org/job/HBase-TRUNK-security/182/])
    HBASE-5851 TestProcessBasedCluster sometimes fails; DISABLE THE FAILING TEST FOR NOW (Revision 1329497)

     Result = SUCCESS
stack : 
Files : 
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestProcessBasedCluster.java

                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5851:
-------------------------------

    Status: Patch Available  (was: Open)

I tried TestProcessBasedCluster for regular and security test many times and it always passes now.

                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled

Posted by "Jimmy Xiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261130#comment-13261130 ] 

Jimmy Xiang commented on HBASE-5851:
------------------------------------

So what's in the hbase-site.xml file?  All the .log files and .out files under target/local_cluster/{ZK-0,RS-*,MASTER-*} are empty?
Before you run it, have you tried jps to make sure there is no old RS/master/ZK still running?

                
> TestProcessBasedCluster sometimes fails; currently disabled -- needs to be fixed and reenabled
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: disable.txt, hbase-5851.patch, hbase-5851_v2.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5851:
-------------------------

    Attachment: metahang.txt

Here we just kept scanning meta w/ no movement beyond that.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5851:
-------------------------

    Attachment: zkfail.txt

Here is case of zk not being able to make a connection.  Goes on and on.
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5851.patch, metahang.txt, zkfail.txt
>
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5851) TestProcessBasedCluster sometimes fails

Posted by "Zhihong Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259810#comment-13259810 ] 

Zhihong Yu commented on HBASE-5851:
-----------------------------------

The test sometime failed in trunk build as well:
https://builds.apache.org/view/G-L/view/HBase/job/HBase-TRUNK/2793/
                
> TestProcessBasedCluster sometimes fails
> ---------------------------------------
>
>                 Key: HBASE-5851
>                 URL: https://issues.apache.org/jira/browse/HBASE-5851
>             Project: HBase
>          Issue Type: Test
>            Reporter: Zhihong Yu
>            Assignee: Jimmy Xiang
>
> TestProcessBasedCluster failed in https://builds.apache.org/job/HBase-TRUNK-security/178
> Looks like cluster failed to start:
> {code}
> 2012-04-21 14:22:32,666 INFO  [Thread-1] util.ProcessBasedLocalHBaseCluster(176): Waiting for HBase to startup. Retries left: 2
> java.io.IOException: Giving up trying to location region in meta: thread is interrupted.
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1173)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:956)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:917)
> 	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:252)
> 	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:174)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
> java.lang.InterruptedException: sleep interrupted	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.hadoop.hbase.util.Threads.sleep(Threads.java:134)
> 	at org.apache.hadoop.hbase.util.ProcessBasedLocalHBaseCluster.startHBase(ProcessBasedLocalHBaseCluster.java:178)
> 	at org.apache.hadoop.hbase.util.TestProcessBasedCluster.testProcessBasedCluster(TestProcessBasedCluster.java:56)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira