Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC069CA0F for ; Fri, 14 Mar 2014 17:28:56 +0000 (UTC) Received: (qmail 10312 invoked by uid 500); 14 Mar 2014 17:28:47 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 10258 invoked by uid 500); 14 Mar 2014 17:28:46 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 9989 invoked by uid 99); 14 Mar 2014 17:28:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 17:28:45 +0000 Date: Fri, 14 Mar 2014 17:28:45 +0000 (UTC) From: "Zhijie Shen (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-1835) History client service needs to be more robust MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Zhijie Shen created YARN-1835: --------------------------------- Summary: History client service needs to be more robust Key: YARN-1835 URL: https://issues.apache.org/jira/browse/YARN-1835 Project: Hadoop YARN Issue Type: Bug Reporter: Zhijie Shen Assignee: Zhijie Shen While doing the test, I've found the following issues so far: 1. The history file not found exception is exposed to the user directly, which is better to be caught and translated into ApplicationNotFound. 2. NPE will be exposed as well, since ApplicationHistoryManager doesn't do necessary null check. In addition, TestApplicationHistoryManagerImpl missed to test most ApplicationHistoryManager methods. -- This message was sent by Atlassian JIRA (v6.2#6252)