Skip to content

Commit 850b657

Browse files
committed
update comments
1 parent 02bc8ad commit 850b657

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public void run() {
232232
throw new SocketException("Create domain socket failed");
233233
}
234234
}
235-
}
235+
} // end of while block
236236
} catch (IOException e) {
237237
LOG.warn(ShortCircuitCache.this + ": failed to release "
238238
+ "short-circuit shared memory slot " + slot + " by sending "
@@ -248,7 +248,7 @@ public void run() {
248248
pathToDomainSocket.remove(path);
249249
}
250250
}
251-
}
251+
} // end of run()
252252
}
253253

254254
public interface ShortCircuitReplicaCreator {

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/shortcircuit/TestShortCircuitCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ public void testDomainSocketClosedByDN() throws Exception {
958958
}
959959
}
960960

961-
// Regression test for HDFS-16473
961+
// Regression test for HDFS-16535
962962
@Test(timeout = 60000)
963963
public void testDomainSocketClosedByMultipleDNs() throws Exception {
964964
TemporarySocketDirectory sockDir = new TemporarySocketDirectory();

0 commit comments

Comments
 (0)