Andrew Onischuk created AMBARI-12648:
----------------------------------------

             Summary: After Ambari server upgrade (from 1.6.1 to 2.1.0) 
WEBHCAT_SERVER does not appear as a component under HIVE
                 Key: AMBARI-12648
                 URL: https://issues.apache.org/jira/browse/AMBARI-12648
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.1


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
    





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to