hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5049) TestHLogSplit.testLogRollAfterSplitStart not working due to HBASE-5006
Date Fri, 16 Dec 2011 00:43:30 GMT

    [ 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


View raw message