[
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
{noformat}
bin/hadoop sf <command> <command_args>
{noformat}
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.