hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2113) Add "-text" command to FsShell to decode SequenceFile to stdout
Date Sun, 28 Oct 2007 15:58:50 GMT

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

Enis Soztutar commented on HADOOP-2113:

bq. By "a more general set of tools", what did you have in mind?
I think of introducing a new command rather than using FsShell, such as 
bin/hadoop sf <command> <command_args>

and the set of commands would be : findkey, matchkey, dump, stats, etc .

For some jobs such as finding record given key/value, for example we may check whether sf
is a map file, for other commands like matchkey we may run a distributed grep. 

bq. Each of those seem like valuable operations, but piping the output through one's favorite
text-processing utility seems very usable.
Yes, indeed the outputs of some of the commands sould be dumped to stdout. We can add a filename
argument and use stdout if "-" is given. 

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

View raw message