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

Review request for Ambari, Mahadev Konar and Sumit Mohanty.


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


Repository: ambari


Description
-------

This is a bug in our code where we run the unless command as root. This does 
not show up in our test environment because the we allow all users to access 
hadoop unless there are specific perms in place. 
If the hadoop-policy file prevents root to access hadoop at all - which is a 
good thing; we we fail on CopyFromLocal and WebHCat will not restart.


Diffs
-----

  
ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
 d25dd8b 
  ambari-agent/src/test/python/resource_management/TestCopyFromLocal.py 7653b24 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/WEBHCAT/package/scripts/webhcat.py
 0c75d18 
  ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py 732b7e4 
  ambari-server/src/test/python/stacks/1.3.2/WEBHCAT/test_webhcat_server.py 
666d693 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py 732b7e4 

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


Testing
-------

----------------------------------------------------------------------
Ran 47 tests in 0.149s

OK

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [1.660s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.271s]
[INFO] Ambari Web ........................................ SUCCESS [8.598s]
[INFO] Ambari Views ...................................... SUCCESS [0.995s]
[INFO] Ambari Server ..................................... SUCCESS [23.914s]
[INFO] Ambari Agent ...................................... SUCCESS [9.514s]
[INFO] Ambari Client ..................................... SUCCESS [0.537s]
[INFO] ------------------------------------------------------------------------


Thanks,

Sid Wagle

Reply via email to