You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/08/23 08:39:22 UTC

Review Request 61842: Ensure topology_mappings.data has 0644 permissions

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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

In restricted umask environments, the topology_metadata.data file is created
but the permission bits are stripped off and that results in jobs running with
the default rack. A workaround is available to manually change permissions for
this file on each host, but it is not optimal.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py 548f051 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 4f62ace 


Diff: https://reviews.apache.org/r/61842/diff/1/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 61842: Ensure topology_mappings.data has 0644 permissions

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61842/#review183583
-----------------------------------------------------------


Ship it!




Ship It!

- Dmytro Sen


On Aug. 23, 2017, 8:39 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61842/
> -----------------------------------------------------------
> 
> (Updated Aug. 23, 2017, 8:39 a.m.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-21788
>     https://issues.apache.org/jira/browse/AMBARI-21788
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> In restricted umask environments, the topology_metadata.data file is created
> but the permission bits are stripped off and that results in jobs running with
> the default rack. A workaround is available to manually change permissions for
> this file on each host, but it is not optimal.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py 548f051 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 4f62ace 
> 
> 
> Diff: https://reviews.apache.org/r/61842/diff/1/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>