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 30F7D200BEF for ; Wed, 4 Jan 2017 18:58:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 30CBF160B21; Wed, 4 Jan 2017 17:58:00 +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 526CD160B44 for ; Wed, 4 Jan 2017 18:57:59 +0100 (CET) Received: (qmail 48597 invoked by uid 500); 4 Jan 2017 17:57:58 -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 48566 invoked by uid 99); 4 Jan 2017 17:57:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 17:57:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 62D262C1F56 for ; Wed, 4 Jan 2017 17:57:58 +0000 (UTC) Date: Wed, 4 Jan 2017 17:57:58 +0000 (UTC) From: "Qin Liu (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14384) Ambari Metrics doesn't use SPNEGO to authenticate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 Jan 2017 17:58:00 -0000 [ 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)