[ 
https://issues.apache.org/jira/browse/AMBARI-17718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayush Luniya updated AMBARI-17718:
-----------------------------------
    Description: 
KERBEROS_CLIENT has advertiseVersion=False. However version in 
hostcomponentstate and desired_version in servicecomponentdesiredstate 
sometimes get updated instead of remaining as 'UNKNOWN'

{code}
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)
{code}



  was:
{code}
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)
{code}




> KERBEROS_CLIENT version sometimes gets set for a host
> -----------------------------------------------------
>
>                 Key: AMBARI-17718
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17718
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Jayush Luniya
>            Priority: Critical
>             Fix For: 2.4.0
>
>
> KERBEROS_CLIENT has advertiseVersion=False. However version in 
> hostcomponentstate and desired_version in servicecomponentdesiredstate 
> sometimes get updated instead of remaining as 'UNKNOWN'
> {code}
> 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)
> {code}



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

Reply via email to