You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2015/06/25 02:14:06 UTC

[jira] [Assigned] (HADOOP-7494) Add -c option for FSshell -tail

     [ https://issues.apache.org/jira/browse/HADOOP-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masatake Iwasaki reassigned HADOOP-7494:
----------------------------------------

    Assignee: Masatake Iwasaki  (was: XieXianshan)

> 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
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-7494-v0.2.patch, HADOOP-7494-v0.3.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)