[
https://issues.apache.org/jira/browse/ZOOKEEPER-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900724#comment-13900724
]
Hadoop QA commented on ZOOKEEPER-1673:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12628834/ZOOKEEPER-1673.patch
against trunk revision 1567660.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac
compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9)
warnings.
+1 release audit. The applied patch does not increase the total number of
release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1929//testReport/
Findbugs warnings:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1929//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1929//console
This message is automatically generated.
> Zookeeper don't support cidr in expression in ACL with ip scheme
> ----------------------------------------------------------------
>
> Key: ZOOKEEPER-1673
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1673
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.4.5
> Reporter: Lipin Dmitriy
> Priority: Minor
> Labels: auth
> Attachments: ZOOKEEPER-1673.patch, ZOOKEEPER-1673.patch,
> ZOOKEEPER-1673.patch
>
>
> Currently, when i try to set ACL with cidr in expression, i get exception:
> {code}
> [zk: localhost:2181(CONNECTED) 2] setAcl /AS0 ip:127.0.0.1/8:cdrwa
> Exception in thread "main"
> org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode =
> InvalidACL for /AS0
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:112)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
> at org.apache.zookeeper.ZooKeeper.setACL(ZooKeeper.java:1175)
> at
> org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:716)
> at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:581)
> at
> org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:353)
> at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:311)
> at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:270)
> {code}
> Also, there is no support for CIDR in IPAuthenticationProvider.isValid, but
> IPAuthenticationProvider.matches has it.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)