Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

WARN hdfs.DFSClient: zero

Highlighted

WARN hdfs.DFSClient: zero

New Contributor

I am facing an issue now, When I try to run a program that uses the data from HDFS and do its job. I am facing a strange issue, I am getting the above warning, I am unsure what it means and how to solve it. My job is running with the data in HDFS, but parallely I am getting this warning alongside my program's output. Any ideas how to solve?

17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
17/11/16 11:46:59 WARN hdfs.DFSClient: zero
1 REPLY 1

Re: WARN hdfs.DFSClient: zero

New Contributor

It seems printed by DFSInputStream.ByteBufferStrategy.doRead(..). The message means that it reads only zero length data. Would it be possible that a zero size buffer is passed so that it cannot read anything?

Don't have an account?
Coming from Hortonworks? Activate your account here