accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srikanth Viswanathan <srikant...@gmail.com>
Subject Redundant code in ZKAuthorizor::initializeSecurity ?
Date Thu, 19 Feb 2015 18:06:54 GMT
There appears to be redundant code in the ZKAuthorizor's
'initializeSecurity' method. It's initializing a bunch of permissions
that are unnecessary in the authorizor. The code seems to have been
replicated from ZKPermHandler. I'd be willing to submit a patch if
someone could confirm that I'm not missing something.

Code in question:

https://github.com/apache/accumulo/blob/master/server/base/src/main/java/org/apache/accumulo/server/security/handler/ZKAuthorizor.java

(lines 87-94 inclusive)

Thanks.

Srikanth

Mime
View raw message