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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

We should do the same thing as we do in HDP1. Create post-install hook to add
required files like hadoop-env.sh

Failure message:

    
    
    
    Fail: Execution of 'hadoop --config /etc/hadoop/conf dfsadmin -safemode get 
| grep OFF' returned 1. Error: JAVA_HOME is not set and could not be found.
    

Please consider
<del>[BUG-17943</del>](https://hortonworks.jira.com/browse/BUG-17943), to get
fixed.


Diffs
-----

  
ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py
 f169df8 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/params.py
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/templates/hadoop-env.sh.j2
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py
 7018e95 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
 bfaf8b8 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
 1daadf6 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/hadoop-env.sh.j2
 c55a5f7 
  
ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py
 09d277d 
  
ambari-server/src/test/python/stacks/2.0.6/hooks/after-INSTALL/test_after_install.py
 PRE-CREATION 
  
ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
 f77a0c7 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to