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

Duo Zhang commented on HBASE-15813:
-----------------------------------

Oh yeah, a bug in FanOutOneBlockAsyncDFSOutputHelper... The 
LeaseExpiredException is wrapped inside a RemoteException. We can the rpc proxy 
directly so we need to unwrap it by ourselves...

And getServerNameFromWALDirectoryName implicitly means that we are writing WAL 
to a FileSystem. So I think it is better to put it in class with 'FileSystem' 
in its name, not in the general WALProvider.

Thanks.

> Rename DefaultWALProvider to a more specific name and clean up unnecessary 
> reference to it
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15813
>                 URL: https://issues.apache.org/jira/browse/HBASE-15813
>             Project: HBase
>          Issue Type: Sub-task
>          Components: wal
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15813.patch
>
>
> This work can be done before we make AsyncFSWAL as our default WAL 
> implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to