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/24 03:46:00 UTC

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

Duo Zhang created HBASE-24249:
---------------------------------

             Summary: 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


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)