[ https://issues.apache.org/jira/browse/AMBARI-24812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hurley resolved AMBARI-24812. -------------------------------------- Resolution: Fixed > Implement New Upgrade Check Which Warns About Missing Plugin Checks > ------------------------------------------------------------------- > > Key: AMBARI-24812 > URL: https://issues.apache.org/jira/browse/AMBARI-24812 > Project: Ambari > Issue Type: Task > Affects Versions: 2.8.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Major > Labels: pull-request-available > Fix For: 2.8.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > AMBARI-24737 removed stack upgrade checks from being shipped with Ambari and > instead expects the stacks to deliver their own implementations. In the event > that an upgrade check is defined in an upgrade pack but cannot be found or > instantiated, there should be a warning displayed before allowing the upgrade > to proceed. > For example: > {code} > { > "href" : > "http://localhost:8080/api/v1/clusters/c1/rolling_upgrades_check/PLUGIN_CHECK_LOAD_FAILURE", > "UpgradeChecks" : { > "check" : "Plugin Upgrade Checks", > "check_type" : "CLUSTER", > "cluster_name" : "c1", > "failed_detail" : [ > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "ServicesYarnWorkPreservingCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "DruidHighAvailabilityCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "ServicesNamenodeHighAvailabilityCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "MapReduce2JobHistoryStatePreservingCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "YarnRMHighAvailabilityCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "ServicesMapReduceDistributedCacheCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "ServicesTezDistributedCacheCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "YarnTimelineServerStatePreservingCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "HiveMultipleMetastoreCheck" > }, > { > "package_name" : "org.apache.ambari.server.checks", > "class_name" : "SecondaryNamenodeDeletedCheck" > } > ], > "failed_on" : [ > "ServicesMapReduceDistributedCacheCheck", > "ServicesTezDistributedCacheCheck", > "SecondaryNamenodeDeletedCheck", > "YarnTimelineServerStatePreservingCheck", > "YarnRMHighAvailabilityCheck", > "DruidHighAvailabilityCheck", > "ServicesNamenodeHighAvailabilityCheck", > "HiveMultipleMetastoreCheck", > "MapReduce2JobHistoryStatePreservingCheck", > "ServicesYarnWorkPreservingCheck" > ], > "id" : "PLUGIN_CHECK_LOAD_FAILURE", > "reason" : "The following upgrade checks could not be loaded and were > not run. Although this will not stop your upgrade, it is advised that these > checks be corrected to ensure a successful upgrade.", > "repository_version_id" : 2, > "status" : "FAIL", > "upgrade_type" : "NON_ROLLING" > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)