hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Stepachev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8270) create() always retried with hardcoded timeout.
Date Mon, 27 Apr 2015 18:39:39 GMT
Andrey Stepachev created HDFS-8270:
--------------------------------------

             Summary: create() always retried with hardcoded timeout.
                 Key: HDFS-8270
                 URL: https://issues.apache.org/jira/browse/HDFS-8270
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs-client
    Affects Versions: 2.6.0
            Reporter: Andrey Stepachev


In Hbase we stumbled on unexpected behaviour, which could 
break things. 
HDFS-6478 fixed wrong exception
translation, but that apparently led to unexpected bahaviour:
clients trying to create file without override=true will be forced
to retry hardcoded amount of time (60 seconds).
That could break or slowdown systems, that use filesystem
for locks (like hbase fsck did, and we got it broken HBASE-13574).

We should make this behaviour configurable, do client really need
to wait lease timeout to be sure that file doesn't exists, or it it should
be enough to fail fast.



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

Mime
View raw message