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 7CA27200BAA for ; Thu, 27 Oct 2016 12:13:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7B412160B01; Thu, 27 Oct 2016 10:13:01 +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 C30F1160AE4 for ; Thu, 27 Oct 2016 12:13:00 +0200 (CEST) Received: (qmail 85546 invoked by uid 500); 27 Oct 2016 10:13:00 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 85513 invoked by uid 99); 27 Oct 2016 10:12:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2016 10:12:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B8C912C1F5A for ; Thu, 27 Oct 2016 10:12:59 +0000 (UTC) Date: Thu, 27 Oct 2016 10:12:59 +0000 (UTC) From: "Prabhu Joseph (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-6464) mapred queue is throwing the NPE in case of the local framework MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Oct 2016 10:13:01 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prabhu Joseph updated MAPREDUCE-6464: ------------------------------------- Attachment: MAPREDUCE-6464-5.patch > mapred queue is throwing the NPE in case of the local framework > ---------------------------------------------------------------------- > > Key: MAPREDUCE-6464 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6464 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.7.1, 3.0.0-alpha1 > Environment: Linux > Reporter: Mohammad Shahid Khan > Assignee: Mohammad Shahid Khan > Priority: Minor > Attachments: MAPREDUCE-6464-1.patch, MAPREDUCE-6464-2.patch, MAPREDUCE-6464-3.patch, MAPREDUCE-6464-4.patch, MAPREDUCE-6464-5.patch > > > mapred queue is throwing the NPE in case of the local framework. > local framework does not support the same, so instead of throwing the NPE better we can give a meaning message. > stack trace > {CODE} > /mapred queue -showacls > 15/08/26 09:41:53 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id > 15/08/26 09:41:53 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId= > Exception in thread "main" java.lang.NullPointerException > at org.apache.hadoop.mapred.JobClient.getQueueAclsForCurrentUser(JobClient.java:1210) > at org.apache.hadoop.mapred.JobQueueClient.displayQueueAclsInfoForCurrentUser(JobQueueClient.java:201) > at org.apache.hadoop.mapred.JobQueueClient.run(JobQueueClient.java:110) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > at org.apache.hadoop.mapred.JobQueueClient.main(JobQueueClient.java:240) > {CODE} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org