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 "muyannian (JIRA)" <ji...@apache.org> on 2018/01/01 06:52:15 UTC

[jira] [Updated] (HDFS-12971) DfsClint hang on hedged getFromOneDataNode

     [ https://issues.apache.org/jira/browse/HDFS-12971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

muyannian updated HDFS-12971:
-----------------------------
    Environment: 
hadoop 2.6.0 (dfs.client.hedged.read.threadpool.size>0)


  was:
hadoop 2.6.0  
	<property>
	  <name>dfs.client.hedged.read.threadpool.size</name>
	  <value>512</value> 
	</property>
	
	<property>
	  <name>dfs.client.hedged.read.threshold.millis</name>
	  <value>300</value> 
	</property>


> DfsClint hang on hedged getFromOneDataNode
> ------------------------------------------
>
>                 Key: HDFS-12971
>                 URL: https://issues.apache.org/jira/browse/HDFS-12971
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, hdfs-client
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: hadoop 2.6.0 (dfs.client.hedged.read.threadpool.size>0)
>            Reporter: muyannian
>         Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg, DFSInputStream-afterpatch.java, DFSInputStream-beforepatch.java, DFSInputStream.java.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> when i used hdfs  hedged read , i found DFSInputStream hang on getFirstToComplete method.
> the reason is when something has exception on datanode,or namenode , for example FileNotFoundException, that may cause hang up for ever. future has finished but still call get "future = hedgedService.take()" method ,so cause hang up.
> in the attatch file is my jstack and java patch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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