-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37131/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-12648
https://issues.apache.org/jira/browse/AMBARI-12648
Repository: ambari
Description
-------
Install Ambari-1.6.1 and deploy HIVE/WEBHCAT services. Upgrade to Ambari-2.1.0
and you will notice that:
* WEBHCAT_SERVER does not appear as a component on the HIVE dashboard
* There are no host components listed under HIVE/components/WEBHCAT
The reason is that while latest Ambari deleted WEBHCAT as a service, during
upgrade, the folders from the prior installation remain. This confuses the API
layer.
For example, this is the fix that was recommended to a customer.
To fix, remove the WEBHCAT service definition folders from `/var/lib/ambari-
server/resources/stacks/HDP` on the ambari-server host.
cd /var/lib/ambari-server/resources/stacks/HDP
find . -name WEBHCAT
./2.1/services/WEBHCAT
./2.1.GlusterFS/services/WEBHCAT
./2.0.6/services/WEBHCAT
./2.0/services/WEBHCAT
./2.0.6.GlusterFS/services/WEBHCAT
[root@smam161-1 HDP]# mv ./2.1/services/WEBHCAT /tmp/WEBHCAT-2.1
[root@smam161-1 HDP]# mv ./2.0/services/WEBHCAT /tmp/WEBHCAT-2.0
[root@smam161-1 HDP]# mv ./2.0.6/services/WEBHCAT /tmp/WEBHCAT-2.0.6
ambari-server restart
Diffs
-----
ambari-server/src/main/python/ambari_server/serverUpgrade.py abd9e84
Diff: https://reviews.apache.org/r/37131/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk