[
https://issues.apache.org/jira/browse/AMBARI-14384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798888#comment-15798888
]
Qin Liu commented on AMBARI-14384:
----------------------------------
Hi Dmytro,
It seems you haven't got a chance to work on Kerberos HTTP SPNEGO
authentication support for Hadoop sinks yet.
I have a patch for it and I am going to create a subtask of this task.
> Ambari Metrics doesn't use SPNEGO to authenticate
> -------------------------------------------------
>
> Key: AMBARI-14384
> URL: https://issues.apache.org/jira/browse/AMBARI-14384
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-metrics
> Affects Versions: 2.1.2
> Reporter: Ward Viaene
> Assignee: Dmytro Sen
> Fix For: 2.5.0
>
> Attachments: AMBARI-14384_2.patch
>
>
> * 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)