[ 
https://issues.apache.org/jira/browse/HDFS-17706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912250#comment-17912250
 ] 

ASF GitHub Bot commented on HDFS-17706:
---------------------------------------

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.





> TestBlockTokenWithDFSStriped fails after HDFS-17080
> ---------------------------------------------------
>
>                 Key: HDFS-17706
>                 URL: https://issues.apache.org/jira/browse/HDFS-17706
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Felix N
>            Assignee: Felix N
>            Priority: Minor
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to