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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

**STR:**

  1. Deploy cluster w/ Storm, ZK, Nagios, Ganglia.
  2. Add HDFS service to the cluster.
  3. Click 'Restart All' for Storm.

**Result:** Tasks _Restart DRPC Server, Restart Storm REST API Server, Restart 
Supervisor_ failed with such stderr:
    
    
    Fail: User hdfs doesn't exist.
    Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', 
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py',
 'INSTALL', '/var/lib/ambari-agent/data/command-69.json', 
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL', 
'/var/lib/ambari-agent/data/structured-out-69.json', 'INFO', 
'/var/lib/ambari-agent/data/tmp']Error: Error: Unable to run the custom hook 
script ['/usr/bin/python2.6', 
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py',
 'START', '/var/lib/ambari-agent/data/command-69.json', 
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START', 
'/var/lib/ambari-agent/data/structured-out-69.json', 'INFO', 
'/var/lib/ambari-agent/data/tmp']
    


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
 156427d 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/after-INSTALL/scripts/hook.py
 cf83e19 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/after-INSTALL/scripts/params.py
 4ba0ea7 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/after-INSTALL/scripts/shared_initialization.py
 9c8d413 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-ANY/files/changeToSecureUid.sh
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-ANY/scripts/hook.py
 0f97e28 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-ANY/scripts/params.py
 af67cb6 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-ANY/scripts/shared_initialization.py
 74bdce0 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/files/changeToSecureUid.sh
 4872a10 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py
 372df02 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py
 e4a1135 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/hook.py
 04bdc16 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py
 ea8cdb5 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/params.py
 6e312ca 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
 47d01c7 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/files/changeToSecureUid.sh
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py
 0f97e28 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
 af67cb6 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
 74bdce0 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/files/changeToSecureUid.sh
 154c1c0 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py
 a8a5662 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py
 720777f 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py
 a18a776 
  
ambari-server/src/test/python/stacks/1.3.2/hooks/after-INSTALL/test_after_install.py
 2056168 
  
ambari-server/src/test/python/stacks/1.3.2/hooks/before-ANY/test_before_any.py 
bdf0fa4 
  
ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py
 4758630 
  
ambari-server/src/test/python/stacks/2.0.6/hooks/after-INSTALL/test_after_install.py
 228b403 
  
ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py 
d1c4e45 
  
ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
 ec4db47 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to