Commit Graph

11080 Commits

Author SHA1 Message Date
Jing Zhao
6c310db159 HDFS-8417. Erasure Coding: Pread failed to read data starting from not-first stripe. Contributed by Walter Su. 2015-05-26 12:02:32 -07:00
Zhe Zhang
343c0e76fc HADOOP-11938. Enhance ByteBuffer version encode/decode API of raw erasure coder. Contributed by Kai Zheng. 2015-05-26 12:02:31 -07:00
Zhe Zhang
b64f6745a4 HADOOP-11566. Add tests and fix for erasure coders to recover erased parity units. Contributed by Kai Zheng. 2015-05-26 12:02:31 -07:00
Zhe Zhang
09c3a375ba HADOOP-11920. Refactor some codes for erasure coders. Contributed by Kai Zheng. 2015-05-26 12:02:31 -07:00
Zhe Zhang
9c7a78c874 HADOOP-11921. Enhance tests for erasure coders. Contributed by Kai Zheng. 2015-05-26 12:02:31 -07:00
waltersu4549
a919726914 HDFS-8352. Erasure Coding: test webhdfs read write stripe file. (waltersu4549) 2015-05-26 12:02:30 -07:00
Kai Zheng
c9103e9cac HDFS-8367 BlockInfoStriped uses EC schema. Contributed by Kai Sasaki 2015-05-26 12:02:30 -07:00
Jing Zhao
d8ea443af0 Merge HDFS-8394 from trunk: Move getAdditionalBlock() and related functionalities into a separate class. 2015-05-26 12:02:26 -07:00
Uma Maheswara Rao G
c99c337928 HDFS-8391. NN should consider current EC tasks handling count from DN while assigning new tasks. Contributed by Uma Maheswara Rao G. 2015-05-26 12:01:51 -07:00
Vinayakumar B
bba15e06d2 HDFS-8364. Erasure coding: fix some minor bugs in EC CLI (Contributed by Walter Su) 2015-05-26 12:01:51 -07:00
Zhe Zhang
9798065cbb HDFS-8195. Erasure coding: Fix file quota change when we complete/commit the striped blocks. Contributed by Takuya Fukudome. 2015-05-26 12:01:50 -07:00
yliu
8da9e18dad HDFS-8363. Erasure Coding: DFSStripedInputStream#seekToNewSource. (yliu) 2015-05-26 12:01:50 -07:00
Zhe Zhang
54d2827522 HDFS-8368. Erasure Coding: DFS opening a non-existent file need to be handled properly. Contributed by Rakesh R. 2015-05-26 12:01:50 -07:00
Jing Zhao
97a2396af6 HDFS-8372. Erasure coding: compute storage type quotas for striped files, to be consistent with HDFS-8327. Contributed by Zhe Zhang. 2015-05-26 12:01:50 -07:00
Zhe Zhang
8d3030f064 HDFS-7678. Erasure coding: DFSInputStream with decode functionality (pread). Contributed by Zhe Zhang. 2015-05-26 12:01:49 -07:00
Zhe Zhang
6bacaa9a52 HDFS-7936. Erasure coding: resolving conflicts in the branch when merging trunk changes (this commit is for HDFS-8327 and HDFS-8357). Contributed by Zhe Zhang. 2015-05-26 12:01:49 -07:00
Jing Zhao
51ea117f88 HDFS-8355. Erasure Coding: Refactor BlockInfo and BlockInfoUnderConstruction. Contributed by Tsz Wo Nicholas Sze. 2015-05-26 12:01:49 -07:00
Jing Zhao
9da927540f HDFS-8289. Erasure Coding: add ECSchema to HdfsFileStatus. Contributed by Yong Zhang. 2015-05-26 12:01:49 -07:00
Jing Zhao
a17cedb44c HDFS-8203. Erasure Coding: Seek and other Ops in DFSStripedInputStream. Contributed by Yi Liu. 2015-05-26 12:01:48 -07:00
Uma Maheswara Rao G
ac97edd1ab HDFS-8129. Erasure Coding: Maintain consistent naming for Erasure Coding related classes - EC/ErasureCoding. Contributed by Uma Maheswara Rao G 2015-05-26 12:01:48 -07:00
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
Uma Maheswara Rao G
e849be2d31 HDFS-8324. Add trace info to DFSClient#getErasureCodingZoneInfo(..). Contributed by Vinayakumar B 2015-05-26 11:59:58 -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
1a31f1c303 HDFS-8183. Erasure Coding: Improve DFSStripedOutputStream closing of datastreamer threads. Contributed by Rakesh R. 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
Zhe Zhang
b00c663877 HDFS-8272. Erasure Coding: simplify the retry logic in DFSStripedInputStream (stateful read). Contributed by Jing Zhao 2015-05-26 11:59:55 -07:00
Jing Zhao
1a8139e6ad Fix merge conflicts. 2015-05-26 11:59:55 -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
Vinayakumar B
5eb17e5726 HDFS-8189. ClientProtocol#createErasureCodingZone API was wrongly annotated as Idempotent (Contributed by Vinayakumar B) 2015-05-26 11:59:55 -07:00
Vinayakumar B
f9eb95c31d HDFS-8230. Erasure Coding: Ignore DatanodeProtocol#DNA_ERASURE_CODING_RECOVERY commands from standbynode if any (Contributed by Vinayakumar B) 2015-05-26 11:59:54 -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
3f2c6938f1 HDFS-8223. Should calculate checksum for parity blocks in DFSStripedOutputStream. Contributed by Yi Liu. 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
Uma Maheswara Rao G
014d8675c5 HDFS-8024. Erasure Coding: ECworker frame, basics, bootstraping and configuration. (Contributed by Uma Maheswara Rao G) 2015-05-26 11:59:52 -07:00
Zhe Zhang
2f11109bb0 HDFS-8212. DistributedFileSystem.createErasureCodingZone should pass schema in FileSystemLinkResolver. Contributed by Tsz Wo Nicholas Sze. 2015-05-26 11:59:52 -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
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