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
            Priority: Trivial
             Fix For: 0.23.0


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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to