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 2016/02/11 11:32:30 UTC

Review Request 43478: YARN metrics not written due to permissions on metrics properties file

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43478/
-----------------------------------------------------------

Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


Bugs: AMBARI-15010
    https://issues.apache.org/jira/browse/AMBARI-15010


Repository: ambari


Description
-------

If env had umask setting of 027.
The hadoop-metrics2.properties was owned by "hdfs:root" with 640 permissions.
The ownership group needs to be "hadoop" so all hadoop daemons can read the properties file.


Diffs
-----

  ambari-server/src/main/resources/stacks/BIGTOP/0.8/hooks/before-START/scripts/shared_initialization.py 2d2331a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 85d8fec 
  ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/hook.py 00fc27f 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py da2b87f 

Diff: https://reviews.apache.org/r/43478/diff/


Testing
-------

----------------------------------------------------------------------
Ran 254 tests in 8.785s

OK
----------------------------------------------------------------------
Total run:900
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


Re: Review Request 43478: YARN metrics not written due to permissions on metrics properties file

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43478/#review118849
-----------------------------------------------------------


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Feb. 11, 2016, 10:32 a.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43478/
> -----------------------------------------------------------
> 
> (Updated Feb. 11, 2016, 10:32 a.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-15010
>     https://issues.apache.org/jira/browse/AMBARI-15010
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> If env had umask setting of 027.
> The hadoop-metrics2.properties was owned by "hdfs:root" with 640 permissions.
> The ownership group needs to be "hadoop" so all hadoop daemons can read the properties file.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/BIGTOP/0.8/hooks/before-START/scripts/shared_initialization.py 2d2331a 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 85d8fec 
>   ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/hook.py 00fc27f 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py da2b87f 
> 
> Diff: https://reviews.apache.org/r/43478/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 254 tests in 8.785s
> 
> OK
> ----------------------------------------------------------------------
> Total run:900
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>