[
https://issues.apache.org/jira/browse/HBASE-21732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744391#comment-16744391
]
Hudson commented on HBASE-21732:
--------------------------------
Results for branch branch-2
[build #1615 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1615/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1615//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1615//JDK8_Nightly_Build_Report_(Hadoop2)/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1615//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Should call toUpperCase before using Enum.valueOf in some methods for
> ColumnFamilyDescriptor
> --------------------------------------------------------------------------------------------
>
> Key: HBASE-21732
> URL: https://issues.apache.org/jira/browse/HBASE-21732
> Project: HBase
> Issue Type: Bug
> Components: Client
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Critical
> Fix For: 3.0.0, 2.2.0, 2.1.3, 2.0.5
>
> Attachments: HBASE-21732.patch
>
>
> When upgrading we faced a problem that the some regions can not be opened due
> to the region server can not recognize the lower case 'snappy' config. In
> code for branch-1, we have done this
> {code}
> public Compression.Algorithm getCompression() {
> String n = getValue(COMPRESSION);
> if (n == null) {
> return Compression.Algorithm.NONE;
> }
> return Compression.Algorithm.valueOf(n.toUpperCase(Locale.ROOT));
> }
> {code}
> But in the code of 2.0+, we just call valueOf.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)