[
https://issues.apache.org/jira/browse/HDFS-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uma Maheswara Rao G updated HDFS-7594:
--------------------------------------
Attachment: HDFS-7594.patch
Attached a simple patch. Since this is just api delegation, did not add any new
tests.
> Add isFileClosed and IsInSafeMode APIs in o.a.h.hdfs.client.HdfsAdmin
> ---------------------------------------------------------------------
>
> Key: HDFS-7594
> URL: https://issues.apache.org/jira/browse/HDFS-7594
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Affects Versions: 3.0.0, 2.6.0
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Attachments: HDFS-7594.patch
>
>
> DistributedFileSystem has exposed isFileClosed and IsInSafeMode.
> Applications like Hbase are using this apis directly from
> DistributedFileSystem class. Now HdfsAdmin public class added and one of the
> purpose is for exposing the apis from DistributedFileSystem/DfsClient for the
> apps.
> So, It would be nice to add this 2 apis also in that public class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)