Robert Ketcherside created AMBARI-13424:
-------------------------------------------

             Summary: preUpgradeCheck setting ineffective for NNHA in Ambari 
2.1.2
                 Key: AMBARI-13424
                 URL: https://issues.apache.org/jira/browse/AMBARI-13424
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.1.2
         Environment: Ambari 2.1.2, upgrading HDP 2.2.8 to 2.3.0.0.
Single CentOS VM running Ambari Server and Ambari Agent 2.1.2, and HDP.
The cluster has no NameNode HA enabled.
            Reporter: Robert Ketcherside


If the user disables preUpgradeCheck from the Experimental settings page, and 
then presses the "Perform Upgrade" button, they are immediately prompted with a 
preupgradecheck error, rather than proress of upgrade of HDFS. On Ambari 2.1.1, 
upgrade commenced and proceeded until the HDFS component itself encountered an 
error during upgrade.

This blocks rolling upgrade with Isilon. NameNode HA is not relevant. If the 
preupgradecheck is ignored with Isilon, upgrade should commence and then the 
HDFS upgrade step will complete. (eg, 2.1.0, 2.1.1.)

Here is the text within the box that appears (remember, this is with 
preUpgradeCheck disabled).

Error
500 status code received on POST method for API: 
/api/v1/clusters/Hello/upgrades 

Error message: An internal system exception occurred: Unable to perform 
upgrade. Prerequisite checks failed 
[{"type":{"name":"PreUpgradeCheck","ordinal":62},"propertiesMap":{"UpgradeChecks":{"check":"NameNode
 High Availability must be 
enabled","check_type":"SERVICE","cluster_name":"Hello","failed_detail":[],"failed_on":["HDFS"],"id":"SERVICES_NAMENODE_HA","reason":"NameNode
 High Availability is not enabled. Verify that dfs.nameservices property is 
present in 
hdfs-site.xml.","repository_version":"2.3.2.0-2950","status":"FAIL"}}}]






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

Reply via email to