hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhiyuan Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10429) DataStreamer interrupted warning always appears when using CLI upload file
Date Wed, 18 May 2016 21:01:13 GMT
Zhiyuan Yang created HDFS-10429:

             Summary: DataStreamer interrupted warning  always appears when using CLI upload
                 Key: HDFS-10429
                 URL: https://issues.apache.org/jira/browse/HDFS-10429
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Zhiyuan Yang
            Priority: Minor

Every time I use 'hdfs dfs -put' upload file, this warning is printed:
16/05/18 20:57:56 WARN hdfs.DataStreamer: Caught exception
	at java.lang.Object.wait(Native Method)
	at java.lang.Thread.join(Thread.java:1245)
	at java.lang.Thread.join(Thread.java:1319)
	at org.apache.hadoop.hdfs.DataStreamer.closeResponder(DataStreamer.java:871)
	at org.apache.hadoop.hdfs.DataStreamer.endBlock(DataStreamer.java:519)
	at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:696)

The reason is this: originally, DataStreamer::closeResponder always prints a warning about
InterruptedException; since HDFS-9812, DFSOutputStream::closeImpl  always forces threads to
close, which causes InterruptedException.

A simple fix is to use debug level log instead of warning level.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message