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 46B33175C0 for ; Mon, 9 Feb 2015 04:15:55 +0000 (UTC) Received: (qmail 69017 invoked by uid 500); 9 Feb 2015 00:15:55 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 68982 invoked by uid 500); 9 Feb 2015 00:15:55 -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 68971 invoked by uid 99); 9 Feb 2015 00:15:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 00:15:55 +0000 Date: Mon, 9 Feb 2015 00:15:54 +0000 (UTC) From: "Hudson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3143) RM Apps REST API can return NPE or entries missing id and other fields 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-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311660#comment-14311660 ] Hudson commented on YARN-3143: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #99 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/99/]) > RM Apps REST API can return NPE or entries missing id and other fields > ---------------------------------------------------------------------- > > Key: YARN-3143 > URL: https://issues.apache.org/jira/browse/YARN-3143 > Project: Hadoop YARN > Issue Type: Bug > Components: webapp > Affects Versions: 2.5.2 > Reporter: Kendall Thrapp > Assignee: Jason Lowe > Fix For: 2.7.0 > > Attachments: YARN-3143.001.patch > > > I'm seeing intermittent null pointer exceptions being returned by > the YARN Apps REST API. > For example: > {code} > http://{cluster}:{port}/ws/v1/cluster/apps?finalStatus=UNDEFINED > {code} > JSON Response was: > {code} > {"RemoteException":{"exception":"NullPointerException","javaClassName":"java.lang.NullPointerException"}} > {code} > At a glance appears to be only when we query for unfinished apps (i.e. finalStatus=UNDEFINED). > Possibly related, when I do get back a list of apps, sometimes one or more of the apps will be missing most of the fields, like id, name, user, etc., and the fields that are present all have zero for the value. > For example: > {code} > {"progress":0.0,"clusterId":0,"applicationTags":"","startedTime":0,"finishedTime":0,"elapsedTime":0,"allocatedMB":0,"allocatedVCores":0,"runningContainers":0,"preemptedResourceMB":0,"preemptedResourceVCores":0,"numNonAMContainerPreempted":0,"numAMContainerPreempted":0} > {code} > Let me know if there's any other information I can provide to help debug. -- This message was sent by Atlassian JIRA (v6.3.4#6332)