You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Carl Vuosalo (Jira)" <ji...@apache.org> on 2025/05/20 21:39:00 UTC
[jira] [Created] (HDFS-17791) libhdfs client error message for "file not found" includes lengthy, unneeded stack trace
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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org