ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 21774: Hdfs service check fails on clieny-only node (when no starts are executed) on HDP2.
Date Thu, 22 May 2014 15:01:37 GMT

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

(Updated May 22, 2014, 3:01 p.m.)


Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description (updated)
-------

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.


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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message