From yarn-issues-return-145746-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue May 22 06:35:26 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A2D16180638 for ; Tue, 22 May 2018 06:35:25 +0200 (CEST) Received: (qmail 41414 invoked by uid 500); 22 May 2018 04:35:24 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 41403 invoked by uid 99); 22 May 2018 04:35:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2018 04:35:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EE6CCC0DE8 for ; Tue, 22 May 2018 04:16:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id F1FI-3Sh7dd1 for ; Tue, 22 May 2018 04:16:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A68115F5B7 for ; Tue, 22 May 2018 04:16:01 +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 C7DBDE0FE8 for ; Tue, 22 May 2018 04:16:00 +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 33618217AA for ; Tue, 22 May 2018 04:16:00 +0000 (UTC) Date: Tue, 22 May 2018 04:16:00 +0000 (UTC) From: "Yongjun Zhang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-8108) RM metrics rest API throws GSSException in kerberized environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-8108?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16483= 464#comment-16483464 ]=20 Yongjun Zhang edited comment on YARN-8108 at 5/22/18 4:15 AM: -------------------------------------------------------------- Hi [~eyang] and [~kbadani], Would you please confirm that this jira is a blocker for 3.0.3 release? If = so, can we expedite the work here since we are in the process of preparing = 3.0.3 release? Thanks a lot. was (Author: yzhangal): Hi Guys, Would you please confirm that this jira is a blocker for 3.0.3 release? If = so, can we expedite the work here since we are in the process of preparing = 3.0.3 release? Thanks a lot. > RM metrics rest API throws GSSException in kerberized environment > ----------------------------------------------------------------- > > Key: YARN-8108 > URL: https://issues.apache.org/jira/browse/YARN-8108 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Kshitij Badani > Assignee: Eric Yang > Priority: Blocker > Attachments: YARN-8108.001.patch > > > Test is trying to pull up metrics data from SHS after kiniting as 'test_u= ser' > It is throwing GSSException as follows > {code:java} > b2b460b80713|RUNNING: curl --silent -k -X GET -D /hwqe/hadoopqe/artifacts= /tmp-94845 --negotiate -u : http://rm_host:8088/proxy/application_151867495= 2153_0070/metrics/json2018-02-15 07:15:48,757|INFO|MainThread|machine.py:19= 4 - run()||GUID=3Dfc5a3266-28f8-4eed-bae2-b2b460b80713|Exit Code: 0 > 2018-02-15 07:15:48,758|INFO|MainThread|spark.py:1757 - getMetricsJsonDat= a()|metrics: > > > > Error 403 GSSException: Failure unspecified at GSS-API level (Mech= anism level: Request is a replay (34)) > >

HTTP ERROR 403

>

Problem accessing /proxy/application_1518674952153_0070/metrics/json. = Reason: >

 GSSException: Failure unspecified at GSS-API level (Mechanism level=
: Request is a replay (34))

> > > {code} > Rootcausing :=C2=A0proxyserver on RM can't be supported for Kerberos enab= led cluster because AuthenticationFilter is applied twice in Hadoop code (o= nce in httpServer2 for RM, and another instance from AmFilterInitializer fo= r proxy server). This will require code changes to hadoop-yarn-server-web-p= roxy project -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org