Commit Graph

2512 Commits

Author SHA1 Message Date
Zhe Zhang
cea46f79b0 HDFS-8334. Erasure coding: rename DFSStripedInputStream related test classes. Contributed by Zhe Zhang. 2015-05-26 12:01:48 -07:00
Zhe Zhang
6616de24cb HDFS-7348. Erasure Coding: DataNode reconstruct striped blocks. Contributed by Yi Liu. 2015-05-26 12:01:47 -07:00
Tsz-Wo Nicholas Sze
220ca960bc HDFS-7672. Handle write failure for stripping blocks and refactor the existing code in DFSStripedOutputStream and StripedDataStreamer. 2015-05-26 12:00:45 -07:00
Vinayakumar B
4392325546 HDFS-8242. Erasure Coding: XML based end-to-end test for ECCli commands (Contributed by Rakesh R) 2015-05-26 11:59:58 -07:00
Uma Maheswara Rao G
436c14855a HDFS-8137. Send the EC schema to DataNode via EC encoding/recovering command. Contributed by Uma Maheswara Rao G 2015-05-26 11:59:57 -07:00
Jing Zhao
6dea01f1ee HDFS-8281. Erasure Coding: implement parallel stateful reading for striped layout. Contributed by Jing Zhao. 2015-05-26 11:59:57 -07:00
Jing Zhao
ea6c66ed57 HDFS-8316. Erasure coding: refactor EC constants to be consistent with HDFS-8249. Contributed by Zhe Zhang. 2015-05-26 11:59:57 -07:00
Zhe Zhang
77d94dd5ec HDFS-7949. WebImageViewer need support file size calculation with striped blocks. Contributed by Rakesh R. 2015-05-26 11:59:56 -07:00
Jing Zhao
5059958bf4 HDFS-8308. Erasure Coding: NameNode may get blocked in waitForLoadingFSImage() when loading editlog. Contributed by Jing Zhao. 2015-05-26 11:59:56 -07:00
Zhe Zhang
f0628280c3 HDFS-8282. Erasure coding: move striped reading logic to StripedBlockUtil. Contributed by Zhe Zhang. 2015-05-26 11:59:56 -07:00
Jing Zhao
9593776e34 HDFS-8235. Erasure Coding: Create DFSStripedInputStream in DFSClient#open. Contributed by Kai Sasaki. 2015-05-26 11:59:55 -07:00
Zhe Zhang
89d3378578 HDFS-8033. Erasure coding: stateful (non-positional) read from files in striped layout. Contributed by Zhe Zhang. 2015-05-26 11:59:54 -07:00
Zhe Zhang
f5d4a95ef5 HDFS-8228. Erasure Coding: SequentialBlockGroupIdGenerator#nextValue may cause block id conflicts. Contributed by Jing Zhao. 2015-05-26 11:59:54 -07:00
Jing Zhao
eb612b0b70 HDFS-8233. Fix DFSStripedOutputStream#getCurrentBlockGroupBytes when the last stripe is at the block group boundary. Contributed by Jing Zhao. 2015-05-26 11:59:53 -07:00
Kai Zheng
fcd54ecce2 HDFS-8136. Client gets and uses EC schema when reads and writes a stripping file. Contributed by Kai Sasaki 2015-05-26 11:59:53 -07:00
Zhe Zhang
e8df2581c3 HDFS-8156. Add/implement necessary APIs even we just have the system default schema. Contributed by Kai Zheng. 2015-05-26 11:59:53 -07:00
Zhe Zhang
e9d85bbf30 HDFS-8216. TestDFSStripedOutputStream should use BlockReaderTestUtil to create BlockReader. Contributed by Tsz Wo Nicholas Sze. 2015-05-26 11:59:52 -07:00
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
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
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
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
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
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
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
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
9edc73d123 HDFS-7617. Add unit tests for editlog transactions for EC. Contributed by Hui Zheng. 2015-05-26 11:44:47 -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
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
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
1e1e930407 HDFS-7837. Erasure Coding: allocate and persist striped blocks in NameNode. Contributed by Jing Zhao. 2015-05-26 11:32:20 -07:00
Jing Zhao
9f2f583f40 HDFS-7749. Erasure Coding: Add striped block support in INodeFile. Contributed by Jing Zhao. 2015-05-26 11:07:15 -07:00
Jing Zhao
ba93714920 HDFS-7716. Erasure Coding: extend BlockInfo to handle EC info. Contributed by Jing Zhao. 2015-05-26 11:07:11 -07:00