[ https://issues.apache.org/jira/browse/HBASE-21062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583140#comment-16583140 ]
Hudson commented on HBASE-21062: -------------------------------- Results for branch branch-2 [build #1120 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1120/]: (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/1120//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1120//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1120//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > WALFactory has misleading notion of "default" > --------------------------------------------- > > Key: HBASE-21062 > URL: https://issues.apache.org/jira/browse/HBASE-21062 > Project: HBase > Issue Type: Bug > Components: wal > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Major > Fix For: 3.0.0, 2.0.2, 2.2.0, 2.1.1 > > Attachments: HBASE-21062.001.branch-2.0.patch, > HBASE-21062.002.branch-2.0.patch > > > In WALFactory, there is an enum {{Providers}} which has a list of supported > WALProvider implementations. In addition to list this, there is also a > {{defaultProvider}} (which the Configuration defaults to), that is meant to > be our "advertised" default WALProvider. > However, the implementation of {{getProviderClass}} in WALFactory doesn't > actually adhere to the value of this enum, instead *always* returning > AsyncFSWal if it can be loaded. > Having the default value in the enum but then overriding it in the > implementation of {{getProviderClass}} is silly and misleading. -- This message was sent by Atlassian JIRA (v7.6.3#76005)