Skip to content

Commit 1d5ccc7

Browse files
authored
HDFS-15512. Remove smallBufferSize in DFSClient. (#2191)
1 parent c7e71a6 commit 1d5ccc7

File tree

1 file changed

+0
-2
lines changed
  • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs

1 file changed

+0
-2
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory,
245245
new DFSHedgedReadMetrics();
246246
private static ThreadPoolExecutor HEDGED_READ_THREAD_POOL;
247247
private static volatile ThreadPoolExecutor STRIPED_READ_THREAD_POOL;
248-
private final int smallBufferSize;
249248
private final long serverDefaultsValidityPeriod;
250249

251250
/**
@@ -327,7 +326,6 @@ public DFSClient(URI nameNodeUri, ClientProtocol rpcNamenode,
327326
this.stats = stats;
328327
this.socketFactory = NetUtils.getSocketFactory(conf, ClientProtocol.class);
329328
this.dtpReplaceDatanodeOnFailure = ReplaceDatanodeOnFailure.get(conf);
330-
this.smallBufferSize = DFSUtilClient.getSmallBufferSize(conf);
331329
this.dtpReplaceDatanodeOnFailureReplication = (short) conf
332330
.getInt(HdfsClientConfigKeys.BlockWrite.ReplaceDatanodeOnFailure.
333331
MIN_REPLICATION,

0 commit comments

Comments
 (0)