HADOOP-15740. ABFS: Check variable names during initialization of AbfsClientThrottlingIntercept.
Contributed by Sneha Varma.
This commit is contained in:
parent
a192d85a5f
commit
36b2bab888
|
@ -48,8 +48,8 @@ public final class AbfsClientThrottlingIntercept {
|
||||||
writeThrottler = new AbfsClientThrottlingAnalyzer("write");
|
writeThrottler = new AbfsClientThrottlingAnalyzer("write");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static synchronized void initializeSingleton(boolean isAutoThrottlingEnabled) {
|
public static synchronized void initializeSingleton(boolean enableAutoThrottling) {
|
||||||
if (!isAutoThrottlingEnabled) {
|
if (!enableAutoThrottling) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (singleton == null) {
|
if (singleton == null) {
|
||||||
|
|
Loading…
Reference in New Issue