[
https://issues.apache.org/jira/browse/HBASE-21247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646724#comment-16646724
]
Ted Yu commented on HBASE-21247:
--------------------------------
[~busbey]:
Please take a look at the attached 21247.v4.tst
Running against current implementation, you would see:
{code}
testCustomProvider(org.apache.hadoop.hbase.wal.TestWALFactory) Time elapsed:
0.414 sec <<< FAILURE!
java.lang.AssertionError: expected:<class
org.apache.hadoop.hbase.wal.IOTestProvider> but was:<class
org.apache.hadoop.hbase.wal.AsyncFSWALProvider>
at
org.apache.hadoop.hbase.wal.TestWALFactory.testCustomProvider(TestWALFactory.java:740)
{code}
> 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, 21247.v3.txt, 21247.v4.tst,
> 21247.v4.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)