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 C58E917B4D for ; Fri, 27 Mar 2015 18:13:54 +0000 (UTC) Received: (qmail 21623 invoked by uid 500); 27 Mar 2015 18:13:54 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 21574 invoked by uid 500); 27 Mar 2015 18:13:54 -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 21560 invoked by uid 99); 27 Mar 2015 18:13:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2015 18:13:54 +0000 Date: Fri, 27 Mar 2015 18:13:54 +0000 (UTC) From: "Mit Desai (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2890) MiniMRYarnCluster should turn on timeline service if configured to do so 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-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14384275#comment-14384275 ] Mit Desai commented on YARN-2890: --------------------------------- The test {{testTimelineServiceStartInMiniCluster}} includes the following scenarios. 1) Timeline service should not start if {{TIMELINE_SERVICE_ENABLED == false}} and {{enableAHS}} is not set 2) Timeline service should not start if {{TIMELINE_SERVICE_ENABLED == false}} and {{enableAHS == false}} 3) Timeline service should start if {{TIMELINE_SERVICE_ENABLED == true }}and {{enableAHS == false}} 4) Timeline service should start if {{TIMELINE_SERVICE_ENABLED == false}} and {{enableAHS == true}} Following scenarios not included: 1) {{TIMELINE_SERVICE_ENABLED == true}} and {{enableAHS}} is not set:: This case is already covered in the other tests in TestJobHistoryEventHandler 2) {{TIMELINE_SERVICE_ENABLED == true}} and {{enableAHS == true}}:: Timeline service will start if either of this is true. This case will be a duplicate of scenarios 3 and 4. > MiniMRYarnCluster should turn on timeline service if configured to do so > ------------------------------------------------------------------------ > > Key: YARN-2890 > URL: https://issues.apache.org/jira/browse/YARN-2890 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.6.0 > Reporter: Mit Desai > Assignee: Mit Desai > Attachments: YARN-2890.1.patch, YARN-2890.patch, YARN-2890.patch, YARN-2890.patch, YARN-2890.patch, YARN-2890.patch > > > Currently the MiniMRYarnCluster does not consider the configuration value for enabling timeline service before starting. The MiniYarnCluster should only start the timeline service if it is configured to do so. -- This message was sent by Atlassian JIRA (v6.3.4#6332)