Skip to content

Commit f775e5a

Browse files
committed
trigger yetus.
1 parent 8d2e864 commit f775e5a

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode/StripedBlockReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ private Peer newConnectedPeer(ExtendedBlock b, InetSocketAddress addr,
150150
final int socketTimeout = datanode.getDnConf().getSocketTimeout();
151151
try {
152152
sock = NetUtils.getDefaultSocketFactory(conf).createSocket();
153+
NetUtils.connect(sock, addr, socketTimeout);
153154
sock.setSoTimeout(socketTimeout * 3);
154155
sock.setKeepAlive(true);
155-
NetUtils.connect(sock, addr, socketTimeout);
156156
peer = DFSUtilClient.peerFromSocketAndKey(datanode.getSaslClient(),
157157
sock, datanode.getDataEncryptionKeyFactoryForBlock(b),
158158
blockToken, datanodeId, socketTimeout);

0 commit comments

Comments
 (0)