Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12648

After Ambari server upgrade (from 1.6.1 to 2.1.0) WEBHCAT_SERVER does not appear as a component under HIVE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1
    • None
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: