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

Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

yarn-default.xml suggests to use $\{yarn.resourcemanager.hostname\}:8032 as 
yarn.resourcemanager.address.

But Oozie service check fails if value contains a substitution placeholder 
'$\{yarn.resourcemanager.hostname\}'
{noformat}
resource_management.core.exceptions.Fail: Execution of 
'/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 ${yarn.resourcemanager.hostname}:8050 
hdfs://nameservice default' returned 1. /bin/bash: 
${yarn.resourcemanager.hostname}:8050: bad substitution
{noformat}


Diffs
-----

  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py
 45ffca2 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_service_check.py 
438539f 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py 
dab3230 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko

Reply via email to