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

[jira] [Resolved] (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 ]

Duo Zhang resolved HBASE-24249.
-------------------------------
    Fix Version/s: 2.3.0
                   3.0.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to branch-2.3+.

Thanks [~stack] for reviewing.

> 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
>             Fix For: 3.0.0, 2.3.0
>
>
> 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)