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

Enis Soztutar commented on HADOOP-2113:
---------------------------------------

bq. I think I've explained this command poorly. It attempts to render whatever 
exists at a given path as human-readable text.
Himm, i guess i've just assumed that the file would be a SequenceFile, in which 
case the patch dumps all the contents of the file. But what i propose is more 
general for sequence files, but it lacks other file types. 

bq. aren't each of those commands easily implemented in map/reduce?
yes, they can be easily implemented as MR jobs, or local jobs, but the 
framework should include such jobs. 

Now understanding the original intention, I am OK with the current patch and I 
suggest we finalize this patch, and continue with Hadoop-175 for SF handling. 
We can later change SF dumping code(TextRecordInputStream) in Hadoop-175. 

> Add "-text" command to FsShell to decode SequenceFile to stdout
> ---------------------------------------------------------------
>
>                 Key: HADOOP-2113
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2113
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: 2113-0.patch
>
>
> FsShell should provide a command to examine SequenceFiles.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to