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

Hive alert on secured cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server

    Description

      When Kerberos is enabled, Hive components show alerts due to the following error:

      WARNING 2015-03-16 06:01:08,253 base_alert.py:140 - [Alert][hive_metastore_process] Unable to execute alert. Execution of '/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa; ' returned 1. kinit: Keytab contains no suitable keys for ambari-qa@REALM while getting initial credentials
      

      This occurs because the alert logic for Hive uses cluster-env/smokeuser rather than cluster-env/smokeuser_principal_name to get the principal name for the smoke test identity.

      Attachments

        1. AMBARI-10101_branch-2.0.0_01.patch
          5 kB
          Robert Levas
        2. AMBARI-10101_trunk_01.patch
          5 kB
          Robert Levas

        Issue Links

          Activity

            People

              rlevas Robert Levas
              rlevas Robert Levas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: