hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4169) FSUtils LeaseRecovery for non HDFS FileSystems.
Date Fri, 05 Aug 2011 18:17:27 GMT

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

Lohit Vijayarenu commented on HBASE-4169:
-----------------------------------------

One suggestion is to do something like. 
{code}
if (!(fs instanceof DistributedFileSystem)) {
  // Change permission on file to ReadOnly.
  return
} 

// HDFS code to deal with lease recover as of today.

{code}

Will this work?

> 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

        

Mime
View raw message