public class EncryptionZoneManager extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
EncryptionZoneManager(org.apache.hadoop.hdfs.server.namenode.FSDirectory dir,
org.apache.hadoop.conf.Configuration conf)
Construct a new EncryptionZoneManager.
|
public EncryptionZoneManager(org.apache.hadoop.hdfs.server.namenode.FSDirectory dir, org.apache.hadoop.conf.Configuration conf)
dir
- Enclosing FSDirectorypublic int getNumEncryptionZones()
public boolean hasCreatedEncryptionZone()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.