zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin.chen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ZOOKEEPER-2567) Error message is not correct when wrong argument is passed for "reconfig" cmd
Date Wed, 23 Nov 2016 14:46:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

kevin.chen reassigned ZOOKEEPER-2567:
-------------------------------------

    Assignee: kevin.chen  (was: Rakesh Kumar Singh)

> Error message is not correct when wrong argument is passed for "reconfig" cmd
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2567
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2567
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>            Reporter: Rakesh Kumar Singh
>            Assignee: kevin.chen
>            Priority: Minor
>
> Error message is not correct when wrong argument is passed for "reconfig" cmd
> Steps to reproduce:-
> 1. Start zookeeper in cluster mode
> 2. use reconfig cmd with wrong argument (pass : instead of ;)
> [zk: localhost:2181(CONNECTED) 10] reconfig -remove 3 -add 3=10.18.221.194:2888:3888:2181
> KeeperErrorCode = BadArguments for 
> Here error message is not complete and informative on client console.
> The log is as below:-
> 2016-09-08 18:54:08,701 [myid:1] - INFO  [ProcessThread(sid:1 cport:-1)::PrepRequestProcessor@512]
- Incremental reconfig
> 2016-09-08 18:54:08,702 [myid:1] - INFO  [ProcessThread(sid:1 cport:-1)::PrepRequestProcessor@843]
- Got user-level KeeperException when processing sessionid:0x100299b7eac0000 type:reconfig
cxid:0x7 zxid:0x400000004 txntype:-1 reqpath:n/a Error Path:Reconfiguration failed Error:KeeperErrorCode
= BadArguments for Reconfiguration failed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message