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