AMBARI-24744. Use Execution Command library (AMBARI-24712) in Ambari code base, wherever applicable.
What changes were proposed in this pull request?
AMBARI-24712 backported Execution Command Library from branch 'branch-feature-AMBARI-14714' to Ambari 2.8.0.
The current pull request uses the backported Execution Command in Ambari code.
How was this patch tested?
Ran UTs.
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4241/ Test FAILed. Test FAILured.
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4265/ Test FAILed. Test FAILured.
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4269/ Test FAILed. Test FAILured.
[AMBARI-24744. Use Execution Command library (AMBARI-24712) in Ambari …](/apache/ambari/pull/2446/commits/22cab2c31b0a4e9932bef536a89f493dc3b6e91b)…
ambari-agent UT was failing.
Fixed it.
$ mvn clean test -pl ambari-utility -pl ambari-agent
....
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [ 25.869 s]
[INFO] Ambari Agent 2.0.0.0-SNAPSHOT ...................... SUCCESS [ 37.064 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 min
[INFO] Finished at: 2018-10-16T23:12:35-07:00
[INFO] ------------------------------------------------------------------------
CC @jayush | @mradha25
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4308/ Test FAILed. Test FAILured.
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4386/ Test FAILed. Test FAILured.
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4387/ Test FAILed. Test FAILured.
Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4426/ Test PASSed.