You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/01/26 15:42:04 UTC

Review Request 30273: Downloads configuration files have not same values that files at nodes.

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Failed system tests with files diff for Tez, HDFS and YARN services:  
**Actual result:**  
difference between configs on host and downloaded through UI;

STR:  
1\. Login to UI  
2\. Go to the 'Hosts' tab  
3\. Click 'Host Actions' -> 'Download Client Configs'  
4\. Choose config for YARN/HIVE/ZOOKEEPER/OOZIE services  
5\. Go to host via ssh  
6\. Download corresponding files for YARN/HIVE/ZOOKEEPER/OOZIE  
7\. Compare them

**yarn-env.sh**
    
    
    2c2
    < export HADOOP_YARN_HOME=/usr/hdp/current/hadoop-yarn-nodemanager
    ---
    > export HADOOP_YARN_HOME=/usr/hdp/current/hadoop-yarn-client
    

**hive-site.xml :**
    
    
     1c1
    < <!--Fri Jan 23 06:29:37 2015-->
    ---
    > <!--Fri Jan 23 07:07:24 2015-->
    755,759d754
    <       <name>javax.jdo.option.ConnectionPassword</name>
    <       <value>password</value>
    <     </property>
    <     
    <     <property>

**oozie-env.sh :**
    
    
     6c6
    <   export CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-server/oozie-server}
    ---
    >   export CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-client/oozie-server}
    

*zookeeper-env.sh : *
    
    
    3c3
    < export ZOOKEEPER_HOME=/usr/hdp/current/zookeeper-server
    ---
    > export ZOOKEEPER_HOME=/usr/hdp/current/zookeeper-client
    


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java 6511369 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java dd18e8d 
  ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java 139dff6 
  ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java 805b498 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 30273: Downloads configuration files have not same values that files at nodes.

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30273/#review69603
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Січ. 26, 2015, 2:42 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30273/
> -----------------------------------------------------------
> 
> (Updated Січ. 26, 2015, 2:42 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-9249
>     https://issues.apache.org/jira/browse/AMBARI-9249
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Failed system tests with files diff for Tez, HDFS and YARN services:  
> **Actual result:**  
> difference between configs on host and downloaded through UI;
> 
> STR:  
> 1\. Login to UI  
> 2\. Go to the 'Hosts' tab  
> 3\. Click 'Host Actions' -> 'Download Client Configs'  
> 4\. Choose config for YARN/HIVE/ZOOKEEPER/OOZIE services  
> 5\. Go to host via ssh  
> 6\. Download corresponding files for YARN/HIVE/ZOOKEEPER/OOZIE  
> 7\. Compare them
> 
> **yarn-env.sh**
>     
>     
>     2c2
>     < export HADOOP_YARN_HOME=/usr/hdp/current/hadoop-yarn-nodemanager
>     ---
>     > export HADOOP_YARN_HOME=/usr/hdp/current/hadoop-yarn-client
>     
> 
> **hive-site.xml :**
>     
>     
>      1c1
>     < <!--Fri Jan 23 06:29:37 2015-->
>     ---
>     > <!--Fri Jan 23 07:07:24 2015-->
>     755,759d754
>     <       <name>javax.jdo.option.ConnectionPassword</name>
>     <       <value>password</value>
>     <     </property>
>     <     
>     <     <property>
> 
> **oozie-env.sh :**
>     
>     
>      6c6
>     <   export CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-server/oozie-server}
>     ---
>     >   export CATALINA_BASE=${CATALINA_BASE:-/usr/hdp/current/oozie-client/oozie-server}
>     
> 
> *zookeeper-env.sh : *
>     
>     
>     3c3
>     < export ZOOKEEPER_HOME=/usr/hdp/current/zookeeper-server
>     ---
>     > export ZOOKEEPER_HOME=/usr/hdp/current/zookeeper-client
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java 6511369 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java dd18e8d 
>   ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java 139dff6 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java 805b498 
> 
> Diff: https://reviews.apache.org/r/30273/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>