瀏覽代碼

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

Vinayakumar B 10 年之前
父節點
當前提交
dfba46ab57

+ 14 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt

@@ -83,10 +83,24 @@
 
 
     HDFS-7349. Support DFS command for the EC encoding (vinayakumarb)
     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
     HDFS-7994. Detect if resevered EC Block ID is already used during namenode
     startup. (Hui Zheng via szetszwo)
     startup. (Hui Zheng via szetszwo)
 
 
     HDFS-8167. BlockManager.addBlockCollectionWithCheck should check if the block is a striped block. (Hui Zheng via zhz).
     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
     HDFS-8146. Protobuf changes for BlockECRecoveryCommand and its fields for
     making it ready for transfer to DN (Uma Maheswara Rao G via vinayakumarb)
     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)

+ 1 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java

@@ -1834,6 +1834,7 @@ class NameNodeRpcServer implements NamenodeProtocols {
     boolean success = false;
     boolean success = false;
     try {
     try {
       namesystem.createErasureCodingZone(src, schema, cacheEntry != null);
       namesystem.createErasureCodingZone(src, schema, cacheEntry != null);
+      success = true;
     } finally {
     } finally {
       RetryCache.setState(cacheEntry, success);
       RetryCache.setState(cacheEntry, success);
     }
     }