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

KERBEROS_CLIENT version sometimes gets set for a host

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-agent, ambari-server
    • None

    Description

      KERBEROS_CLIENT has advertiseVersion=False. However version in hostcomponentstate and desired_version in servicecomponentdesiredstate sometimes get updated instead of remaining as 'UNKNOWN'

      select * from servicecomponentdesiredstate where component_name = 'KERBEROS_CLIENT';
      +-----------------+------------+---------------+--------------+------------------+------------------+-----------------+----+
      | component_name  | cluster_id | desired_state | service_name | desired_stack_id | recovery_enabled | desired_version | id |
      +-----------------+------------+---------------+--------------+------------------+------------------+-----------------+----+
      | KERBEROS_CLIENT |          2 | INSTALLED     | KERBEROS     |                3 |                0 | 2.2.6.0-2800    | 17 |
      +-----------------+------------+---------------+--------------+------------------+------------------+-----------------+----+
      1 row in set (0.00 sec)
      
      select * from hostcomponentstate where component_name = 'KERBEROS_CLIENT';
      +------------+-----------------+--------------+---------------+--------------+---------------+------------------+---------+------------------+-----+
      | cluster_id | component_name  | version      | current_state | service_name | upgrade_state | security_state   | host_id | current_stack_id | id  |
      +------------+-----------------+--------------+---------------+--------------+---------------+------------------+---------+------------------+-----+
      |          2 | KERBEROS_CLIENT | UNKNOWN      | INSTALLED     | KERBEROS     | NONE          | SECURED_KERBEROS |       1 |                3 |  11 |
      |          2 | KERBEROS_CLIENT | 2.2.6.0-2800 | INSTALLED     | KERBEROS     | NONE          | SECURED_KERBEROS |       2 |                3 |  38 |
      |          2 | KERBEROS_CLIENT | UNKNOWN      | INSTALLED     | KERBEROS     | NONE          | SECURED_KERBEROS |       3 |                3 |  62 |
      |          2 | KERBEROS_CLIENT | UNKNOWN      | INSTALLED     | KERBEROS     | NONE          | SECURED_KERBEROS |       4 |                3 |  84 |
      |          2 | KERBEROS_CLIENT | UNKNOWN      | INSTALLED     | KERBEROS     | NONE          | SECURED_KERBEROS |       5 |                3 | 107 |
      +------------+-----------------+--------------+---------------+--------------+---------------+------------------+---------+------------------+-----+
      5 rows in set (0.00 sec)
      

      Attachments

        1. AMBARI-17718.patch
          9 kB
          Jayush Luniya

        Activity

          People

            jluniya Jayush Luniya
            jluniya Jayush Luniya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: