Commit Graph

4370 Commits

Author SHA1 Message Date
Tsz-Wo Nicholas Sze e107886d6f HDFS-8190. StripedBlockUtil.getInternalBlockLength may have overflow error. 2015-05-26 11:59:52 -07:00
Zhe Zhang 922631f04f HDFS-8188. Erasure coding: refactor client-related code to sync with HDFS-8082 and HDFS-8169. Contributed by Zhe Zhang. 2015-05-26 11:59:51 -07:00
Vinayakumar B dfba46ab57 HDFS-8181. createErasureCodingZone sets retryCache state as false always (Contributed by Uma Maheswara Rao G) 2015-05-26 11:59:51 -07:00
Vinayakumar B a1c9425265 HDFS-8146. Protobuf changes for BlockECRecoveryCommand and its fields for making it ready for transfer to DN (Contributed by Uma Maheswara Rao G) 2015-05-26 11:59:51 -07:00
Jing Zhao f6e1160ef1 HDFS-8145. Fix the editlog corruption exposed by failed TestAddStripedBlocks. Contributed by Jing Zhao. 2015-05-26 11:59:46 -07:00
Jing Zhao ab76e1fe36 HDFS-7937. Erasure Coding: INodeFile quota computation unit tests. Contributed by Kai Sasaki. 2015-05-26 11:59:13 -07:00
Jing Zhao cd458c38a0 HDFS-8166. DFSStripedOutputStream should not create empty blocks. Contributed by Jing Zhao. 2015-05-26 11:59:13 -07:00
Zhe Zhang 64f8f0a145 HDFS-8167. BlockManager.addBlockCollectionWithCheck should check if the block is a striped block. Contributed by Hui Zheng. 2015-05-26 11:59:12 -07:00
Tsz-Wo Nicholas Sze 4c039b0876 HDFS-7994. Detect if resevered EC Block ID is already used during namenode startup. Contributed by Hui Zheng 2015-05-26 11:59:12 -07:00
Jing Zhao 5e8837dd6c HDFS-8120. Erasure coding: created util class to analyze striped block groups. Contributed by Zhe Zhang and Li Bo. 2015-05-26 11:59:12 -07:00
Vinayakumar B ceb3d1c170 HDFS-7349. Support DFS command for the EC encoding (Contributed by Vinayakumar B) 2015-05-26 11:59:11 -07:00
Vinayakumar B 2c277802c1 HDFS-8027. Erasure Coding: Update CHANGES-HDFS-7285.txt with branch commits (Vinayakumar B) 2015-05-26 11:59:11 -07:00
Vinayakumar B 04c23d95d0 HDFS-8123. Erasure Coding: Better to move EC related proto messages to a separate erasurecoding proto file (Contrubuted by Rakesh R) 2015-05-26 11:59:11 -07:00
Zhe Zhang 3b56a5aa9e HDFS-8114. Erasure coding: Add auditlog FSNamesystem#createErasureCodingZone if this operation fails. Contributed by Rakesh R. 2015-05-26 11:59:10 -07:00
Zhe Zhang a32c4dc38a HDFS-8122. Erasure Coding: Support specifying ECSchema during creation of ECZone. Contributed by Vinayakumar B. 2015-05-26 11:59:06 -07:00
Zhe Zhang 35797b0889 HDFS-7936. Erasure coding: resolving conflicts in the branch when merging trunk changes (this commit mainly addresses HDFS-8081 and HDFS-8048. Contributed by Zhe Zhang. 2015-05-26 11:58:40 -07:00
Vinayakumar B f53e402635 HDFS-8090. Erasure Coding: Add RPC to client-namenode to list all ECSchemas loaded in Namenode. (Contributed by Vinayakumar B) 2015-05-26 11:58:40 -07:00
Kai Zheng 4970f2a2ab HDFS-7889 Subclass DFSOutputStream to support writing striping layout files. Contributed by Li Bo 2015-05-26 11:58:40 -07:00
Jing Zhao 4d0bc724f2 HDFS-8077. Erasure coding: fix bugs in EC zone and symlinks. Contributed by Jing Zhao and Zhe Zhang. 2015-05-26 11:58:32 -07:00
Kai Zheng c4a0d88366 HDFS-8104 Make hard-coded values consistent with the system default schema first before remove them. Contributed by Kai Zheng 2015-05-26 11:55:17 -07:00
Kai Zheng 1a37b0fe9a HDFS-8074 Define a system-wide default EC schema. Contributed by Kai Zheng 2015-05-26 11:55:16 -07:00
Vinayakumar B 2ca3e38feb HDFS-8023. Erasure Coding: retrieve eraure coding schema for a file from NameNode (Contributed by Vinayakumar B)
Added missed file
2015-05-26 11:55:16 -07:00
Vinayakumar B 16484f0030 HDFS-8023. Erasure Coding: retrieve eraure coding schema for a file from NameNode (Contributed by Vinayakumar B) 2015-05-26 11:55:16 -07:00
Zhe Zhang bff59392ee HDFS-7782. Erasure coding: pread from files in striped layout. Contributed by Zhe Zhang and Jing Zhao 2015-05-26 11:55:15 -07:00
Zhe Zhang 91c741a2a1 HDFS-7782. Erasure coding: pread from files in striped layout. Contributed by Zhe Zhang and Jing Zhao 2015-05-26 11:55:15 -07:00
Vinayakumar B aac73c21c3 HADOOP-11740. Combine erasure encoder and decoder interfaces. Contributed by Zhe Zhang.
Updated CHANGES-HDFS-EC-7285.txt
2015-05-26 11:55:15 -07:00
Vinayakumar B d25ca09cf6 HADOOP-11782 Correct two thrown messages in ECSchema class. Contributed by Xinwei Qin
Updated CHANGES-HDFS-EC-7285.txt
2015-05-26 11:55:14 -07:00
Zhe Zhang 146ce7a978 HDFS-7969. Erasure coding: NameNode support for lease recovery of striped block groups. Contributed by Zhe Zhang. 2015-05-26 11:55:14 -07:00
Zhe Zhang c243319eab HDFS-7936. Erasure coding: resolving conflicts in the branch when merging trunk changes (this commit is for HDFS-8035). Contributed by Zhe Zhang 2015-05-26 11:55:13 -07:00
Zhe Zhang e54a74b566 HADOOP-11740. Combine erasure encoder and decoder interfaces. Contributed by Zhe Zhang. 2015-05-26 11:55:13 -07:00
Zhe Zhang 1af8c14862 HDFS-7839. Erasure coding: implement facilities in NameNode to create and manage EC zones. Contributed by Zhe Zhang 2015-05-26 11:55:07 -07:00
Zhe Zhang 578019d6a2 HDFS-7936. Erasure coding: resolving conflicts in the branch when merging (this commit is for conflicts from HDFS-6945). Contributed by Zhe Zhang. 2015-05-26 11:44:47 -07:00
Zhe Zhang 9edc73d123 HDFS-7617. Add unit tests for editlog transactions for EC. Contributed by Hui Zheng. 2015-05-26 11:44:47 -07:00
Vinayakumar B af8eaacdb4 HDFS-8027. Erasure Coding: Update CHANGES-HDFS-7285.txt with branch commits (Vinayakumar B) 2015-05-26 11:44:46 -07:00
Jing Zhao cd655ee817 HDFS-8005. Erasure Coding: simplify striped block recovery work computation and add tests. Contributed by Jing Zhao. 2015-05-26 11:44:42 -07:00
Jing Zhao abf833a7b2 HDFS-7907. Erasure Coding: track invalid, corrupt, and under-recovery striped blocks in NameNode. Contributed by Jing Zhao. 2015-05-26 11:43:44 -07:00
Zhe Zhang 97378e4cd0 HDFS-7936. Erasure coding: resolving conflicts in the branch when merging (this commit is for HDFS-7742) 2015-05-26 11:43:43 -07:00
Tsz-Wo Nicholas Sze 9d1175b8fb HDFS-7716. Add a test for BlockGroup support in FSImage. Contributed by Takuya Fukudome 2015-05-26 11:43:43 -07:00
Zhe Zhang ea2e60fbcc HDFS-7936. Erasure coding: resolving conflicts when merging with HDFS-7903, HDFS-7435, HDFS-7930, HDFS-7960 (this commit is for HDFS-7960) 2015-05-26 11:43:42 -07:00
Jing Zhao d0d75a8339 HDFS-7827. Erasure Coding: support striped blocks in non-protobuf fsimage. Contributed by Hui Zheng. 2015-05-26 11:43:42 -07:00
Jing Zhao 46dac3595f HDFS-7864. Erasure Coding: Update safemode calculation for striped blocks. Contributed by GAO Rui. 2015-05-26 11:43:42 -07:00
Zhe Zhang 544f75d651 HDFS-7936. Erasure coding: resolving conflicts when merging with HDFS-7903, HDFS-7435 and HDFS-7930 (this commit is for HDFS-7930 only) 2015-05-26 11:43:42 -07:00
Zhe Zhang 57a84c0d14 HDFS-7369. Erasure coding: distribute recovery work for striped blocks to DataNode. Contributed by Zhe Zhang. 2015-05-26 11:43:37 -07:00
Jing Zhao a38a37c634 HDFS-7912. Erasure Coding: track BlockInfo instead of Block in UnderReplicatedBlocks and PendingReplicationBlocks. Contributed by Jing Zhao. 2015-05-26 11:41:59 -07:00
Jing Zhao 26773d9d6c HDFS-7826. Erasure Coding: Update INodeFile quota computation for striped blocks. Contributed by Kai Sasaki. 2015-05-26 11:32:26 -07:00
Jing Zhao 11585883a9 HDFS-7936. Erasure coding: resolving conflicts when merging with HDFS-7903 and HDFS-7435. Contributed by Zhe Zhang. 2015-05-26 11:32:26 -07:00
Jing Zhao f05c21285e HDFS-7853. Erasure coding: extend LocatedBlocks to support reading from striped files. Contributed by Jing Zhao. 2015-05-26 11:32:25 -07:00
Jing Zhao 39a0a85fb7 HDFS-7872. Erasure Coding: INodeFile.dumpTreeRecursively() supports to print striped blocks. Contributed by Takuya Fukudome. 2015-05-26 11:32:25 -07:00
Jing Zhao 1e1e930407 HDFS-7837. Erasure Coding: allocate and persist striped blocks in NameNode. Contributed by Jing Zhao. 2015-05-26 11:32:20 -07:00
Zhe Zhang 9af1f4779b Addendum fix for HDFS-7749 to be compatible with HDFS-7993 2015-05-26 11:07:16 -07:00