[ https://issues.apache.org/jira/browse/AMBARI-24340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aravindan Vijayan resolved AMBARI-24340. ---------------------------------------- Resolution: Fixed > AMS Migration tools should auto-detect whitelist file > ----------------------------------------------------- > > Key: AMBARI-24340 > URL: https://issues.apache.org/jira/browse/AMBARI-24340 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.7.0 > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Critical > Labels: pull-request-available > Fix For: 2.7.1 > > Time Spent: 1h > Remaining Estimate: 0h > > In a default Ambari 2.7 cluster that has just completed HDP 2.6 to HDP 3.0 > upgrade, running the following command with no arguments fails: > {noformat} > # /usr/sbin/ambari-metrics-collector upgrade_start > {noformat} > This is the error in the logs: > {noformat} > 2018-07-12 13:47:05,373 INFO > org.apache.ambari.metrics.core.timeline.discovery.TimelineMetricMetadataManager: > Retrieved 9504, metadata objects from store. > 2018-07-12 13:47:05,517 INFO > org.apache.ambari.metrics.core.timeline.discovery.TimelineMetricMetadataManager: > Retrieved 5 host objects from store. > 2018-07-12 13:47:05,528 INFO > org.apache.ambari.metrics.core.timeline.upgrade.core.MetricsDataMigrationLauncher: > Looking for whitelisted metric names... > 2018-07-12 13:47:05,529 ERROR > org.apache.ambari.metrics.core.timeline.upgrade.core.MetricsDataMigrationLauncher: > No whitelisted metrics specified. Exiting... > 2018-07-12 13:47:05,530 ERROR > org.apache.ambari.metrics.core.timeline.upgrade.core.MetricsDataMigrationLauncher: > Exception during system setup, exiting... > java.lang.Exception: List of whitelisted metrics must be provided > at > org.apache.ambari.metrics.core.timeline.upgrade.core.MetricsDataMigrationLauncher.<init>(MetricsDataMigrationLauncher.java:113) > at > org.apache.ambari.metrics.core.timeline.upgrade.core.MetricsDataMigrationLauncher.main(MetricsDataMigrationLauncher.java:303) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)