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

Ambari Metrics doesn't use SPNEGO to authenticate

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2
    • Fix Version/s: 3.0.0
    • Component/s: ambari-metrics
    • Labels:
      None

      Description

      • Kerberos enabled cluster
      • SPNEGO enabled on hadoop APIs

      /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out:
      2015-12-15 13:26:30,663 [INFO] emitter.py:101 - server: http://metrics-collector:6188/ws/v1/timeline/metrics
      2015-12-15 13:26:30,671 [WARNING] emitter.py:84 - Error sending metrics to server. HTTP Error 401: Authentication required
      2015-12-15 13:26:30,671 [WARNING] emitter.py:90 - Retrying after 5 ...

      The same problem appears to be happening on the sinks:

      • ambari/ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/AbstractTimelineMetricsSink.java
        • No SPNEGO support

        Attachments

        1. AMBARI-14384_2.patch
          6 kB
          Dmytro Sen

          Issue Links

            Activity

              People

              • Assignee:
                dsen Dmytro Sen
                Reporter:
                wardviaene Ward Viaene
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: