[ https://issues.apache.org/jira/browse/HADOOP-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555372#action_12555372 ]
Runping Qi commented on HADOOP-2501: ------------------------------------ bin/hadoop seq -head assumes the key/value classes implement toString() method? bin/hadoop seq -merge must check whether the key/value classes of the unput files are the same. It should report error if not. Should the merge utility offer an option to mainain the order of the keys in the results? > Implement utility-tools for working with SequenceFiles > ------------------------------------------------------ > > Key: HADOOP-2501 > URL: https://issues.apache.org/jira/browse/HADOOP-2501 > Project: Hadoop > Issue Type: New Feature > Components: io > Reporter: Arun C Murthy > > It would be nice to implement a bunch of utilities to work with SequenceFiles: > * info (print-out header information such as key/value types, compression > type/codec etc.) > * cat > * head/tail > * merge multiple seq-files into one > * ... > I'd imagine this would look like: > {noformat} > $ bin/hadoop seq -info /user/joe/blah.seq > $ bin/hadoop seq -head -n 10 /user/joe/blah.seq > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.