HDFS-16101. Remove unuse variable and IoException in ProvidedStorageMap. Contributed by lei w.
This commit is contained in:
parent
a447cfd78b
commit
c85a18327d
|
@ -75,11 +75,9 @@ public class ProvidedStorageMap {
|
||||||
private final ProvidedDescriptor providedDescriptor;
|
private final ProvidedDescriptor providedDescriptor;
|
||||||
private final DatanodeStorageInfo providedStorageInfo;
|
private final DatanodeStorageInfo providedStorageInfo;
|
||||||
private boolean providedEnabled;
|
private boolean providedEnabled;
|
||||||
private long capacity;
|
|
||||||
private int defaultReplication;
|
private int defaultReplication;
|
||||||
|
|
||||||
ProvidedStorageMap(RwLock lock, BlockManager bm, Configuration conf)
|
ProvidedStorageMap(RwLock lock, BlockManager bm, Configuration conf) {
|
||||||
throws IOException {
|
|
||||||
|
|
||||||
storageId = conf.get(DFSConfigKeys.DFS_PROVIDER_STORAGEUUID,
|
storageId = conf.get(DFSConfigKeys.DFS_PROVIDER_STORAGEUUID,
|
||||||
DFSConfigKeys.DFS_PROVIDER_STORAGEUUID_DEFAULT);
|
DFSConfigKeys.DFS_PROVIDER_STORAGEUUID_DEFAULT);
|
||||||
|
|
Loading…
Reference in New Issue