[ 
https://issues.apache.org/jira/browse/HADOOP-7795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153458#comment-13153458
 ] 

Harsh J commented on HADOOP-7795:
---------------------------------

I wonder if we really need this. Given the type of data mostly stored on HDFS, 
how useful is it to provide an internal ability to print line numbers?

It could be done, perhaps a small bit sub-optimally, by external programs using 
the output of fs-shell's -cat today.
                
> add -n option for FSshell cat
> -----------------------------
>
>                 Key: HADOOP-7795
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7795
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.24.0
>            Reporter: XieXianshan
>            Assignee: XieXianshan
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-7795.patch
>
>
> Add -n option for cat to display the files with line numbers.It's quite 
> useful if you're reading big files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to