[
https://issues.apache.org/jira/browse/HDFS-17791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carl Vuosalo updated HDFS-17791:
--------------------------------
Description:
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],
was:
The {{libhdfs}} client outputs a full Java stack trace in its error message for
a "file not found" error. 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],
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]