You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gopinathan A (JIRA)" <ji...@apache.org> on 2012/07/02 17:06:35 UTC

[jira] [Created] (HBASE-6303) setCompression api need to support LZ4 in HColumnDescriptor

Gopinathan A created HBASE-6303:
-----------------------------------

             Summary: setCompression api need to support LZ4 in HColumnDescriptor
                 Key: HBASE-6303
                 URL: https://issues.apache.org/jira/browse/HBASE-6303
             Project: HBase
          Issue Type: Bug
          Components: io
    Affects Versions: 0.94.0, 0.96.0
            Reporter: Gopinathan A
            Priority: Minor
             Fix For: 0.96.0, 0.94.1


setCompression api need to support LZ4 in HColumnDescriptor

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405290#comment-13405290 ] 

stack commented on HBASE-6303:
------------------------------

Seems good to me Andrew.  So, if I specify CRAPPY instead of SNAPPY, all will seem well until we get a RuntimeException when we try to get the CRAPPY codec?  Fine by me.   
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

Posted by "Andrew Purtell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405311#comment-13405311 ] 

Andrew Purtell commented on HBASE-6303:
---------------------------------------

This doesn't change the semantics from before. You still must pass a valid enum constant to setCompressionType or there will be a compile time error. And you can currently set directly via setAttribute the compression type string to "CRAPPY" to get said runtime error.
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Andrew Purtell updated HBASE-6303:
----------------------------------

    Description: Let's not require an update to HCD every time the HFile compression enum is changed.  (was: setCompression api need to support LZ4 in HColumnDescriptor)
        Summary: HCD.setCompressionType should use Enum support for storing compression types as strings  (was: HCD.setCompression should use Enum support for storing compression types as strings)
    
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405319#comment-13405319 ] 

stack commented on HBASE-6303:
------------------------------

+1 then
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-6303) HCD.setCompression should use Enum support for storing compression types as strings

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

Andrew Purtell updated HBASE-6303:
----------------------------------

    Summary: HCD.setCompression should use Enum support for storing compression types as strings  (was: setCompression api need to support LZ4 in HColumnDescriptor)
    
> HCD.setCompression should use Enum support for storing compression types as strings
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>
> setCompression api need to support LZ4 in HColumnDescriptor

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Hudson commented on HBASE-6303:
-------------------------------

Integrated in HBase-0.94 #290 (See [https://builds.apache.org/job/HBase-0.94/290/])
    Amend HBASE-6303. Likewise for HCD.setCompactionCompressionType (Revision 1356569)
HBASE-6303. HCD.setCompressionType should use Enum support for storing compression types as strings (Revision 1356518)

     Result = SUCCESS
apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Andrew Purtell updated HBASE-6303:
----------------------------------

    Attachment: HBASE-6303-addendum-0.94.patch
                HBASE-6303-addendum-trunk.patch

Thanks for the reminder Gopinathan. Attached addendums to be committed.
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Hudson commented on HBASE-6303:
-------------------------------

Integrated in HBase-0.94-security #39 (See [https://builds.apache.org/job/HBase-0.94-security/39/])
    Amend HBASE-6303. Likewise for HCD.setCompactionCompressionType (Revision 1356569)
HBASE-6303. HCD.setCompressionType should use Enum support for storing compression types as strings (Revision 1356518)

     Result = SUCCESS
apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

apurtell : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Andrew Purtell updated HBASE-6303:
----------------------------------

    Attachment: HBASE-6303-0.94.patch
                HBASE-6303-trunk.patch
    
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Hudson commented on HBASE-6303:
-------------------------------

Integrated in HBase-TRUNK #3092 (See [https://builds.apache.org/job/HBase-TRUNK/3092/])
    Amend HBASE-6303. Likewise for HCD.setCompactionCompressionType (Revision 1356570)
HBASE-6303. HCD.setCompressionType should use Enum support for storing compression types as strings (Revision 1356517)

     Result = FAILURE
apurtell : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

apurtell : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

Posted by "Gopinathan A (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405616#comment-13405616 ] 

Gopinathan A commented on HBASE-6303:
-------------------------------------

Thanks Andrew.

+1 for patch
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Lars Hofhansl closed HBASE-6303.
--------------------------------

    
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.94.1, 0.96.0
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Hudson commented on HBASE-6303:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #78 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/78/])
    Amend HBASE-6303. Likewise for HCD.setCompactionCompressionType (Revision 1356570)
HBASE-6303. HCD.setCompressionType should use Enum support for storing compression types as strings (Revision 1356517)

     Result = FAILURE
apurtell : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

apurtell : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java

                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-addendum-0.94.patch, HBASE-6303-addendum-trunk.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-6303) setCompression api need to support LZ4 in HColumnDescriptor

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

Andrew Purtell reassigned HBASE-6303:
-------------------------------------

    Assignee: Andrew Purtell
    
> setCompression api need to support LZ4 in HColumnDescriptor
> -----------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>
> setCompression api need to support LZ4 in HColumnDescriptor

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

Posted by "Gopinathan A (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405609#comment-13405609 ] 

Gopinathan A commented on HBASE-6303:
-------------------------------------

@Andrew
Similar change is required in HCD.setCompactionCompressionType API also, y'day i thought of giving patch for both API, since jira was not up i couldn't.

https://issues.apache.org/jira/browse/HBASE-5838?focusedCommentId=13405083&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13405083
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-6303) HCD.setCompressionType should use Enum support for storing compression types as strings

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

Andrew Purtell resolved HBASE-6303.
-----------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Committed to trunk and 0.94 branches. Local tests all pass on 0.94. There were two unrelated failures when locally testing trunk:
{noformat}
Tests in error: 
  testRegionCaching(org.apache.hadoop.hbase.client.TestHCM): org.apache.hadoop.hbase.UnknownRegionException: c1ff13919389b3e0fa7a5335e546eba4
  queueFailover(org.apache.hadoop.hbase.replication.TestReplication): No server address listed in .META. for region test,vvv,1341262655700.d3ac82971a0f0c9798bdb425c0ae2f78. containing row vvv
{noformat}
                
> HCD.setCompressionType should use Enum support for storing compression types as strings
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-6303
>                 URL: https://issues.apache.org/jira/browse/HBASE-6303
>             Project: HBase
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: Gopinathan A
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: HBASE-6303-0.94.patch, HBASE-6303-trunk.patch
>
>
> Let's not require an update to HCD every time the HFile compression enum is changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira