HDFS-16101. Remove unuse variable and IoException in ProvidedStorageMap. Contributed by lei w.

This commit is contained in:
Ayush Saxena 2021-07-06 23:26:52 +05:30
parent a447cfd78b
commit c85a18327d

View File

@ -75,11 +75,9 @@ public class ProvidedStorageMap {
private final ProvidedDescriptor providedDescriptor;
private final DatanodeStorageInfo providedStorageInfo;
private boolean providedEnabled;
private long capacity;
private int defaultReplication;
ProvidedStorageMap(RwLock lock, BlockManager bm, Configuration conf)
throws IOException {
ProvidedStorageMap(RwLock lock, BlockManager bm, Configuration conf) {
storageId = conf.get(DFSConfigKeys.DFS_PROVIDER_STORAGEUUID,
DFSConfigKeys.DFS_PROVIDER_STORAGEUUID_DEFAULT);