You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Robin Dhamankar (JIRA)" <ji...@apache.org> on 2012/10/30 18:54:12 UTC
[jira] [Updated] (BOOKKEEPER-446) BookKeeper.createLedger(..)
should not mask the error with ZKException
[ https://issues.apache.org/jira/browse/BOOKKEEPER-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robin Dhamankar updated BOOKKEEPER-446:
---------------------------------------
Assignee: Robin Dhamankar
> BookKeeper.createLedger(..) should not mask the error with ZKException
> ----------------------------------------------------------------------
>
> Key: BOOKKEEPER-446
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-446
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-server
> Affects Versions: 4.2.0
> Reporter: Vinay
> Assignee: Robin Dhamankar
>
> in {{BookKeeper.createLedger()}} following code is masking the error with ZKException. Should throw the original exception to client.
> {code} if (counter.getLh() == null) {
> LOG.error("ZooKeeper error: " + counter.getrc());
> throw BKException.create(Code.ZKException);
> }{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