Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 191B7200CFA for ; Tue, 5 Sep 2017 21:34:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 17A261609EC; Tue, 5 Sep 2017 19:34:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F4CA1609E0 for ; Tue, 5 Sep 2017 21:34:12 +0200 (CEST) Received: (qmail 78061 invoked by uid 500); 5 Sep 2017 19:34:10 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 78052 invoked by uid 99); 5 Sep 2017 19:34:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 19:34:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C1458182FF7 for ; Tue, 5 Sep 2017 19:34:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PMBW2sN92Elk for ; Tue, 5 Sep 2017 19:34:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 179D66103F for ; Tue, 5 Sep 2017 19:34:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2D565E0E4F for ; Tue, 5 Sep 2017 19:34:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 82CE02414F for ; Tue, 5 Sep 2017 19:34:00 +0000 (UTC) Date: Tue, 5 Sep 2017 19:34:00 +0000 (UTC) From: "Qin Liu (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21821) Update Ambari Metrics service check to support HTTP SPNEGO authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Sep 2017 19:34:13 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Qin Liu updated AMBARI-21821: ----------------------------- Attachment: (was: 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 > > > 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)