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 "Chris Douglas (JIRA)" <ji...@apache.org> on 2010/10/03 09:51:33 UTC

[jira] Created: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

NPE from SequenceFile::Writer.CompressionCodecOption
----------------------------------------------------

                 Key: HADOOP-6984
                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.22.0
            Reporter: Chris Douglas
            Priority: Minor


The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923831#action_12923831 ] 

Hudson commented on HADOOP-6984:
--------------------------------

Integrated in Hadoop-Common-trunk #489 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/489/])
    

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch, 6984-2.patch, 6984-3.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-6984:
----------------------------------

    Component/s:     (was: fs)
                 io

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch, 6984-2.patch, 6984-3.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-6984:
----------------------------------

    Attachment: 6984-1.patch

Collapsed CompressionTypeOption and CompressionCodecOption into a single Option type.

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923583#action_12923583 ] 

Hudson commented on HADOOP-6984:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #395 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/395/])
    

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch, 6984-2.patch, 6984-3.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-6984:
----------------------------------

    Status: Open  (was: Patch Available)

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Priority: Minor
>         Attachments: 6984-0.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-6984:
----------------------------------

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

This looks great. It passes unit tests.

I just committed this. Thanks, Chris!

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch, 6984-2.patch, 6984-3.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HADOOP-6984:
--------------------------------

    Fix Version/s:     (was: 0.21.1)
                   0.22.0

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-6984:
----------------------------------

    Attachment: 6984-0.patch

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Priority: Minor
>         Attachments: 6984-0.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HADOOP-6984:
--------------------------------

    Status: Patch Available  (was: Open)

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.21.1
>
>         Attachments: 6984-0.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-6984:
----------------------------------

    Attachment: 6984-2.patch

*nod* That does look cleaner.

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch, 6984-2.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-6984:
----------------------------------

    Attachment: 6984-3.patch

Merge with trunk

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch, 6984-2.patch, 6984-3.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917885#action_12917885 ] 

Owen O'Malley commented on HADOOP-6984:
---------------------------------------

I really like the second iteration of the patch, but maybe we could have compress(kind) and compress(kind, codec) instead of using compress(kind, null) for the default codec. The implementation could be the same.

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: 6984-0.patch, 6984-1.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HADOOP-6984:
--------------------------------

      Component/s: fs
    Fix Version/s: 0.21.1
         Assignee: Chris Douglas
     Hadoop Flags: [Reviewed]

+1

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.21.1
>
>         Attachments: 6984-0.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6984) NPE from SequenceFile::Writer.CompressionCodecOption

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-6984:
----------------------------------

    Status: Patch Available  (was: Open)

> NPE from SequenceFile::Writer.CompressionCodecOption
> ----------------------------------------------------
>
>                 Key: HADOOP-6984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6984
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Chris Douglas
>            Priority: Minor
>         Attachments: 6984-0.patch
>
>
> The deprecated HADOOP-6856 constructors can create a compressed writers with a null-wrapped {{CompressionCodecOption}}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.