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 2667C200C05 for ; Mon, 19 Dec 2016 01:26:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23405160B30; Mon, 19 Dec 2016 00:26:05 +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 9B7C8160B36 for ; Mon, 19 Dec 2016 01:26:04 +0100 (CET) Received: (qmail 49685 invoked by uid 500); 19 Dec 2016 00:25:58 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 49554 invoked by uid 99); 19 Dec 2016 00:25:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2016 00:25:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8487B2C0057 for ; Mon, 19 Dec 2016 00:25:58 +0000 (UTC) Date: Mon, 19 Dec 2016 00:25:58 +0000 (UTC) From: "Xuan Gong (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5524) Yarn live log aggregation does not throw if command line arg is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Dec 2016 00:26:05 -0000 [ https://issues.apache.org/jira/browse/YARN-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15759755#comment-15759755 ] Xuan Gong commented on YARN-5524: --------------------------------- Upload a new patch to fix the issue. > Yarn live log aggregation does not throw if command line arg is wrong > --------------------------------------------------------------------- > > Key: YARN-5524 > URL: https://issues.apache.org/jira/browse/YARN-5524 > Project: Hadoop YARN > Issue Type: Sub-task > Components: log-aggregation > Affects Versions: 2.9.0 > Reporter: Prasanth Jayachandran > Assignee: Vrushali C > Attachments: YARN-5524.001.patch, YARN-5524.002.patch, YARN-5524.3.patch > > > When we used wrong command line arg for specify log file pattern, yarn did not throw any exception instead it pulled entire log onto the client. > {code} > [hive@ctr-e20-1468887904486-0007-01-000003 ~]$ yarn logs -applicationId application_1470931023753_0001 -logFiles hive.*2016-08-11-21.* > logs > {code} > NOTE: we are using -logFiles instead of -log_files > This query should have failed. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org