[
https://issues.apache.org/jira/browse/AMBARI-15482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205114#comment-15205114
]
Hudson commented on AMBARI-15482:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4524 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4524/])
AMBARI-15482 - Restarting HDFS Before Upgrade Finalizing Does Not Supply
(jhurley:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8285e246c9788269985a21741bb3c354e8ab762b])
*
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
* ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java
* ambari-web/app/utils/ajax/ajax.js
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
*
ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_upgrade.py
*
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
*
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
* ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
*
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
> Restarting HDFS Before Upgrade Finalizing Does Not Supply the rollingUpgrade
> Flag
> ----------------------------------------------------------------------------------
>
> Key: AMBARI-15482
> URL: https://issues.apache.org/jira/browse/AMBARI-15482
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15482.patch
>
>
> During an upgrade, the HDFS NameNode(s) are restarted with the
> {{-rollingUpgrade}} flag. However, it's possible to get to the end of an
> upgrade and decide to "Finalize Later".
> This allows the cluster to run in the upgraded state before committing to the
> upgrade. Full cluster control is returned via the Ambari web client.
> Administrators can then decide to restart a NameNode. Upon restarting the
> NameNode, it will produce an error that it was not started with the
> {{rollingUpgrade}} flag.
> It seems that as long as an upgrade has not been finalized, the NameNode(s)
> must be started with the {{rollingUpgrade}} to allow them to function
> properly.
> STR:
> - Perform a rolling upgrade from HDP 2.2 to 2.3 (or 2.3 to 2.4); as long as
> there is a major version change.
> - Before finalization, say "Finalize Later". All services should be up and
> green.
> - Now restart a NameNode
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)