| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.client | This package provides the administrative APIs for HDFS. | 
| Modifier and Type | Method and Description | 
|---|---|
| EncryptionZone | HdfsAdmin. getEncryptionZoneForPath(Path path)Get the path of the encryption zone for a given file or directory. | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.fs.RemoteIterator<EncryptionZone> | HdfsAdmin. listEncryptionZones()Returns a RemoteIterator which can be used to list the encryption zones
 in HDFS. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.