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?

Thanks
Andreina J
________________________________
Andreina J
华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]


地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com
________________________________
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
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 by
phone or email immediately and delete it!

Reply via email to