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

Milind Bhandarkar commented on HBASE-4169:
------------------------------------------

This suggests deeper flaws in the the FileSystem abstraction in Hadoop. If one 
has to do:

{code}
if (fs instanceof DistributedFileSystem) {
// hdfs-specific functionality
}
{code}

then it defeats the purpose of having o.a.h.fs as public apis and o.a.h.hdfs as 
implementation.

> FSUtils LeaseRecovery for non HDFS FileSystems.
> -----------------------------------------------
>
>                 Key: HBASE-4169
>                 URL: https://issues.apache.org/jira/browse/HBASE-4169
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.90.3, 0.90.4
>            Reporter: Lohit Vijayarenu
>
> FSUtils.recoverFileLease uses HDFS's recoverLease method to get lease before 
> splitting hlog file.
> This might not work for other filesystem implementations. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to