[
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