Commit Graph

78 Commits

Author SHA1 Message Date
Zhe Zhang 673280df24 HDFS-7621. Erasure Coding: update the Balancer/Mover data migration logic. Contributed by Walter Su. 2015-06-03 11:51:58 -07:00
Jing Zhao 5f15084bd5 HDFS-8453. Erasure coding: properly handle start offset for internal blocks in a block group. Contributed by Zhe Zhang. 2015-06-02 16:14:08 -07:00
Jing Zhao 71329e817b HDFS-8517. Fix a decoding issue in stripped block recovering in client side. Contributed by Kai Zheng. 2015-06-02 15:35:49 -07:00
Vinayakumar B 2d847e7d62 HDFS-8444. Erasure Coding: fix cannot rename a zone dir (Contributed by Walter Su) 2015-06-02 16:41:19 +05:30
Vinayakumar B 9b54e66f3e HDFS-8336. Expose some administrative erasure coding operations to HdfsAdmin (Contributed by Uma Maheswara Rao G) 2015-06-02 16:38:43 +05:30
Zhe Zhang 014bd32c58 HDFS-8481. Erasure coding: remove workarounds in client side stripped blocks recovering. Contributed by Zhe Zhang. 2015-06-01 09:37:29 -07:00
Jing Zhao 1299357a05 HDFS-8479. Erasure coding: fix striping related logic in FSDirWriteFileOp to sync with HDFS-8421. Contributed by Zhe Zhang. 2015-05-26 16:06:50 -07:00
Vinayakumar B 9a18598e2d HDFS-8408. Revisit and refactor ErasureCodingInfo (Contributed by Vinayakumar B) 2015-05-26 12:07:15 -07:00
Kai Zheng b30e96bfb4 HDFS-8382 Remove chunkSize and initialize from erasure coder. Contributed by Kai Zheng 2015-05-26 12:07:15 -07:00
Tsz-Wo Nicholas Sze 0ed92e5b13 HDFS-7768. Change fsck to support EC files. Contributed by Takanobu Asanuma 2015-05-26 12:07:15 -07:00
Walter Su 3d734df24c HDFS-8441. Erasure Coding: make condition check earlier for setReplication. (waltersu4549) 2015-05-26 12:07:09 -07:00
Zhe Zhang 7af05a3db4 HDFS-8294. Erasure Coding: Fix Findbug warnings present in erasure coding. Contributed by Rakesh R. 2015-05-26 12:02:34 -07:00
Zhe Zhang e53fa769c9 HDFS-8186. Erasure coding: Make block placement policy for EC file configurable. Contributed by Walter Su. 2015-05-26 12:02:34 -07:00
Jing Zhao 744ef17792 HDFS-8427. Remove dataBlockNum and parityBlockNum from BlockInfoStriped. Contributed by Kai Sasaki. 2015-05-26 12:02:34 -07:00
Jing Zhao 45db1a0b72 HDFS-8323. Bump GenerationStamp for write faliure in DFSStripedOutputStream. Contributed by Tsz Wo Nicholas Sze. 2015-05-26 12:02:34 -07:00
Zhe Zhang 47ef869fa7 HDFS-8428. Erasure Coding: Fix the NullPointerException when deleting file. Contributed by Yi Liu. 2015-05-26 12:02:33 -07:00
Zhe Zhang 91c81fdc24 HDFS-8375. Add cellSize as an XAttr to ECZone. Contributed by Vinayakumar B. 2015-05-26 12:02:33 -07:00
Walter Su 914580934c HDFS-8378. Erasure Coding: Few improvements for the erasure coding worker. Contributed by Rakesh R. 2015-05-26 12:02:33 -07:00
boli2 8c95673db4 HDFS-8366. Erasure Coding: Make the timeout parameter of polling blocking queue configurable in DFSStripedOutputStream. Contributed by Li Bo 2015-05-26 12:02:32 -07:00
Zhe Zhang 7434c44b16 HDFS-8320. Erasure coding: consolidate striping-related terminologies. Contributed by Zhe Zhang and Jing Zhao. 2015-05-26 12:02:32 -07:00
Jing Zhao b008348dbf HDFS-8418. Fix the isNeededReplication calculation for Striped block in NN. Contributed by Yi Liu. 2015-05-26 12:02:32 -07:00
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
Kai Zheng c9103e9cac HDFS-8367 BlockInfoStriped uses EC schema. Contributed by Kai Sasaki 2015-05-26 12:02:30 -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
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 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