HDFS-8181. createErasureCodingZone sets retryCache state as false always (Contributed by Uma Maheswara Rao G)

This commit is contained in:
Vinayakumar B 2015-04-20 15:04:49 +05:30 committed by Zhe Zhang
parent a1c9425265
commit dfba46ab57
2 changed files with 15 additions and 0 deletions

View File

@ -83,10 +83,24 @@
HDFS-7349. Support DFS command for the EC encoding (vinayakumarb)
HDFS-8120. Erasure coding: created util class to analyze striped block groups.
(Contributed by Zhe Zhang and Li Bo via Jing Zhao)
HDFS-7994. Detect if resevered EC Block ID is already used during namenode
startup. (Hui Zheng via szetszwo)
HDFS-8167. BlockManager.addBlockCollectionWithCheck should check if the block is a striped block. (Hui Zheng via zhz).
HDFS-8166. DFSStripedOutputStream should not create empty blocks. (Jing Zhao)
HDFS-7937. Erasure Coding: INodeFile quota computation unit tests.
(Kai Sasaki via Jing Zhao)
HDFS-8145. Fix the editlog corruption exposed by failed TestAddStripedBlocks.
(Jing Zhao)
HDFS-8146. Protobuf changes for BlockECRecoveryCommand and its fields for
making it ready for transfer to DN (Uma Maheswara Rao G via vinayakumarb)
HDFS-8181. createErasureCodingZone sets retryCache state as false always
(Uma Maheswara Rao G via vinayakumarb)

View File

@ -1834,6 +1834,7 @@ public void createErasureCodingZone(String src, ECSchema schema)
boolean success = false;
try {
namesystem.createErasureCodingZone(src, schema, cacheEntry != null);
success = true;
} finally {
RetryCache.setState(cacheEntry, success);
}