hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hu Liu, (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7293) Couldn't really set timeout value to 0 for streaming reading and writing
Date Mon, 27 Oct 2014 09:10:34 GMT
Hu Liu, created HDFS-7293:
-----------------------------

             Summary: Couldn't really set timeout value to 0 for streaming reading and writing
                 Key: HDFS-7293
                 URL: https://issues.apache.org/jira/browse/HDFS-7293
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.5.1
            Reporter: Hu Liu,


In our scenario, we need to set the timeout value of streaming to 0.
But in current code, we couldn't really set the timeout value to 0.
{code}
          int timeoutValue = dnConf.socketTimeout
              + (HdfsServerConstants.READ_TIMEOUT_EXTENSION * targets.length);
          int writeTimeout = dnConf.socketWriteTimeout + 
                      (HdfsServerConstants.WRITE_TIMEOUT_EXTENSION * targets.length);
{code}

It's better to allow user to really set the value to 0 because in some scenario, user really
need to set it to 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message