Carl Vuosalo created HDFS-17791:
-----------------------------------
Summary: 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
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],
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]