Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19825

Metrics data is not getting collected for different services when AMS HTTPS is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      org.apache.hadoop.metrics2.impl.MetricsConfigException: Error creating plugin: org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink
              at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:203)
              at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.newSink(MetricsSystemImpl.java:529)
              at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configureSinks(MetricsSystemImpl.java:501)
              at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:480)
              at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:189)
              at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:164)
              at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:54)
              at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:50)
              at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2530)
              at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2435)
              at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2482)
              at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2622)
              at org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.start(SecureDataNodeStarter.java:77)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
      Caused by: java.lang.IllegalArgumentException: no SSLSocketFactory specified
              at javax.net.ssl.HttpsURLConnection.setSSLSocketFactory(HttpsURLConnection.java:357)
              at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.getSSLConnection(AbstractTimelineMetricsSink.java:284)
              at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.findLiveCollectorHostsFromKnownCollector(AbstractTimelineMetricsSink.java:440)
              at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.refreshCollectorsFromConfigured(AbstractTimelineMetricsSink.java:412)
              at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.findPreferredCollectHost(AbstractTimelineMetricsSink.java:352)
              at org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.init(HadoopTimelineMetricsSink.java:110)
              at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:199)
              ... 17 more
      

      Attachments

        1. AMBARI-19825-2.5.patch
          6 kB
          Aravindan Vijayan
        2. AMBARI-19825-trunk.patch
          5 kB
          Aravindan Vijayan

        Issue Links

          Activity

            People

              avijayan Aravindan Vijayan
              pradarttana Pradarttana
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: