[ 
https://issues.apache.org/jira/browse/AMBARI-19617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830902#comment-15830902
 ] 

Hudson commented on AMBARI-19617:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6497 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/6497/])
AMBARI-19617 - Restarting Some Components During a Suspended Upgrade (jhurley: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d540f943da59d196b377a9e15fcd2e6dcb50483b])
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterEffectiveVersionTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ActiveWidgetLayoutResourceProviderTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UserResourceProviderTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContextFactory.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/stack/upgrade/StageWrapperBuilderTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/UpgradeContext.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UserAuthorizationResourceProviderTest.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/state/ConfigHelperTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java


> Restarting Some Components During a Suspended Upgrade Fails Due To Missing 
> Upgrade Parameters
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19617
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19617
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19617.patch
>
>
> While attempting to restart a component that has complicated upgrade logic, 
> the upgrade parameters are not sent to the agents. This can cause some 
> components to fails during a suspended upgrade restart. 
> Example:
> - Begin express upgrade from {{2.3.6.0-3796}} to {{2.5.3.0-37}}
> - {{HIVE_METASTORE}} couldn't start b/c of a missing Kerberos property:
> {code}
> resource_management.core.exceptions.Fail: Configuration parameter 
> 'hive.server2.authentication.kerberos.principal' was not found in 
> configurations dictionary!
> {code}
> - Chose to {{Ignore and Proceed}} which means that none of the Metastore SQL 
> files ran. 
> - Paused the upgrade (presumably at Finalize) and try to start Metastore. It 
> fails to start because the new HDP 2.5 bits are using a non-upgraded 
> database. That causes the {{-info}} option to fail and makes Ambari think it 
> needs to run {{-initSchema}}. 
> RCA: Metastore failed to start during upgrade and the admin chose to skip it. 
> This caused schema upgrade logic not to run. Ambari can examine the 
> {{upgrade_suspended}} property to determine if we need to run upgrade 
> commands while restarting Metastore during an upgrade. 
> However, it might be more prudent to simply send along the suspended upgrade 
> properties so that any actions which might need to happen (such as invoking 
> an upgrade script during the restart) can happen when the upgrade is 
> suspended.



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

Reply via email to