You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "zinking (via GitHub)" <gi...@apache.org> on 2023/09/08 05:37:30 UTC
[GitHub] [arrow] zinking opened a new issue, #37622: irrelevant message displayed `WARN DFSClient: zero`
zinking opened a new issue, #37622:
URL: https://github.com/apache/arrow/issues/37622
### Describe the bug, including details regarding any error messages, version, and platform.
I am using arrow native HDFS reader, everything seems fine.
except that it is polluting the stdout with these irrelevant messages
```
23/09/08 13:34:56 WARN DFSClient: zero
23/09/08 13:34:56 WARN DFSClient: zero
23/09/08 13:34:56 WARN DFSClient: zero
23/09/08 13:34:56 WARN DFSClient: zero
23/09/08 13:34:56 WARN DFSClient: zero
23/09/08 13:34:56 WARN DFSClient: zero
```
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] irrelevant message displayed `WARN DFSClient: zero` [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #37622:
URL: https://github.com/apache/arrow/issues/37622#issuecomment-5878986278
This message comes from the Hadoop Java client (`org.apache.hadoop.hdfs.DFSClient`) running inside the JVM that libhdfs starts, not from Arrow. Arrow's HDFS filesystem only wraps libhdfs and has no way to intercept the JVM's log output, and Arrow never issues zero-length reads that would plausibly trigger it.
Upstream Hadoop's `DFSClient` doesn't log a bare "zero", so this looks like a vendor or patched Hadoop build. The usual way to silence it is via `log4j.properties` (set the `org.apache.hadoop.hdfs.DFSClient` logger to ERROR) or `HADOOP_ROOT_LOGGER`, both of which libhdfs picks up from the Hadoop configuration.
Closing as not an Arrow issue. If you can share which Hadoop distribution and version produced it, that would be worth reporting to them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] irrelevant message displayed `WARN DFSClient: zero` [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #37622: irrelevant message displayed `WARN DFSClient: zero`
URL: https://github.com/apache/arrow/issues/37622
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org