Dmitry Lysnichenko created AMBARI-14570:
-------------------------------------------

             Summary: Express Upgrade failed at Finalize Upgrade pre-check due 
to STS and Mahout version mismatch
                 Key: AMBARI-14570
                 URL: https://issues.apache.org/jira/browse/AMBARI-14570
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
         Attachments: AMBARI-14570.patch



*Steps*
# Setup HDP 2.3.4.0 (Dal M20) cluster with Ambari 2.2.1.0 (including spark 
service)
# Perform EU to Dal M21 (HDP-2.4.0.0-42)

EU reports failure at Finalize Upgrade pre-check with below error for 
SPARK_THRIFTSERVER :

{code}
The following components were found to have version mismatches.  Finalize will 
not complete successfully:
host-ora12-6.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485
host-ora12-4.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485
host-ora12-1.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485
host-ora12-2.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485
host-ora12-5.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485
{code}

>From DB found below:

{code}
select * from hostcomponentstate  where component_name = 'SPARK_THRIFTSERVER'
53.00   1.00    SPARK_THRIFTSERVER      2.3.4.0-3485    5.00    STARTED 3.00    
SPARK   NONE    UNKNOWN
54.00   1.00    SPARK_THRIFTSERVER      2.3.4.0-3485    5.00    STARTED 5.00    
SPARK   NONE    UNKNOWN
55.00   1.00    SPARK_THRIFTSERVER      2.3.4.0-3485    5.00    STARTED 4.00    
SPARK   NONE    UNKNOWN
56.00   1.00    SPARK_THRIFTSERVER      2.3.4.0-3485    5.00    STARTED 1.00    
SPARK   NONE    UNKNOWN
57.00   1.00    SPARK_THRIFTSERVER      2.3.4.0-3485    5.00    STARTED 2.00    
SPARK   NONE    UNKNOWN


select * from hostcomponentdesiredstate where component_name = 
'SPARK_THRIFTSERVER'
1.00    SPARK_THRIFTSERVER      3.00    STARTED 1.00    SPARK   INSERVICE       
OFF     UNSECURED       0.00
1.00    SPARK_THRIFTSERVER      3.00    STARTED 2.00    SPARK   INSERVICE       
OFF     UNSECURED       0.00
1.00    SPARK_THRIFTSERVER      3.00    STARTED 3.00    SPARK   INSERVICE       
OFF     UNSECURED       0.00
1.00    SPARK_THRIFTSERVER      3.00    STARTED 4.00    SPARK   INSERVICE       
OFF     UNSECURED       0.00
1.00    SPARK_THRIFTSERVER      3.00    STARTED 5.00    SPARK   INSERVICE       
OFF     UNSECURED       0.00

select * from stack where stack_id in (3,5)
3.00    HDP     2.4
5.00    HDP     2.3

{code}


EU reports failure at Finalize Upgrade pre-check with below error:
{code}
The following components were found to have version mismatches.  Finalize will 
not complete successfully:
host21unsecnr-6.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950
host21unsecnr-3.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950
host21unsecnr-1.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950
host21unsecnr-5.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950
host21unsecnr-2.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950
{code}

>From DB found below:

{code}
select * from hostcomponentstate where component_name = 'MAHOUT'

id      cluster_id      component_name  version current_stack_id        
current_state   host_id service_name    upgrade_state   security_state
116     2       MAHOUT  2.3.2.0-2950    2       INSTALLED       5       MAHOUT  
NONE    UNKNOWN
117     2       MAHOUT  2.3.2.0-2950    2       INSTALLED       3       MAHOUT  
NONE    UNKNOWN
118     2       MAHOUT  2.3.2.0-2950    2       INSTALLED       4       MAHOUT  
NONE    UNKNOWN
119     2       MAHOUT  2.3.2.0-2950    2       INSTALLED       1       MAHOUT  
NONE    UNKNOWN
120     2       MAHOUT  2.3.2.0-2950    2       INSTALLED       2       MAHOUT  
NONE    UNKNOWN

select * from hostcomponentdesiredstate where component_name = 'MAHOUT'

cluster_id      component_name  desired_stack_id        desired_state   host_id 
service_name    admin_state     maintenance_state       security_state  
restart_required
2       MAHOUT  1       INSTALLED       1       MAHOUT  NULL    OFF     
UNSECURED       0
2       MAHOUT  1       INSTALLED       2       MAHOUT  NULL    OFF     
UNSECURED       0
2       MAHOUT  1       INSTALLED       3       MAHOUT  NULL    OFF     
UNSECURED       0
2       MAHOUT  1       INSTALLED       4       MAHOUT  NULL    OFF     
UNSECURED       0
2       MAHOUT  1       INSTALLED       5       MAHOUT  NULL    OFF     
UNSECURED       0

select * from stack where stack_id in (1,2)
stack_id        stack_name      stack_version
1       HDP     2.4
2       HDP     2.3

{code}





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

Reply via email to