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 13912200B32 for ; Wed, 8 Jun 2016 17:13:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 12626160A2E; Wed, 8 Jun 2016 15:13:28 +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 640F4160A35 for ; Wed, 8 Jun 2016 17:13:27 +0200 (CEST) Received: (qmail 93686 invoked by uid 500); 8 Jun 2016 15:13:21 -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 93450 invoked by uid 99); 8 Jun 2016 15:13:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 15:13:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3E6622C1F72 for ; Wed, 8 Jun 2016 15:13:21 +0000 (UTC) Date: Wed, 8 Jun 2016 15:13:21 +0000 (UTC) From: "Sunil G (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5208) Run TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMAuthorization tests with hadoop.security.token.service.use_ip enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 08 Jun 2016 15:13:28 -0000 [ https://issues.apache.org/jira/browse/YARN-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320721#comment-15320721 ] Sunil G commented on YARN-5208: ------------------------------- In that case do we need the null check. That was a slightly confusing. > Run TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMAuthorization tests with hadoop.security.token.service.use_ip enabled > --------------------------------------------------------------------------------------------------------------------------------------------- > > Key: YARN-5208 > URL: https://issues.apache.org/jira/browse/YARN-5208 > Project: Hadoop YARN > Issue Type: Test > Components: test > Reporter: Rohith Sharma K S > Assignee: Rohith Sharma K S > Priority: Blocker > Labels: test > Attachments: 0001-YARN-5208.patch, 0002-YARN-5208.patch, 0003-YARN-5208.patch, 0004-YARN-5208.patch > > > All YARN test cases are running with *hadoop.security.token.service.use_ip* disabled. As a result few tests {{TestAMRMClient TestNMClient TestYarnClient TestClientRMTokens TestAMRMTokens}} cases are consistently failing because of unable to resolve hostname(see HADOOP-12687 YARN-4306 YARN-4318) > I would suggest to run tests with *hadoop.security.token.service.use_ip* enabled by default. And for the HA test cases which require mandatory disabling , change test cases as required by setting > {code} > conf.setBoolean( > CommonConfigurationKeys.HADOOP_SECURITY_TOKEN_SERVICE_USE_IP, false); > SecurityUtil.setConfiguration(conf); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org