You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Patrick Angeles (JIRA)" <ji...@apache.org> on 2010/04/19 17:58:49 UTC
[jira] Created: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
FsShell 'hadoop fs -text' does not support compression codecs
-------------------------------------------------------------
Key: HADOOP-6714
URL: https://issues.apache.org/jira/browse/HADOOP-6714
Project: Hadoop Common
Issue Type: Improvement
Reporter: Patrick Angeles
Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Patrick Angeles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Angeles updated HADOOP-6714:
------------------------------------
Status: Patch Available (was: Open)
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-6714:
----------------------------------
Status: Resolved (was: Patch Available)
Hadoop Flags: [Reviewed]
Resolution: Fixed
+1
I committed this. Thanks, Patrick!
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Assignee: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869957#action_12869957 ]
Hudson commented on HADOOP-6714:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #260 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/260/])
HADOOP-6714. Resolve compressed files using CodecFactory in FsShell::text. Contributed by Patrick Angeles
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Assignee: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-6714:
--------------------------------
Attachment: hadoop-6714-20-1.patch
Patch for 20 attached.
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Assignee: Patrick Angeles
> Attachments: hadoop-6714-20-1.patch, HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Patrick Angeles (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Angeles updated HADOOP-6714:
------------------------------------
Attachment: HADOOP-6714.patch
Attaching simple patch to resolve a file decompressor on 'hadoop fs -text' before continuing with prior behavior.
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White reassigned HADOOP-6714:
---------------------------------
Assignee: Patrick Angeles
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Assignee: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871325#action_12871325 ]
Hudson commented on HADOOP-6714:
--------------------------------
Integrated in Hadoop-Common-trunk #346 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/346/])
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Assignee: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858612#action_12858612 ]
Hadoop QA commented on HADOOP-6714:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12442200/HADOOP-6714.patch
against trunk revision 934619.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/464/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/464/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/464/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/464/console
This message is automatically generated.
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859633#action_12859633 ]
Jeff Hammerbacher commented on HADOOP-6714:
-------------------------------------------
Sorry, linked an issue in the wrong window and can't figure out how to delete the link. This issue is in no way related to HDFS-1051.
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.