[ http://issues.apache.org/jira/browse/HADOOP-845?page=comments#action_12461152 ] Hairong Kuang commented on HADOOP-845: --------------------------------------
Weilei's patch seems to implement zcat. You may refer to the method getRecordReader in hadoop.org.apache.mapred.TextInputFormat.java for a general implementation of zcat. > DFS -get and DFS -cat on a zip file generate different output > ------------------------------------------------------------- > > Key: HADOOP-845 > URL: http://issues.apache.org/jira/browse/HADOOP-845 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.9.1 > Reporter: Mahadev konar > Priority: Minor > Attachments: patch.txt > > > dfs -get file.gz localfile.gz and dfs -cat file.gz > /tmp/file.gz generate > different output. dfs -get geenreates corect output but dfs -cat does not > geenerate the right ouput. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
