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 B5F241134A for ; Tue, 10 Jun 2014 05:02:02 +0000 (UTC) Received: (qmail 37193 invoked by uid 500); 10 Jun 2014 05:02:02 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 37095 invoked by uid 500); 10 Jun 2014 05:02:01 -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 37084 invoked by uid 99); 10 Jun 2014 05:02:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 05:02:01 +0000 Date: Tue, 10 Jun 2014 05:02:01 +0000 (UTC) From: "Varun Vasudev (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2137) Add support for logaggregation to a path on non-default filecontext 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-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026116#comment-14026116 ] Varun Vasudev commented on YARN-2137: ------------------------------------- No sorry. I should have been more clear. http://hadoop.apache.org/docs/r2.3.0/hadoop-yarn/hadoop-yarn-site/YarnCommands.html#logs - the "yarn logs" command is used to dump the logs that you aggregate on the remote log dir. Have you confirmed that it uses the right FileContext? > Add support for logaggregation to a path on non-default filecontext > ------------------------------------------------------------------- > > Key: YARN-2137 > URL: https://issues.apache.org/jira/browse/YARN-2137 > Project: Hadoop YARN > Issue Type: Improvement > Components: log-aggregation > Affects Versions: 2.4.0 > Reporter: Sumit Kumar > Attachments: YARN-2137.patch > > > Current log-aggregation implementation supports logaggregation to default filecontext only. This patch is to support logaggregation to any of the supported filesystems within hadoop eco-system (hdfs, s3, swiftfs etc). So for example a customer could use hdfs as default filesystem but use s3 or swiftfs for logaggregation. Current implementation makes mixed usages of FileContext+AbstractFileSystem apis as well as FileSystem apis which is confusing. > This patch does two things: > # moves logaggregation implementation to use only FileContext apis > # adds support for doing log aggregation on non-default filesystem as well. > # changes TestLogAggregationService to use local filesystem itself instead of mocking the behavior -- This message was sent by Atlassian JIRA (v6.2#6252)