Commit Graph

11142 Commits

Author SHA1 Message Date
Jing Zhao f8f7a923b7 HDFS-8760. Erasure Coding: reuse BlockReader when reading the same block in pread. Contributed by Jing Zhao. 2015-07-21 15:47:26 -07:00
Jing Zhao 29495cb8f6 HADOOP-12060. Fix ByteBuffer usage for raw erasure coders. Contributed by Kai Zheng. 2015-07-20 10:15:14 -07:00
Walter Su 06394e3760 HDFS-8433. Erasure coding: set blockToken in LocatedStripedBlock. Contributed by Walter Su. 2015-07-20 10:18:34 +08:00
Zhe Zhang 4fdd9abd7e HDFS-8787. Erasure coding: rename BlockInfoContiguousUC and BlockInfoStripedUC to be consistent with trunk. 2015-07-15 20:13:04 -07:00
Zhe Zhang 7e091de136 HDFS-8058. Erasure coding: use BlockInfo[] for both striped and contiguous blocks in INodeFile. Contributed by Zhe Zhang and Yi Liu. 2015-07-15 09:49:32 -07:00
yliu f32d9a1758 HDFS-8619. Erasure Coding: revisit replica counting for striped blocks. (Jing Zhao via yliu) 2015-07-15 22:35:19 +08:00
Jing Zhao 0a93712f3b HDFS-8734. Erasure Coding: fix one cell need two packets. Contributed by Walter Su. 2015-07-14 13:10:51 -07:00
Jing Zhao 6ff957be88 HDFS-8702. Erasure coding: update BlockManager.blockHasEnoughRacks(..) logic for striped block. Contributed by Kai Sasaki. 2015-07-14 10:55:58 -07:00
Jing Zhao b1e6429a6b HDFS-8669. Erasure Coding: handle missing internal block locations in DFSStripedInputStream. Contributed by Jing Zhao. 2015-07-13 11:41:18 -07:00
boli2 f4098dfae4 HDFS-8744. Erasure Coding: the number of chunks in packet is not updated when writing parity data. Contributed by Li Bo 2015-07-13 00:41:36 -04:00
Jing Zhao e692c7dd92 HDFS-8484. Erasure coding: Two contiguous blocks occupy IDs belong to same striped group. Contributed by Walter Su. 2015-07-09 14:07:37 -07:00
Jing Zhao 2470a7bf88 HDFS-8563. Erasure Coding: fsck handles file smaller than a full stripe. Contributed by Walter Su. 2015-07-09 10:55:28 -07:00
Walter Su 48f3830f21 HDFS-8719. Erasure Coding: client generates too many small packets when writing parity data. Contributed by Li Bo. 2015-07-09 16:18:05 +08:00
Zhe Zhang 42a1d0dbde Addendum fix for HDFS-8323 (adding back a mistakenly deleted line). 2015-07-08 22:52:09 -07:00
Jing Zhao 2c494a8436 HDFS-8461. Erasure coding: fix priority level of UnderReplicatedBlocks for striped block. Contributed by Walter Su. 2015-07-06 16:39:47 -07:00
yliu ee01a09500 HDFS-8684. Erasure Coding: fix some block number calculation for striped block. (yliu) 2015-07-06 19:14:18 +08:00
Vinayakumar B 0b7af27b9a HDFS-8468. 2 RPC calls for every file read in DFSClient#open(..) resulting in double Audit log entries (Contributed by Vinayakumar B) 2015-06-30 11:02:13 +05:30
Tsz-Wo Nicholas Sze 093907d728 HDFS-8253. DFSStripedOutputStream.closeThreads releases cellBuffers multiple times. Contributed by Kai Sasaki 2015-06-24 23:39:05 +08:00
Jing Zhao d920cdab91 HDFS-8567. Erasure Coding: SafeMode handles file smaller than a full stripe. Contributed by Walter Su. 2015-06-23 22:29:28 -07:00
Jing Zhao 8c423a8163 HDFS-8602. Erasure Coding: Client can't read(decode) the EC files which have corrupt blocks. Contributed by Jing Zhao and Kai Sasaki. 2015-06-19 14:07:38 -07:00
Jing Zhao 448cb7df67 HDFS-8543. Erasure Coding: processOverReplicatedBlock() handles striped block. Contributed by Walter Su. 2015-06-19 11:53:05 -07:00
Jing Zhao 3682e01984 HDFS-8254. Avoid assigning a leading streamer in StripedDataStreamer to tolerate datanode failure. Contributed by Tsz Wo Nicholas Sze. 2015-06-19 10:23:45 -07:00
Vinayakumar B 05c696882e HDFS-8466. Refactor BlockInfoContiguous and fix NPE in TestBlockInfo#testCopyConstructor() (Contributed by Vinayakumar B)
Missed CHANGES.txt entry
2015-06-18 14:19:49 +05:30
Vinayakumar B 62c5a879ef HDFS-8466. Refactor BlockInfoContiguous and fix NPE in TestBlockInfo#testCopyConstructor() (Contributed by Vinayakumar B) 2015-06-18 14:15:01 +05:30
Jing Zhao c12a974ccf HDFS-8580. Erasure coding: Persist cellSize in BlockInfoStriped and StripedBlocksFeature. Contributed by Walter Su. 2015-06-17 11:35:31 -07:00
yliu 49d5cff490 HDFS-8559. Erasure Coding: fix non-protobuf fsimage for striped blocks. (Jing Zhao via yliu) 2015-06-14 15:39:19 +08:00
Jing Zhao 683332b36d HDFS-8585. Erasure Coding: Remove dataBlockNum and parityBlockNum from StripedBlockProto. Contributed by Yi Liu. 2015-06-12 14:48:53 -07:00
Vinayakumar B 98d340745b HDFS-8450. Erasure Coding: Consolidate erasure coding zone related implementation into a single class (Contributed by Rakesh R) 2015-06-11 10:48:02 +05:30
Walter Su b7d6ea8e91 HDFS-8571. Fix TestErasureCodingCli test. Contributed by Vinayakumar B. 2015-06-11 10:26:07 +08:00
Vinayakumar B c5d4652ded HDFS-8556. Erasure Coding: Fix usage of 'createZone' (Contributed by Vinayakumar B) 2015-06-10 10:42:45 +05:30
Kai Zheng e299fe86b8 HDFS-8557 Allow to configure RS and XOR raw coders. Contributed by Kai Zheng 2015-06-10 15:35:26 +08:00
Kai Zheng c41b02cc00 HADOOP-12065 Using more meaningful keys in EC schema. Contributed by Kai Zheng 2015-06-08 20:24:17 +08:00
Zhe Zhang 2eee19cd1d HDFS-8460. Erasure Coding: stateful read result doesn't match data occasionally because of flawed test. Contributed by Walter Su. 2015-06-05 13:39:37 -07:00
Zhe Zhang c0929ab3c2 HDFS-8319. Erasure Coding: support decoding for stateful read. Contributed by Jing Zhao. 2015-06-04 18:16:41 -07:00
yliu a31eada33a HDFS-8328. Follow-on to update decode for DataNode striped blocks reconstruction. (yliu) 2015-06-04 14:41:38 +08:00
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
Kai Zheng 0799e1e4b6 HADOOP-12011 Allow to dump verbose information to ease debugging in raw erasure coders. Contributed by Kai Zheng 2015-06-02 22:05:16 +08:00
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
Zhe Zhang c9e0268216 Addendum fix for HDFS-7912. 2015-05-26 12:32:16 -07:00
Kai Zheng 4ad484883f HADOOP-11847 Enhance raw coder allowing to read least required inputs in decoding. Contributed by Kai Zheng 2015-05-26 12:07:16 -07:00
Vinayakumar B 5a391e1d25 HADOOP-12029. Remove chunkSize from ECSchema as its not required for coders (Contributed by Vinayakumar B) 2015-05-26 12:07:16 -07:00
Vinayakumar B 80c56c2d31 HDFS-8408. Revisit and refactor ErasureCodingInfo (Contributed by Vinayakumar B)
Added missed file
2015-05-26 12:07:15 -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