[ 
https://issues.apache.org/jira/browse/AMBARI-21821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qin Liu updated AMBARI-21821:
-----------------------------
    Attachment: AMBARI-21821.patch

> Update Ambari Metrics service check to support HTTP SPNEGO authentication
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-21821
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21821
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-metrics
>    Affects Versions: trunk
>            Reporter: Qin Liu
>            Assignee: Qin Liu
>             Fix For: trunk
>
>         Attachments: AMBARI-21821.patch
>
>
> This is a subtask of AMBARI-14384 "Ambari Metrics doesn't use SPNEGO to 
> authenticate".
> In a Kerberos enabled cluster with SPNEGO enabled on Hadoop APIs, Ambari 
> Metrics Collector web-console will be Kerberos HTTP SPNEGO enabled too. But 
> Ambari Metrics service check currently does not support Kerberos HTTP SPNEGO 
> authentication.  
> 2017-08-24 16:13:44,078 - Ambari Metrics service check was started.
> 2017-08-24 16:13:44,109 - Generated metrics for host amshost.example.com :
> {
>   "metrics": [
>     {
>       "metricname": "AMBARI_METRICS.SmokeTest.FakeMetric",
>       "appid": "amssmoketestfake",
>       "hostname": "host.example.com",
>       "timestamp": 1503616424000,
>       "starttime": 1503616424000,
>       "metrics": {
>         "1503616424000": 0.164134766408,
>         "1503616425000": 1503616424000
>       }
>     }
>   ]
> }
> 2017-08-24 16:13:44,114 - Connecting (POST) to 
> amshost.example.com:6188/ws/v1/timeline/metrics/
> 2017-08-24 16:13:44,117 - Http response for host amshost.example.com: 401 
> Authentication required



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to