Hexiaoqiao commented on code in PR #7275:
URL: https://github.com/apache/hadoop/pull/7275#discussion_r1912399851
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockTokenWithDFS.java:
##########
@@ -582,6 +582,9 @@ protected void doTestRead(Configuration conf,
MiniDFSCluster cluster,
// restart the namenode to allow DFSClient to re-fetch tokens
cluster.restartNameNode(0);
+ // Reopen closed streams
+ in1 = fs.open(fileToRead);
+ in3 = fs.open(fileToRead);
Review Comment:
Thanks, try to explore the code but not see any explicit close stream
operation, anything I skipped? Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]