-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29946/
-----------------------------------------------------------
Review request for Ambari, Nate Cole and Tom Beerbower.
Bugs: AMBARI-9160
https://issues.apache.org/jira/browse/AMBARI-9160
Repository: ambari
Description
-------
During a rolling upgrade, service components and clients call {{hdp-select}} to
set the new version and update symlinks in {{/usr/hdp/current}}.
There is a problem in that {{/usr/hdp/current/hadoop-client}} may never be run
if there are non-HDFS/YARN/MapR clients installed on a host. Essentially,
components always call
{noformat}
hdp-select set oozie-client 2.2.1.0-1234
{noformat}
Where the component name is scoped correctly (falcon-client, etc)
{{/usr/hdp/current/hadoop-client}} however does not have an associated client.
Therefore, the
{{<group name="CLIENTS" title="Client Components">}} group in the upgrade pack
should call the following:
{noformat}
hdp-select set client 2.2.1.0-1234
{noformat}
Diffs
-----
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_client.py
b00a82e
ambari-server/src/main/resources/common-services/SLIDER/0.60.0.2.2/package/scripts/slider_client.py
ca74c35
ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py b352d90
ambari-server/src/test/python/stacks/2.2/SLIDER/test_slider_client.py 0b5cdd1
Diff: https://reviews.apache.org/r/29946/diff/
Testing
-------
Manual test of upgrading a cluster with lots of services and clients; verifed
that hadoop-client symlink was correct on all hosts
-----------------------------------------------------------------------
Total run:583
Total errors:0
Total failures:0
OK
Thanks,
Jonathan Hurley