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

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

xiaojunxiang2023 opened a new pull request, #6709:
URL: https://github.com/apache/hadoop/pull/6709

   When I used `hdfs fsck /xxx.txt -move`, missing error, but I can't kown the 
reason, because the exception stacktrace doesn't append to LOG, original code:
   
   
![image](https://github.com/apache/hadoop/assets/65019264/3fb94da0-5a9e-4363-a941-67772b9420c1)
   When I fix it, look, we can see the exception stacktrace:
   
   
![image](https://github.com/apache/hadoop/assets/65019264/1a6cfad7-b78c-456e-a8f4-df41a215bf20)
   




> Fix namenode fsck swallows the exception stacktrace, this can help us to 
> troubleshooting log.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17454
>                 URL: https://issues.apache.org/jira/browse/HDFS-17454
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.3.6
>            Reporter: xiaojunxiang
>            Priority: Minor
>         Attachments: image-2024-04-05-15-40-37-147.png, 
> image-2024-04-05-15-41-38-420.png
>
>
> When I used `hdfs fsck /xxx.txt -move`, missing error, but I can't kown the 
> reason, because the exception stacktrace doesn't append to LOG, original code:
> !image-2024-04-05-15-40-37-147.png!
>  
> When I fix it, look, we can see the exception stacktrace:
> !image-2024-04-05-15-41-38-420.png!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to