[
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