You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2006/12/05 00:42:25 UTC

[jira] Created: (HADOOP-779) Hadoop streaming does work with gzipped input

Hadoop streaming does work with gzipped input
---------------------------------------------

                 Key: HADOOP-779
                 URL: http://issues.apache.org/jira/browse/HADOOP-779
             Project: Hadoop
          Issue Type: Bug
          Components: contrib/streaming
    Affects Versions: 0.9.0
            Reporter: Hairong Kuang
         Assigned To: Hairong Kuang
             Fix For: 0.10.0


When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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

        

[jira] Updated: (HADOOP-779) Hadoop streaming does not work with gzipped input

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-779?page=all ]

Hairong Kuang updated HADOOP-779:
---------------------------------

    Summary: Hadoop streaming does not work with gzipped input  (was: Hadoop streaming does work with gzipped input)

> Hadoop streaming does not work with gzipped input
> -------------------------------------------------
>
>                 Key: HADOOP-779
>                 URL: http://issues.apache.org/jira/browse/HADOOP-779
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.9.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.10.0
>
>         Attachments: GzipIn.patch
>
>
> When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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

        

[jira] Commented: (HADOOP-779) Hadoop streaming does not work with gzipped input

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-779?page=comments#action_12455467 ] 
            
Hadoop QA commented on HADOOP-779:
----------------------------------

+1, http://issues.apache.org/jira/secure/attachment/12346382/GzipIn.patch applied and successfully tested against trunk revision 482415

> Hadoop streaming does not work with gzipped input
> -------------------------------------------------
>
>                 Key: HADOOP-779
>                 URL: http://issues.apache.org/jira/browse/HADOOP-779
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.9.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.10.0
>
>         Attachments: GzipIn.patch
>
>
> When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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

        

[jira] Updated: (HADOOP-779) Hadoop streaming does not work with gzipped input

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-779?page=all ]

Doug Cutting updated HADOOP-779:
--------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

I just committed this.  Thanks, Hairong!

> Hadoop streaming does not work with gzipped input
> -------------------------------------------------
>
>                 Key: HADOOP-779
>                 URL: http://issues.apache.org/jira/browse/HADOOP-779
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.9.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.9.1
>
>         Attachments: GzipIn.patch
>
>
> When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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

        

[jira] Updated: (HADOOP-779) Hadoop streaming does not work with gzipped input

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-779?page=all ]

Doug Cutting updated HADOOP-779:
--------------------------------

    Fix Version/s: 0.9.1
                       (was: 0.10.0)

> Hadoop streaming does not work with gzipped input
> -------------------------------------------------
>
>                 Key: HADOOP-779
>                 URL: http://issues.apache.org/jira/browse/HADOOP-779
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.9.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.9.1
>
>         Attachments: GzipIn.patch
>
>
> When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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

        

[jira] Updated: (HADOOP-779) Hadoop streaming does work with gzipped input

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-779?page=all ]

Hairong Kuang updated HADOOP-779:
---------------------------------

    Status: Patch Available  (was: Open)

The patch fixes the described bug. In addition, it does the following:
1. clean up "next" function of StreamLineRecordReader
2. add a junit test for gzipped input
3. restructure the junit test TestStreaming
4. turn on the debug option for streaming test cases in build-contrib.xml

> Hadoop streaming does work with gzipped input
> ---------------------------------------------
>
>                 Key: HADOOP-779
>                 URL: http://issues.apache.org/jira/browse/HADOOP-779
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.9.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.10.0
>
>         Attachments: GzipIn.patch
>
>
> When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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

        

[jira] Updated: (HADOOP-779) Hadoop streaming does work with gzipped input

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-779?page=all ]

Hairong Kuang updated HADOOP-779:
---------------------------------

    Attachment: GzipIn.patch

Here is the patch

> Hadoop streaming does work with gzipped input
> ---------------------------------------------
>
>                 Key: HADOOP-779
>                 URL: http://issues.apache.org/jira/browse/HADOOP-779
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.9.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.10.0
>
>         Attachments: GzipIn.patch
>
>
> When input files are gzipped, StreamLineRecordReader does not take the corect OutputStream to fetch the next record. Instead of using a GzipOutputStream, it uses a FSOutputStream. So input files are read as uncompressed plain text.

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