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] [Updated] (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 updated HADOOP-7494:
-------------------------------------
    Labels:   (was: BB2015-05-TBR)

> 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.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)