[ 
https://issues.apache.org/jira/browse/HBASE-21247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630925#comment-16630925
 ] 

Ted Yu commented on HBASE-21247:
--------------------------------

w.r.t. first comment above,
{code}
      boolean metaWALProvPresent = conf.get(META_WAL_PROVIDER_CLASS) != null;
      provider = createProvider(getProviderClass(
          metaWALProvPresent ? META_WAL_PROVIDER_CLASS : WAL_PROVIDER_CLASS,
{code}
when META_WAL_PROVIDER_CLASS is not specified, we fall back to the value for 
WAL_PROVIDER_CLASS (if present).
The user doesn't need to specify two WAL classes in the normal case.




> 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
>
>
> 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)

Reply via email to