hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andreina j <andrein...@huawei.com>
Subject Reg: HDFS-8270
Date Wed, 29 Apr 2015 13:14:57 GMT
In NonHA, If client tries to create the same file, which is already exists and open, then NameNode
was throwing already being created exception immediately. For NonHA case, Retry policy was
added to retry 5 times, each time after 60 sec(SOFT_LEASE_TIMEOUT).

However this retry was not working until HDFS-6478 fixed this.

This led to behavior change and call will retry upto 5 min, before failing.
Due to this downstream projects are facing issues. HBase reported it in HDFS-8270.

Now the question is, Is retry of upto 5 mins for AlreadyBeingCreatedException is really necessary
in NonHA case?
Is 5 min waiting for a create operation failure is correct?

Andreina J
Andreina J
华为技术有限公司 Huawei Technologies Co., Ltd.

地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
phone or email immediately and delete it!
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message