You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (Created) (JIRA)" <ji...@apache.org> on 2011/12/16 00:11:30 UTC

[jira] [Created] (HBASE-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
----------------------------------------------------------------------

                 Key: HBASE-5049
                 URL: https://issues.apache.org/jira/browse/HBASE-5049
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.92.0, 0.94.0
            Reporter: Jimmy Xiang
            Priority: Trivial


java.lang.IllegalStateException: Can't overwrite cause
	at java.lang.Throwable.initCause(Throwable.java:320)
	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Hudson commented on HBASE-5049:
-------------------------------

Integrated in HBase-0.92-security #40 (See [https://builds.apache.org/job/HBase-0.92-security/40/])
    HBASE-5049 TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

stack : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>             Fix For: 0.92.0
>
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Jimmy Xiang updated HBASE-5049:
-------------------------------

    Assignee: Jimmy Xiang
      Status: Patch Available  (was: Open)
    
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

jiraposter@reviews.apache.org commented on HBASE-5049:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3218/#review3948
-----------------------------------------------------------

Ship it!


+1

- Michael


On 2011-12-15 23:28:38, Jimmy Xiang wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3218/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-12-15 23:28:38)
bq.  
bq.  
bq.  Review request for hbase, Todd Lipcon, Ted Yu, and Michael Stack.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Minor unit test fix.
bq.  
bq.  
bq.  This addresses bug HBASE-5049.
bq.      https://issues.apache.org/jira/browse/HBASE-5049
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java 90f9243 
bq.  
bq.  Diff: https://reviews.apache.org/r/3218/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  TestHLogSplit works fine in eclipse now.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Jimmy
bq.  
bq.


                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Jimmy Xiang updated HBASE-5049:
-------------------------------

    Attachment: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
    
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

stack updated HBASE-5049:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed branch and trunk.  Thanks Jimmy.
                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>             Fix For: 0.92.0
>
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Hudson commented on HBASE-5049:
-------------------------------

Integrated in HBase-0.92 #193 (See [https://builds.apache.org/job/HBase-0.92/193/])
    HBASE-5049 TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

stack : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>             Fix For: 0.92.0
>
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

jiraposter@reviews.apache.org commented on HBASE-5049:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3218/
-----------------------------------------------------------

Review request for hbase, Todd Lipcon, Ted Yu, and Michael Stack.


Summary
-------

Minor unit test fix.


This addresses bug HBASE-5049.
    https://issues.apache.org/jira/browse/HBASE-5049


Diffs
-----

  src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java 90f9243 

Diff: https://reviews.apache.org/r/3218/diff


Testing
-------

TestHLogSplit works fine in eclipse now.


Thanks,

Jimmy


                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Hadoop QA commented on HBASE-5049:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12507619/0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
  against trunk revision .

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated -152 warning messages.

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

    -1 findbugs.  The patch appears to introduce 76 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 failed these unit tests:
                       org.apache.hadoop.hbase.client.TestInstantSchemaChange

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

This message is automatically generated.
                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Jonathan Hsieh commented on HBASE-5049:
---------------------------------------

So the old code had an error in semantics (see http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable) ).

Specifically the initCause can only be used once.  When an exception is passed in at the constructor, the subsequent initCause call will *always* fail.  

We encountered this exception when backporting parts of HBASE-5006 for a HBASE-2312/HADOOP-6840 bug fix series a 0.90 based-branch.   This hadoop branch has some fixes related to HADOOP-6840 currently only on the 1.1.0 branch.


                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Zhihong Yu commented on HBASE-5049:
-----------------------------------

I went over a few places where initCause() is called.
It seems the practice is to include ex.toString() in the exception message without specifying exception in the ctor. Then initCause() is called.
                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Hudson commented on HBASE-5049:
-------------------------------

Integrated in HBase-TRUNK #2553 (See [https://builds.apache.org/job/HBase-TRUNK/2553/])
    HBASE-5049 TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>             Fix For: 0.92.0
>
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Jimmy Xiang commented on HBASE-5049:
------------------------------------

This failed test has age 2. However, it passes on my local box.
                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Hudson commented on HBASE-5049:
-------------------------------

Integrated in HBase-TRUNK-security #35 (See [https://builds.apache.org/job/HBase-TRUNK-security/35/])
    HBASE-5049 TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>             Fix For: 0.92.0
>
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Zhihong Yu commented on HBASE-5049:
-----------------------------------

I looked at https://builds.apache.org/view/G-L/view/HBase/job/HBase-TRUNK/2547/console and saw TestHLogSplit pass.

I ran TestHLogSplit#testLogRollAfterSplitStart on MacBook for both TRUNK and 0.92 - I didn't see the exception.

Can you let me know how the test failure can be reproduced ?
                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

--
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-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006

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

Jimmy Xiang commented on HBASE-5049:
------------------------------------

That's for exceptions which don't take a cause in the constructor.

The idea is that you cannot specify cause in the constructor and with initCause at the time.
                
> TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
> ----------------------------------------------------------------------
>
>                 Key: HBASE-5049
>                 URL: https://issues.apache.org/jira/browse/HBASE-5049
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Trivial
>         Attachments: 0001-HBASE-5049-TestHLogSplit.testLogRollAfterSplitStart-.patch
>
>
> java.lang.IllegalStateException: Can't overwrite cause
> 	at java.lang.Throwable.initCause(Throwable.java:320)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriter(HLog.java:624)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.createWriterInstance(HLog.java:570)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:504)
> 	at org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit.testLogRollAfterSplitStart(TestHLogSplit.java:880)

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