Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBE0211474 for ; Sat, 3 May 2014 02:43:21 +0000 (UTC) Received: (qmail 29389 invoked by uid 500); 3 May 2014 02:43:17 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 29350 invoked by uid 500); 3 May 2014 02:43:16 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 29337 invoked by uid 99); 3 May 2014 02:43:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 May 2014 02:43:16 +0000 Date: Sat, 3 May 2014 02:43:16 +0000 (UTC) From: "Wangda Tan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-1201) TestAMAuthorization fails with local hostname cannot be resolved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wangda Tan updated YARN-1201: ----------------------------- Attachment: YARN-1201.patch Nice catch [~djp]! Thanks your comment, I've uploaded new patch addressed your comments. > TestAMAuthorization fails with local hostname cannot be resolved > ---------------------------------------------------------------- > > Key: YARN-1201 > URL: https://issues.apache.org/jira/browse/YARN-1201 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.1.0-beta > Environment: SUSE Linux Enterprise Server 11 (x86_64) > Reporter: Nemon Lou > Assignee: Wangda Tan > Priority: Minor > Attachments: YARN-1201.patch, YARN-1201.patch, YARN-1201.patch, YARN-1201.patch, YARN-1201.patch, YARN-1201.patch > > > When hostname is 158-1-131-10, TestAMAuthorization fails. > {code} > Running org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization > Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 14.034 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization > testUnauthorizedAccess[0](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 3.952 sec <<< ERROR! > java.lang.NullPointerException: null > at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:284) > testUnauthorizedAccess[1](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 3.116 sec <<< ERROR! > java.lang.NullPointerException: null > at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:284) > Results : > Tests in error: > TestAMAuthorization.testUnauthorizedAccess:284 NullPointer > TestAMAuthorization.testUnauthorizedAccess:284 NullPointer > Tests run: 4, Failures: 0, Errors: 2, Skipped: 0 > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)