You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/03/09 20:44:58 UTC
Review Request 31868: Worker Process cannot create logs in
/var/log/storm
when supervisor.run.worker.as.user is set to true in kerberized Storm Cluster
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31868/
-----------------------------------------------------------
Review request for Ambari, Mahadev Konar and Vitalyi Brodetskyi.
Bugs: AMBARI-9988
https://issues.apache.org/jira/browse/AMBARI-9988
Repository: ambari
Description
-------
PROBLEM: On a kerberized Storm cluster after enabling supervisor.run.worker.as.user = true, the worker logs cannot be written to /var/log/storm due to permissions.
root@falconf1 scripts# grep -C3 777 storm.py
Directory(params.log_dir,
owner=params.storm_user,
group=params.user_group,
mode=0777,
recursive=True
)
Restarted Ambari server and checked directory permissions.
Diffs
-----
ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py b5b967e
ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py 3f68715
Diff: https://reviews.apache.org/r/31868/diff/
Testing
-------
all tests passed
Thanks,
Dmytro Sen
Re: Review Request 31868: Worker Process cannot create logs in
/var/log/storm when supervisor.run.worker.as.user is set to true in
kerberized Storm Cluster
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31868/#review75753
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On March 9, 2015, 7:44 p.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31868/
> -----------------------------------------------------------
>
> (Updated March 9, 2015, 7:44 p.m.)
>
>
> Review request for Ambari, Mahadev Konar and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-9988
> https://issues.apache.org/jira/browse/AMBARI-9988
>
>
> Repository: ambari
>
>
> Description
> -------
>
> PROBLEM: On a kerberized Storm cluster after enabling supervisor.run.worker.as.user = true, the worker logs cannot be written to /var/log/storm due to permissions.
> root@falconf1 scripts# grep -C3 777 storm.py
> Directory(params.log_dir,
> owner=params.storm_user,
> group=params.user_group,
> mode=0777,
> recursive=True
> )
> Restarted Ambari server and checked directory permissions.
>
>
> Diffs
> -----
>
> ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py b5b967e
> ambari-server/src/test/python/stacks/2.1/STORM/test_storm_base.py 3f68715
>
> Diff: https://reviews.apache.org/r/31868/diff/
>
>
> Testing
> -------
>
> all tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>