You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by LionelCons <gi...@git.apache.org> on 2017/08/02 05:51:05 UTC

[GitHub] zookeeper pull request #324: ZOOKEEPER-2843: auth_to_local now supports read...

GitHub user LionelCons opened a pull request:

    https://github.com/apache/zookeeper/pull/324

    ZOOKEEPER-2843: auth_to_local now supports reading rules from a file

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/LionelCons/zookeeper ZOOKEEPER-2843

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/324.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #324
    
----
commit f2f67b5769e53a2147a6866d2121146031fa37ba
Author: Lionel Cons <li...@cern.ch>
Date:   2017-08-02T05:49:17Z

    ZOOKEEPER-2843: auth_to_local now supports reading rules from a file

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zookeeper issue #324: ZOOKEEPER-2843: auth_to_local now supports reading rul...

Posted by afine <gi...@git.apache.org>.
Github user afine commented on the issue:

    https://github.com/apache/zookeeper/pull/324
  
    I like the idea of keeping this info out of the `ps` output. +1 to what @hanm said, we should look to utilize the configuration we already have.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zookeeper issue #324: ZOOKEEPER-2843: auth_to_local now supports reading rul...

Posted by hanm <gi...@git.apache.org>.
Github user hanm commented on the issue:

    https://github.com/apache/zookeeper/pull/324
  
    I think we can just make zookeeper.security.auth_to_local a configuration option in zoo.cfg, so it could be loaded either from zoo.cfg (the static configuration file), or read from system property if available, rather than loading it from a random on disk file. This also conforms to what Hadoop is doing in terms of reading auth_to_local (Hadoop stores it in core-site.xml).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---