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 1DB881083D for ; Wed, 12 Feb 2014 09:57:34 +0000 (UTC) Received: (qmail 22704 invoked by uid 500); 12 Feb 2014 09:57:32 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 21862 invoked by uid 500); 12 Feb 2014 09:57:27 -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 21586 invoked by uid 99); 12 Feb 2014 09:57:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 09:57:22 +0000 Date: Wed, 12 Feb 2014 09:57:22 +0000 (UTC) From: "Hadoop QA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1578) Fix how to read history file in FileSystemApplicationHistoryStore 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-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898964#comment-13898964 ] Hadoop QA commented on YARN-1578: --------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12628457/YARN-1578-4.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-YARN-Build/3083//testReport/ Console output: https://builds.apache.org/job/PreCommit-YARN-Build/3083//console This message is automatically generated. > Fix how to read history file in FileSystemApplicationHistoryStore > ----------------------------------------------------------------- > > Key: YARN-1578 > URL: https://issues.apache.org/jira/browse/YARN-1578 > Project: Hadoop YARN > Issue Type: Sub-task > Affects Versions: YARN-321 > Reporter: Shinichi Yamashita > Assignee: Shinichi Yamashita > Attachments: YARN-1578-2.patch, YARN-1578-3.patch, YARN-1578-4.patch, YARN-1578.patch, application_1390978867235_0001, resoucemanager.log, screenshot.png, screenshot2.pdf > > > I carried out PiEstimator job at Hadoop cluster which applied YARN-321. > After the job end and when I accessed Web UI of HistoryServer, it displayed "500". And HistoryServer daemon log was output as follows. > {code} > 2014-01-09 13:31:12,227 ERROR org.apache.hadoop.yarn.webapp.Dispatcher: error handling URI: /applicationhistory/appattempt/appattempt_1389146249925_0008_000001 > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.yarn.webapp.Dispatcher.service(Dispatcher.java:153) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > (snip...) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.yarn.server.applicationhistoryservice.FileSystemApplicationHistoryStore.mergeContainerHistoryData(FileSystemApplicationHistoryStore.java:696) > at org.apache.hadoop.yarn.server.applicationhistoryservice.FileSystemApplicationHistoryStore.getContainers(FileSystemApplicationHistoryStore.java:429) > at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.getContainers(ApplicationHistoryManagerImpl.java:201) > at org.apache.hadoop.yarn.server.webapp.AppAttemptBlock.render(AppAttemptBlock.java:110) > (snip...) > {code} > I confirmed that there was container which was not finished from ApplicationHistory file. > In ResourceManager daemon log, ResourceManager reserved this container, but did not allocate it. > When FileSystemApplicationHistoryStore reads container information without finish data in history file, this problem occurs. > In consideration of the case which there is not finish data, we should fix how to read history file in FileSystemApplicationHistoryStore. -- This message was sent by Atlassian JIRA (v6.1.5#6160)