[
https://issues.apache.org/jira/browse/HBASE-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lohit Vijayarenu updated HBASE-4169:
------------------------------------
Attachment: HBASE-4169.1.patch
Attached is first version of patch. Please could anyone review this. Changes
done are
1. Moved recoverLease to FSHDFSUtils
2. Added FSImplementedUtils which loads FSUtils based on config
hbase.fsutils.fs.impl
3. Added FSHDFSUtils as default in hbase-default.xml
4. Changed all places where this is invoked.
I rand TestHLog which invokes this piece of code to make sure FSHDFSUtils is
loaded and recover the lease
> 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
> Attachments: HBASE-4169.1.patch
>
>
> 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