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 "Harsh J (Commented) (JIRA)" <ji...@apache.org> on 2012/01/22 07:57:44 UTC

[jira] [Commented] (HADOOP-7795) add -n option for FSshell cat

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

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

Xie,

Have you ever needed this? How often have you come across data files on HDFS that you needed to get line number references of?

Given other tools out there already do this and -cat output can interface with them (well maybe a little inefficient but don't think it'd even matter), I'd not want to rebuild the whole of coreutils' cat featureset inside Hadoop.

I'm inclined to close this as won't fix unless I hear strong reasons on why we ought to be building this in.
                
> 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