[jira] [Created] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
Joshi Shankar created ZOOKEEPER-2467: Summary: NullPointerException when redo Command is passed negative value Key: ZOOKEEPER-2467 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 Project: ZooKeeper Issue Type: Bug Components: java client Affects Versions: 3.5.1, 3.4.6 Environment: Linux , windows Reporter: Joshi Shankar Priority: Minor When negative value of argument is passed to redo command -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshi Shankar updated ZOOKEEPER-2467: - Description: When negative value of argument is passed to redo command . was:When negative value of argument is passed to redo command > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.5.1 > Environment: Linux , windows >Reporter: Joshi Shankar >Priority: Minor > > When negative value of argument is passed to redo command . -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshi Shankar updated ZOOKEEPER-2467: - Description: When negative value of argument is passed to redo command . [zk: localhost:2181(CONNECTED) 0] redo -1 Exception in thread "main" java.lang.NullPointerException at java.util.StringTokenizer.(Unknown Source) at java.util.StringTokenizer.(Unknown Source) at org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) was: When negative value of argument is passed to redo command . > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.5.1 > Environment: Linux , windows >Reporter: Joshi Shankar >Priority: Minor > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365515#comment-15365515 ] Joshi Shankar commented on ZOOKEEPER-2467: -- will provide patch for this. > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.5.1 > Environment: Linux , windows >Reporter: Joshi Shankar >Priority: Minor > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (ZOOKEEPER-2468) SetQuota and DelQuota
Joshi Shankar created ZOOKEEPER-2468: Summary: SetQuota and DelQuota Key: ZOOKEEPER-2468 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2468 Project: ZooKeeper Issue Type: Bug Components: java client Affects Versions: 3.5.1, 3.4.8, 3.4.6 Environment: Windows /Linux Reporter: Joshi Shankar Setquota and delquota commands does not work Steps to reproduce: 1. Create Test Node 1 create -c /TestZookeeperNodeNumber "testdata" 2. Create Test Node 2 create -c /TestZookeeperNodeBytes "testdatabytes" 3. Set Quota Using setquota -n 1 /TestZookeeperNodeNumber 4. Set Quota Using setquota -b 10 /TestZookeeperNodeBytes AlreadySelectedException is thrown by Apache CLI. It is bug in Apache CLI (https://issues.apache.org/jira/browse/CLI-183) We can fix by upgrading Apache CLI From(*commons-cli-1.2.jar*) to (*commons-cli-1.3.1.jar*) Client Operation Log: [zk: localhost:2181(CONNECTED) 2] create -c /TestZookeeperNodeNumber "testdata" Created /TestZookeeperNodeNumber [zk: localhost:2181(CONNECTED) 3] create -c /TestZookeeperNodeBytes "testdatabytes" Created /TestZookeeperNodeBytes [zk: localhost:2181(CONNECTED) 4] setquota -n 1 /TestZookeeperNodeNumber [zk: localhost:2181(CONNECTED) 5] setquota -b 10 /TestZookeeperNodeBytes The option 'b' was specified but an option from this group has already been selected: 'n' ZooKeeper -server host:port cmd args addauth scheme auth close config [-c] [-w] [-s] connect host:port create [-s] [-e] [-c] path [data] [acl] delete [-v version] path deleteall path delquota [-n|-b] path get [-s] [-w] path getAcl [-s] path history listquota path ls [-s] [-w] path ls2 path [watch] printwatches on|off quit reconfig [-s] [-v version] [[-file path] | [-members serverID=host:port1:port2;port3[,...]*] ] | [-add serverId=host:port1:port2;port3[,...]]* [-remove serverId[,...]*] redo cmdno removewatches path [-c|-d|-a] [-l] rmr path set [-s] [-v version] path data setAcl [-s] [-v version] path acl setquota -n|-b val path stat [-w] path sync path -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshi Shankar updated ZOOKEEPER-2467: - Attachment: ZOOKEEPER-2467.patch > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.5.1 > Environment: Linux , windows >Reporter: Joshi Shankar >Priority: Minor > Attachments: ZOOKEEPER-2467.patch > > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401793#comment-15401793 ] Joshi Shankar commented on ZOOKEEPER-2468: -- will provide the fix by tomorrow > SetQuota and DelQuota > - > > Key: ZOOKEEPER-2468 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2468 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.4.8, 3.5.1 > Environment: Windows /Linux >Reporter: Joshi Shankar >Assignee: SREENIVASULUDANDU > > Setquota and delquota commands does not work > Steps to reproduce: > 1. Create Test Node 1 > create -c /TestZookeeperNodeNumber "testdata" > 2. Create Test Node 2 > create -c /TestZookeeperNodeBytes "testdatabytes" > > 3. Set Quota Using > setquota -n 1 /TestZookeeperNodeNumber > 4. Set Quota Using > setquota -b 10 /TestZookeeperNodeBytes > AlreadySelectedException is thrown by Apache CLI. It is bug in Apache > CLI (https://issues.apache.org/jira/browse/CLI-183) > >We can fix by upgrading Apache CLI From(*commons-cli-1.2.jar*) to > (*commons-cli-1.3.1.jar*) > Client Operation Log: > [zk: localhost:2181(CONNECTED) 2] create -c /TestZookeeperNodeNumber > "testdata" > Created /TestZookeeperNodeNumber > [zk: localhost:2181(CONNECTED) 3] create -c /TestZookeeperNodeBytes > "testdatabytes" > Created /TestZookeeperNodeBytes > [zk: localhost:2181(CONNECTED) 4] setquota -n 1 /TestZookeeperNodeNumber > [zk: localhost:2181(CONNECTED) 5] setquota -b 10 /TestZookeeperNodeBytes > The option 'b' was specified but an option from this group has already been > selected: 'n' > ZooKeeper -server host:port cmd args > addauth scheme auth > close > config [-c] [-w] [-s] > connect host:port > create [-s] [-e] [-c] path [data] [acl] > delete [-v version] path > deleteall path > delquota [-n|-b] path > get [-s] [-w] path > getAcl [-s] path > history > listquota path > ls [-s] [-w] path > ls2 path [watch] > printwatches on|off > quit > reconfig [-s] [-v version] [[-file path] | [-members > serverID=host:port1:port2;port3[,...]*] > ] | [-add serverId=host:port1:port2;port3[,...]]* [-remove serverId[,...]*] > redo cmdno > removewatches path [-c|-d|-a] [-l] > rmr path > set [-s] [-v version] path data > setAcl [-s] [-v version] path acl > setquota -n|-b val path > stat [-w] path > sync path -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshi Shankar updated ZOOKEEPER-2467: - Attachment: ZOOKEEPER-2467.patch > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.5.1 > Environment: Linux , windows >Reporter: Joshi Shankar >Priority: Minor > Attachments: ZOOKEEPER-2467.patch, ZOOKEEPER-2467.patch > > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401815#comment-15401815 ] Joshi Shankar commented on ZOOKEEPER-2467: -- will do it.. Thanks :) > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.8, 3.5.2 > Environment: Linux , windows >Reporter: Joshi Shankar >Assignee: Joshi Shankar >Priority: Minor > Fix For: 3.4.9, 3.5.3 > > Attachments: ZOOKEEPER-2467.patch, ZOOKEEPER-2467.patch > > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshi Shankar updated ZOOKEEPER-2467: - Attachment: ZOOKEEPER-2467-1.patch > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.8, 3.5.2 > Environment: Linux , windows >Reporter: Joshi Shankar >Assignee: Joshi Shankar >Priority: Minor > Fix For: 3.4.9, 3.5.3 > > Attachments: ZOOKEEPER-2467-1.patch, ZOOKEEPER-2467.patch, > ZOOKEEPER-2467.patch > > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2467) NullPointerException when redo Command is passed negative value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshi Shankar updated ZOOKEEPER-2467: - Attachment: ZOOKEEPER-2467-final.patch > NullPointerException when redo Command is passed negative value > --- > > Key: ZOOKEEPER-2467 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2467 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.8, 3.5.2 > Environment: Linux , windows >Reporter: Joshi Shankar >Assignee: Joshi Shankar >Priority: Minor > Fix For: 3.4.9, 3.5.3 > > Attachments: ZOOKEEPER-2467-1.patch, ZOOKEEPER-2467-final.patch, > ZOOKEEPER-2467.patch, ZOOKEEPER-2467.patch > > > When negative value of argument is passed to redo command . > [zk: localhost:2181(CONNECTED) 0] redo -1 > Exception in thread "main" java.lang.NullPointerException > at java.util.StringTokenizer.(Unknown Source) > at java.util.StringTokenizer.(Unknown Source) > at > org.apache.zookeeper.ZooKeeperMain$MyCommandOptions.parseCommand(ZooKeeperMain.java:227) > at > org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:645) > at > org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:588) > at > org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:360) > at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323) > at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282) -- This message was sent by Atlassian JIRA (v6.3.4#6332)