You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2018/07/23 17:35:00 UTC

[jira] [Created] (AMBARI-24340) AMS Migration tools should auto-detect whitelisting

Aravindan Vijayan created AMBARI-24340:
------------------------------------------

             Summary: AMS Migration tools should auto-detect whitelisting
                 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
             Fix For: 2.7.1


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)