You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "LiXin Ge (JIRA)" <ji...@apache.org> on 2018/01/30 11:30:00 UTC

[jira] [Created] (HDFS-13086) Add a field about exception type to BlockOpResponseProto

LiXin Ge created HDFS-13086:
-------------------------------

             Summary: Add a field about exception type to BlockOpResponseProto
                 Key: HDFS-13086
                 URL: https://issues.apache.org/jira/browse/HDFS-13086
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 3.1.0
            Reporter: LiXin Ge
            Assignee: LiXin Ge


When user re-read a file in the way of short-circuit reads, it may come across unknown errors due to the reasons that the file has been appended after the first read which changes it's meta file, or the file has been moved away by the balancer.

Such unknown errors will unnecessary disable short-circuit reads for 10 minutes. HDFS-12528 Make the {{expireAfterWrite}} of {{DomainSocketFactory$pathMap}} configurable to give user a choice of never disable the domain socket. 

We can go a step further that add a field about exception type to BlockOpResponseProto, so that we can Ignore the acceptable FNFE and set a appropriate disable time to handle the unacceptable exceptions when different type of exception happens in the same cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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