Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 41BE617C49 for ; Thu, 25 Jun 2015 02:02:05 +0000 (UTC) Received: (qmail 90925 invoked by uid 500); 25 Jun 2015 02:02:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 90887 invoked by uid 500); 25 Jun 2015 02:02:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 90876 invoked by uid 99); 25 Jun 2015 02:02:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 02:02:04 +0000 Date: Thu, 25 Jun 2015 02:02:04 +0000 (UTC) From: "Masatake Iwasaki (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-7494) Add -c option for FSshell -tail 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/HADOOP-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Masatake Iwasaki updated HADOOP-7494: ------------------------------------- Attachment: HADOOP-7494.004.patch > Add -c option for FSshell -tail > ------------------------------- > > Key: HADOOP-7494 > URL: https://issues.apache.org/jira/browse/HADOOP-7494 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Affects Versions: 0.23.0 > Reporter: XieXianshan > Assignee: Masatake Iwasaki > Priority: Trivial > Attachments: HADOOP-7494-v0.2.patch, HADOOP-7494-v0.3.patch, HADOOP-7494.004.patch, HADOOP-7494.patch > > > Add the "-c" option for FSshell -tail to allow users to specify the output bytes(currently,it's -1024 by default). > For instance: > $ hdfs dfs -tail -c -10 /user/hadoop/xiexs > or > $ hdfs dfs -tail -c+10 /user/hadoop/xiexs -- This message was sent by Atlassian JIRA (v6.3.4#6332)