You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/08/05 15:47:15 UTC
Review Request 37131: After Ambari server upgrade (from 1.6.1 to
2.1.0) WEBHCAT_SERVER does not appear as a component under HIVE
-----------------------------------------------------------
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
Re: Review Request 37131: After Ambari server upgrade (from 1.6.1 to
2.1.0) WEBHCAT_SERVER does not appear as a component under HIVE
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37131/#review94245
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On Aug. 5, 2015, 1:47 p.m., Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37131/
> -----------------------------------------------------------
>
> (Updated Aug. 5, 2015, 1:47 p.m.)
>
>
> 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
>
>