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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Noticed this on a HA cluster where the dfsadmin fetch image call failed with a
403 error.

Fetch image call uses the value in dfs.cluster.administrators (hdfs-site.xml)
to determine who the admin is. That is set to group hdfs. Other dfsadmin calls
as user hdfs who belongs to group hadoop go through. But fetch image does not
as hdfs does not belong to group hadoop. We should either add hdfs user to
group hdfs or change this property to be set to group hadoop.


Diffs
-----

  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-site.xml
 8cad375 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
 3b23204 
  
ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py 
fe36f2e 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to