You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/04/25 09:16:00 UTC

[jira] [Work started] (HBASE-24249) Move code in FSHDFSUtils to FSUtils and mark related classes as final

     [ https://issues.apache.org/jira/browse/HBASE-24249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HBASE-24249 started by Duo Zhang.
-----------------------------------------
> Move code in FSHDFSUtils to FSUtils and mark related classes as final
> ---------------------------------------------------------------------
>
>                 Key: HBASE-24249
>                 URL: https://issues.apache.org/jira/browse/HBASE-24249
>             Project: HBase
>          Issue Type: Task
>          Components: Filesystem Integration
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> It is a bit strange that a 'util' class can be instantiated.
> I think the motivation is to provide multiple recoverFileLease implementation based on different filesystem implementation. But until now, there is still only one implementation for HDFS in HBase, and all the related classes are marked as IA.Private so we do not expect user to extend the class.
> Let's just move the code in FSHDFSUtils to FSUtils directly and make FSUtils a true 'util' class.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)