hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12517) Several HConstant members are assignable
Date Tue, 18 Nov 2014 18:12:34 GMT
Sean Busbey created HBASE-12517:

             Summary: Several HConstant members are assignable
                 Key: HBASE-12517
                 URL: https://issues.apache.org/jira/browse/HBASE-12517
             Project: HBase
          Issue Type: Bug
            Reporter: Sean Busbey
            Priority: Critical

Several of the members in HConstants are not marked final.

Generate up-to-date list with command:
for line in "`grep -e '^ *public' hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
| grep -v final`"; do echo "${line}" | grep -o -e " [A-Z_][A-Z_]* "; done

for line in "`grep -e '^ *public' src/main/java/org/apache/hadoop/hbase/HConstants.java |
grep -v final`"; do echo "${line}" | grep -o -e " [A-Z_][A-Z_]* "; done

These mutable versions have been in many releases. We correctly don't assign to them in our
codebase, but there's no way to know if anyone does downstream.

HConstants is IA.Public and IS.Stable, but I'm fairly certain this behavior was unintentional
and there isn't a non-broken use for it.

This message was sent by Atlassian JIRA

View raw message