Skip to content

Commit d698a94

Browse files
author
xiezhineng
committed
fix checkstyle
1 parent c5afc65 commit d698a94

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4555,7 +4555,7 @@
45554555
the striped read process, the default is 1.
45564556
</description>
45574557
</property>
4558-
4558+
45594559
<property>
45604560
<name>dfs.client.replica.accessor.builder.classes</name>
45614561
<value></value>

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedInputStreamWithTimeout.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,7 @@ private void testReadFileWithAttempt(int attempt) throws Exception {
174174
int nread = in.read(buf, 0, bufLen);
175175
// Simulated time-consuming processing operations, such as UDF.
176176
// And datanodes close connect because of socket timeout.
177-
cluster.dataNodes.forEach(dn -> {
178-
dn.getDatanode().closeDataXceiverServer();
179-
});
177+
cluster.dataNodes.forEach(dn -> dn.getDatanode().closeDataXceiverServer());
180178
in.seek(nread);
181179
// StripeRange 6MB
182180
bufLen = 1024 * 1024 * 6;

0 commit comments

Comments
 (0)