Master Detector uses the wrong ACL when auth is not required
------------------------------------------------------------
Key: MESOS-44
URL: https://issues.apache.org/jira/browse/MESOS-44
Project: Mesos
Issue Type: Bug
Components: master
Reporter: vinod Kone
Master detector uses the following ACL regardless of auth credentials:
static ACL _EVERYONE_READ_CREATOR_ALL_ACL[] = {
{ZOO_PERM_READ, ZOO_ANYONE_ID_UNSAFE},
{ZOO_PERM_ALL, ZOO_AUTH_IDS}
};
But this ACL doesn't work with the (default) ZK server when there are no auth
credentials provided.
2 ways to fix this:
1) Short term: Start the java ZK server with the flag "-Dzookeeper.skipACL=yes"
2) Long term: Fix the detector code, to use a different ACL
(ZOO_OPEN_ACL_UNSAFE) when no auth is provided. This is what the new replicated
log does.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira