[
https://issues.apache.org/jira/browse/HBASE-21247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631000#comment-16631000
]
Josh Elser commented on HBASE-21247:
------------------------------------
{code:java}
+ assertEquals(IOTestProvider.class.getName(),
fshLogProvider.getName());{code}
nit: just test the {{Class}} objects instead of the String representation of
the names.
Do we have a test coverage for the scenarios described in the release notes?
# ... If not specified, we fall back to the WAL provider enum specification.
# ... If not specified, we fall back to using the value for
hbase.wal.provider.class .
# Fallback to enum specific if neither meta provider class nor provider class
are set.
> Allow WAL Provider to be specified by configuration without explicit enum in
> Providers
> --------------------------------------------------------------------------------------
>
> Key: HBASE-21247
> URL: https://issues.apache.org/jira/browse/HBASE-21247
> Project: HBase
> Issue Type: Improvement
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: 21247.v1.txt, 21247.v2.txt
>
>
> Currently all the WAL Providers acceptable to hbase are specified in
> Providers enum of WALFactory.
> This restricts the ability for additional WAL Providers to be supplied - by
> class name.
> This issue introduces additional config which allows the specification of new
> WAL Provider through class name.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)