Re: Review Request 49985: SLES12: Oozie service check failed

2016-07-13 Thread Dmytro Sen

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


Ship it!




Ship It!

- Dmytro Sen


On Июль 13, 2016, 10:37 д.п., Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49985/
> ---
> 
> (Updated Июль 13, 2016, 10:37 д.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-17686
> https://issues.apache.org/jira/browse/AMBARI-17686
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> resource_management.core.exceptions.Fail: Execution of 
> '/var/lib/ambari-agent/tmp/oozieSmoke2.sh suse /usr/hdp/current/oozie-client 
> /usr/hdp/current/oozie-client/conf /usr/hdp/current/oozie-client/bin 
> http://dev-s12-ambari-slava-donotkill-3.openstacklocal:11000/oozie 
> /usr/hdp/current/oozie-client/doc /usr/hdp/current/hadoop-client/conf 
> /usr/hdp/current/hadoop-client/bin ambari-qa True 
> /etc/security/keytabs/smokeuser.headless.keytab /usr/bin/kinit 
> smokeuseraaapylorxzwqzf4h0y...@hwqe.hortonworks.com' returned 1. 
> /usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab 
> smokeuseraaapylorxzwqzf4h0y...@hwqe.hortonworks.com; source 
> /usr/hdp/current/oozie-client/conf/oozie-env.sh ; 
> /usr/hdp/current/oozie-client/bin/oozie -Doozie.auth.token.cache=false job 
> -oozie http://dev-s12-ambari-slava-donotkill-3.openstacklocal:11000/oozie 
> -config 
> /usr/hdp/current/oozie-client/doc/examples/apps/map-reduce/job.properties -run
> Error: E0504 : E0504: App directory 
> [${nameNode}/user/${user.name}/${examplesRoot}/apps/map-reduce/workflow.xml] 
> does not exist
> 
> 
> Caused because xmllint was not installed
> 
> 
> 
> 2016-07-13 08:13:27,770 - 
> Execute['/var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh 
> /usr/hdp/current/oozie-client/conf /usr/hdp/current/oozie-client/doc 
> /usr/hdp/current/hadoop-client/conf default'] {'logoutput': True, 'tries': 3, 
> 'try_sleep': 5}
> /var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh: line 29: 
> xmllint: command not found
> /var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh: line 29: 
> xmllint: command not found
> 
> 
> It's provided by libxml2-tools on SLES12.
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/prepareOozieHdfsDirectories.sh
>  38841ab 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
>  51c8965 
>   
> ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py
>  16a263a 
>   
> ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_service_check.py 
> cf7daf0 
>   ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py 
> 0ee3e11 
> 
> Diff: https://reviews.apache.org/r/49985/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Review Request 49985: SLES12: Oozie service check failed

2016-07-13 Thread Andrew Onischuk

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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
---

resource_management.core.exceptions.Fail: Execution of 
'/var/lib/ambari-agent/tmp/oozieSmoke2.sh suse /usr/hdp/current/oozie-client 
/usr/hdp/current/oozie-client/conf /usr/hdp/current/oozie-client/bin 
http://dev-s12-ambari-slava-donotkill-3.openstacklocal:11000/oozie 
/usr/hdp/current/oozie-client/doc /usr/hdp/current/hadoop-client/conf 
/usr/hdp/current/hadoop-client/bin ambari-qa True 
/etc/security/keytabs/smokeuser.headless.keytab /usr/bin/kinit 
smokeuseraaapylorxzwqzf4h0y...@hwqe.hortonworks.com' returned 1. /usr/bin/kinit 
-kt /etc/security/keytabs/smokeuser.headless.keytab 
smokeuseraaapylorxzwqzf4h0y...@hwqe.hortonworks.com; source 
/usr/hdp/current/oozie-client/conf/oozie-env.sh ; 
/usr/hdp/current/oozie-client/bin/oozie -Doozie.auth.token.cache=false job 
-oozie http://dev-s12-ambari-slava-donotkill-3.openstacklocal:11000/oozie 
-config 
/usr/hdp/current/oozie-client/doc/examples/apps/map-reduce/job.properties -run
Error: E0504 : E0504: App directory 
[${nameNode}/user/${user.name}/${examplesRoot}/apps/map-reduce/workflow.xml] 
does not exist


Caused because xmllint was not installed



2016-07-13 08:13:27,770 - 
Execute['/var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh 
/usr/hdp/current/oozie-client/conf /usr/hdp/current/oozie-client/doc 
/usr/hdp/current/hadoop-client/conf default'] {'logoutput': True, 'tries': 3, 
'try_sleep': 5}
/var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh: line 29: xmllint: 
command not found
/var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh: line 29: xmllint: 
command not found


It's provided by libxml2-tools on SLES12.


Diffs
-

  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/prepareOozieHdfsDirectories.sh
 38841ab 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
 51c8965 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py
 16a263a 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_service_check.py 
cf7daf0 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py 
0ee3e11 

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


Testing
---

mvn clean test


Thanks,

Andrew Onischuk