[jira] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-12-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2468:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12821990/ZOOKEEPER-2468-0.2.patch
  against trunk revision cd0e323831c8b4cde64976325bfc79bb53cdd9b7.

+1 @author.  The patch does not contain any @author tags.

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

-1 patch.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3547//console

This message is automatically generated.

> 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
> Attachments: ZOOKEEPER-2468-0.1-patch, ZOOKEEPER-2468-0.2.patch
>
>
> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-12 Thread Arshad Mohammad (JIRA)

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

Arshad Mohammad commented on ZOOKEEPER-2468:


Thanks [~dandusv91] for working on this issue.
Patch is no applying becuase it is not created with --no-prefix option. Can you 
please create patch with bellow command, also could you try to write test case 
as well.
{{git diff --no-prefix HEAD > ZOOKEEPER-2468-03.patch}}

> 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
> Fix For: 3.4.8
>
> Attachments: ZOOKEEPER-2468-0.1-patch, ZOOKEEPER-2468-0.2.patch
>
>
> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-03 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2468:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12821990/ZOOKEEPER-2468-0.2.patch
  against trunk revision 1755100.

+1 @author.  The patch does not contain any @author tags.

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

-1 patch.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3322//console

This message is automatically generated.

> 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
> Fix For: 3.4.8
>
> Attachments: ZOOKEEPER-2468-0.1-patch, ZOOKEEPER-2468-0.2.patch
>
>
> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-01 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2468:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12821305/ZOOKEEPER-2468-0.1-patch
  against trunk revision 1754582.

+1 @author.  The patch does not contain any @author tags.

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

-1 patch.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3315//console

This message is automatically generated.

> 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
> Fix For: 3.4.8
>
> Attachments: ZOOKEEPER-2468-0.1-patch
>
>
> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-01 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-2468:
-

Could you guys agree, please? :-)

> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-01 Thread Joshi Shankar (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-01 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-2468:
-

Done, thanks [~dandusv91].

> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-08-01 Thread SREENIVASULUDANDU (JIRA)

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

SREENIVASULUDANDU commented on ZOOKEEPER-2468:
--

Hi , can some one assign that issue for me?

> 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
>
> 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] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-07-31 Thread SREENIVASULUDANDU (JIRA)

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

SREENIVASULUDANDU commented on ZOOKEEPER-2468:
--

Hi joshi, any update on this issue...?

> 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
>
> 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)