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

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

github-actions[bot] closed pull request #7696: HDFS-17791: Fix libhdfs client 
that needlessly outputs full stack trace for common "file not found" errors
URL: https://github.com/apache/hadoop/pull/7696




> libhdfs client error message for "file not found" includes lengthy, unneeded 
> stack trace
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-17791
>                 URL: https://issues.apache.org/jira/browse/HDFS-17791
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: libhdfs
>    Affects Versions: 3.3.6
>            Reporter: Carl Vuosalo
>            Priority: Minor
>              Labels: pull-request-available
>
> The {{libhdfs}} client outputs a full Java stack trace in its error message 
> for a "file not found" error when trying to open a non-existent file. Our 
> HDFS application processes numerous queries checking for the presence of 
> files, so "file not found" errors are frequent. Each such error generates a 
> very lengthy and useless Java stack trace. These traces have no diagnostic 
> value, since the cause of the error is that the file doesn't exist.
> A fix for this problem is proposed by pull request 
> [#7696|https://github.com/apache/hadoop/pull/7696],



--
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