You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2014/04/01 00:43:15 UTC

[jira] [Commented] (ZOOKEEPER-1728) Better error message when reconfig invoked in standalone mode

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955832#comment-13955832 ] 

Michi Mutsuzaki commented on ZOOKEEPER-1728:
--------------------------------------------

The patch looks good to me except for the formatting. Also, we should use CountdownWatcher to wait to get connected. I'll update the patch and check it in.

> Better error message when reconfig invoked in standalone mode
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1728
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1728
>             Project: ZooKeeper
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: Alexander Shraer
>            Assignee: Alexander Shraer
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1728.patch
>
>
> For now reconfig is not supported in standalone mode. But when invoked it should return something better than the current ClassCast exception. 
> The patch throws a KeeperException.UnimplementedException in this case (most errors are reported through exceptions). 



--
This message was sent by Atlassian JIRA
(v6.2#6252)