Commit Graph

4950 Commits

Author SHA1 Message Date
Jing Zhao
dc7a061668 HDFS-8891. HDFS concat should keep srcs order. Contributed by Yong Zhang. 2015-08-14 14:42:43 -07:00
Tsz-Wo Nicholas Sze
2bc0a4f299 HDFS-8824. Do not use small blocks for balancing the cluster. 2015-08-14 13:03:19 -07:00
Xiaoyu Yao
1569228ec9 HDFS-8565. Typo in dfshealth.html - Decomissioning. (nijel via xyao) 2015-08-14 12:34:31 -07:00
Vinayakumar B
84bf71295a HDFS-8270. create() always retried with hardcoded timeout when file already exists with open lease (Contributed by J.Andreina)
Moved to 2.6.1
2015-08-14 16:13:30 +05:30
Vinayakumar B
08bd4edf40 HDFS-7225. Remove stale block invalidation work when DN re-registers with different UUID. (Zhe Zhang and Andrew Wang)
Moved to 2.6.1
2015-08-14 12:38:00 +05:30
Vinayakumar B
fa2641143c HDFS-7263. Snapshot read can reveal future bytes for appended files. Contributed by Tao Luo.
Moved CHANGES.txt entry to 2.6.1
2015-08-14 11:45:43 +05:30
Vinayakumar B
f2b4bc9b6a HDFS-7235. DataNode#transferBlock should report blocks that don't exist using reportBadBlock (yzhang via cmccabe)
Moved CHANGES.txt entry to 2.6.1
2015-08-14 11:37:39 +05:30
Vinayakumar B
d25cb8fe12 HDFS-7213. processIncrementalBlockReport performance degradation. Contributed by Eric Payne.
Moved CHANGES.TXT entry to 2.6.1
2015-08-14 11:23:51 +05:30
Arpit Agarwal
ae57d60d82 HDFS-7649. Multihoming docs should emphasize using hostnames in configurations. (Contributed by Brahma Reddy Battula) 2015-08-13 14:26:40 -07:00
Zhe Zhang
1d37a88121 HDFS-8854. Erasure coding: add ECPolicy to replace schema+cellSize in hadoop-hdfs. Contributed by Walter Su. 2015-08-13 10:04:45 -07:00
yliu
53bef9c5b9 HADOOP-12295. Improve NetworkTopology#InnerNode#remove logic. (yliu) 2015-08-13 16:45:20 +08:00
Akira Ajisaka
40f815131e HDFS-8622. Implement GETCONTENTSUMMARY operation for WebImageViewer. Contributed by Jagadesh Kiran N. 2015-08-13 11:31:56 +09:00
cnauroth
6cc8e38db5 HADOOP-12258. Need translate java.nio.file.NoSuchFileException to FileNotFoundException to avoid regression. Contributed by Zhihai Xu. 2015-08-12 16:44:53 -07:00
Xiaoyu Yao
3e715a4f4c HDFS-8879. Quota by storage type usage incorrectly initialized upon namenode restart. Contributed by Xiaoyu Yao. 2015-08-12 15:20:54 -07:00
Andrew Wang
1ea1a8334e HDFS-8887. Expose storage type and storage ID in BlockLocation. 2015-08-11 23:25:33 -07:00
Jing Zhao
1fc3c779a4 HDFS-8805. Archival Storage: getStoragePolicy should not need superuser privilege. Contributed by Brahma Reddy Battula. 2015-08-11 10:28:18 -07:00
Tsz-Wo Nicholas Sze
b56daff6a1 HDFS-8818. Changes the global moveExecutor to per datanode executors and changes MAX_SIZE_TO_MOVE to be configurable. 2015-08-10 16:52:02 -07:00
Jakob Homan
8f73bdd06b HDFS-8866. Typo in docs: Rumtime -> Runtime. Contributed by Gabor Liptak. 2015-08-07 11:38:31 -07:00
Jing Zhao
fbf7e81ca0 HDFS-8827. Erasure Coding: Fix NPE when NameNode processes over-replicated striped blocks. Contributed by Walter Su and Takuya Fukudome. 2015-08-07 11:25:20 -07:00
Andrew Wang
98a27d1101 HDFS-8772. Fix TestStandbyIsHot#testDatanodeRestarts which occasionally fails. Contributed by Walter Su. 2015-08-07 09:51:46 -07:00
Arpit Agarwal
6d4eee718a HDFS-8856. Make LeaseManager#countPath O(1). (Contributed by Arpit Agarwal) 2015-08-06 18:51:28 -07:00
boli2
8799363db1 HDFS-8857. Erasure Coding: Fix ArrayIndexOutOfBoundsException in TestWriteStripedFileWithFailure. Contributed by Li Bo 2015-08-05 22:11:50 -04:00
Zhe Zhang
4de48211c6 HDFS-8399. Erasure Coding: unit test the behaviour of BlockManager recovery work for the deleted blocks. Contributed by Rakesh R. 2015-08-04 15:23:39 -07:00
Jing Zhao
9312b168e2 HDFS-8804. Erasure Coding: use DirectBufferPool in DFSStripedInputStream for buffer allocation. Contributed by Jing Zhao. 2015-08-03 17:03:15 -07:00
Jing Zhao
f4c523b69b Revert "HDFS-8499. Refactor BlockInfo class hierarchy with static helper class. Contributed by Zhe Zhang."
This reverts commit c17439c2dd.
2015-08-06 10:21:55 -07:00
Jing Zhao
663eba0ab1 Revert "HDFS-8623. Refactor NameNode handling of invalid, corrupt, and under-recovery blocks. Contributed by Zhe Zhang."
This reverts commit de480d6c89.
2015-08-06 10:21:54 -07:00
Vinayakumar B
cc71ad80e1 HDFS-8815. DFS getStoragePolicy implementation using single RPC call (Contributed by Surendra Singh Lilhore) 2015-08-06 11:10:48 +05:30
Lei Xu
d5403747b5 HADOOP-12269. Update aws-sdk dependency to 1.10.6 (Thomas Demoor via Lei (Eddy) Xu) 2015-08-04 18:51:52 -07:00
Colin Patrick Mccabe
c95993cbaf HDFS-8844. TestHDFSCLI does not cleanup the test directory (Masatake Iwasaki via Colin P. McCabe) 2015-08-04 12:22:06 -07:00
yliu
9a08999906 HDFS-8850. VolumeScanner thread exits with exception if there is no block pool to be scanned but there are suspicious blocks. (Colin Patrick McCabe via yliu) 2015-08-04 15:54:23 +08:00
Zhihai Xu
90b510405a HDFS-8847. change TestHDFSContractAppend to not override testRenameFileBeingAppended method. Contributed by Zhihai Xu 2015-07-31 21:40:43 -07:00
Xiaoyu Yao
d311a38a6b HDFS-6860. BlockStateChange logs are too noisy. Contributed by Chang Li and Xiaoyu Yao. 2015-07-31 16:15:50 -07:00
Colin Patrick Mccabe
21d10ccc6e HADOOP-7824. NativeIO.java flags and identifiers must be set correctly for each platform, not hardcoded to their Linux values (Martin Walsh via Colin P. McCabe) 2015-07-31 15:01:34 -07:00
Allen Wittenauer
666cafca8d HADOOP-12249. pull argument parsing into a function (aw) 2015-07-31 14:32:21 -07:00
Zhe Zhang
ba90c02853 HDFS-8202. Improve end to end stirpping file test to add erasure recovering test. Contributed by Xinwei Qin. 2015-07-31 12:16:15 -07:00
Harsh J
c5caa25b8f HDFS-8821. Explain message "Operation category X is not supported in state standby". Contributed by Gautam Gopalakrishnan. 2015-07-31 08:58:22 +05:30
Arpit Agarwal
88d8736dde HDFS-7192. DN should ignore lazyPersist hint if the writer is not local. (Contributed by Arpit Agarwal) 2015-07-30 13:16:46 -07:00
Haohui Mai
ddc867ceb9 HDFS-8816. Improve visualization for the Datanode tab in the NN UI. Contributed by Haohui Mai. 2015-07-29 17:14:05 -07:00
Jason Lowe
6f0a35724f HADOOP-10945. 4-digit octal umask permissions throws a parse error. Contributed by Chang Li 2015-07-29 15:25:10 +00:00
Vinayakumar B
6374ee0db4 HDFS-8670. Better to exclude decommissioned nodes for namenode NodeUsage JMX (Contributed by J.Andreina) 2015-07-29 14:47:19 +05:30
Akira Ajisaka
2a1d656196 Revert "HDFS-6682. Add a metric to expose the timestamp of the oldest under-replicated block. (aajisaka)"
This reverts commit 02c01815ec.
2015-07-29 16:48:30 +09:00
Lei Xu
f4f1b8b267 HDFS-8834. TestReplication is not valid after HDFS-6482. (Contributed by Lei Xu) 2015-07-28 23:39:26 -07:00
Vinayakumar B
975e138df3 HDFS-8822. Add SSD storagepolicy tests in TestBlockStoragePolicy#testDefaultPolicies (Contributed by Vinayakumar B) 2015-07-29 11:50:48 +05:30
Vinayakumar B
50887e5b07 HDFS-8811. Move BlockStoragePolicy name's constants from HdfsServerConstants.java to HdfsConstants.java (Contributed by Vinayakumar B) 2015-07-29 11:45:33 +05:30
Jakob Homan
0712a8103f HDFS-8180. AbstractFileSystem Implementation for WebHdfs. Contributed by Sathosh G Nayak. 2015-07-28 21:03:31 -07:00
Arun Suresh
030fcfa99c HDFS-7858. Improve HA Namenode Failover detection on the client. (asuresh) 2015-07-27 23:02:03 -07:00
Xiaoyu Yao
2196e39e14 HDFS-8785. TestDistributedFileSystem is failing in trunk. Contributed by Xiaoyu Yao. 2015-07-27 07:28:41 -07:00
Akira Ajisaka
1df78688c6 HDFS-8810. Correct assertions in TestDFSInotifyEventInputStream class. Contributed by Surendra Singh Lilhore. 2015-07-27 13:17:24 +09:00
Walter Su
4a72be6e0e HDFS-8769. Erasure coding: unit test for SequentialBlockGroupIdGenerator. Contributed by Rakesh R. 2015-07-25 10:07:40 +08:00
Jing Zhao
95b499a367 HDFS-8798. Erasure Coding: fix DFSStripedInputStream/DFSStripedOutputStream re-fetch token when expired. Contributed by Walter Su. 2015-07-24 13:52:50 -07:00
Akira Ajisaka
f8f6091823 HDFS-8735. Inotify: All events classes should implement toString() API. Contributed by Surendra Singh Lilhore. 2015-07-25 02:56:55 +09:00
Akira Ajisaka
206d4933a5 HDFS-8806. Inconsistent metrics: number of missing blocks with replication factor 1 not properly cleared. Contributed by Zhe Zhang. 2015-07-24 18:28:44 +09:00
Akira Ajisaka
02c01815ec HDFS-6682. Add a metric to expose the timestamp of the oldest under-replicated block. (aajisaka) 2015-07-24 11:37:23 +09:00
Jing Zhao
c2c26e6ea7 HDFS-8813. Erasure Coding: Client no need to decode missing parity blocks. Contributed by Walter Su. 2015-07-23 11:42:02 -07:00
Haohui Mai
813cf89bb5 HDFS-8730. Clean up the import statements in ClientProtocol. Contributed by Takanobu Asanuma. 2015-07-23 10:31:11 -07:00
Arpit Agarwal
adfa34ff99 HADOOP-12161. Add getStoragePolicy API to the FileSystem interface. (Contributed by Brahma Reddy Battula) 2015-07-23 10:13:04 -07:00
Jing Zhao
e91ccfad07 HDFS-8797. WebHdfsFileSystem creates too many connections for pread. Contributed by Jing Zhao. 2015-07-22 17:42:31 -07:00
yliu
4025326288 HDFS-8795. Improve InvalidateBlocks#node2blocks. (yliu) 2015-07-22 15:16:50 +08:00
Haohui Mai
31f117138a HDFS-8495. Consolidate append() related implementation into a single class. Contributed by Rakesh R. 2015-07-21 17:25:23 -07:00
Jing Zhao
5956d23b64 HDFS-8781. Erasure Coding: Correctly handle BlockManager#InvalidateBlocks for striped block. Contributed by Yi Liu. 2015-07-21 17:00:49 -07:00
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
cnauroth
a26cc66f38 HDFS-8773. Few FSNamesystem metrics are not documented in the Metrics page. Contributed by Rakesh R. 2015-07-21 14:12:03 -07:00
cnauroth
cb03768b1b HDFS-8721. Add a metric for number of encryption zones. Contributed by Rakesh R. 2015-07-21 13:55:58 -07:00
Ravi Prakash
5137b388fc Revert "HDFS-8344. NameNode doesn't recover lease for files with missing blocks (raviprak)"
This reverts commit e4f756260f.

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
2015-07-21 11:29:35 -07:00
Allen Wittenauer
c9507fe6c1 HDFS-8800. hdfs --daemon stop namenode corrupts logs (John Smith via aw) 2015-07-21 09:41:28 -07:00
Vinayakumar B
29cf887b22 HDFS-7582. Enforce maximum number of ACL entries separately per access and default. (Contributed by Vinayakumar B) 2015-07-21 15:16:52 +05:30
Haohui Mai
df1e8ce44a HDFS-7483. Display information per tier on the Namenode UI. Contributed by Benoy Antony and Haohui Mai. 2015-07-20 20:13:12 -07:00
Akira Ajisaka
a628f67590 Move HDFS-6945 to 2.7.2 section in CHANGES.txt. 2015-07-21 11:45:00 +09:00
yliu
d6d58606b8 HDFS-8794. Improve CorruptReplicasMap#corruptReplicasMap. (yliu) 2015-07-21 09:20:22 +08:00
Aaron T. Myers
ed01dc70b2 HDFS-8657. Update docs for mSNN. Contributed by Jesse Yates. 2015-07-20 16:40:06 -07:00
Ravi Prakash
e4f756260f HDFS-8344. NameNode doesn't recover lease for files with missing blocks (raviprak) 2015-07-20 14:03:34 -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
Allen Wittenauer
ee36f4f9b8 HADOOP-10979. Auto-entries in hadoop_usage (aw) 2015-07-16 16:58:11 -07:00
Ming Ma
0bda84fd48 Move HDFS-7314 to 2.8 section in CHANGES.txt 2015-07-16 12:52:27 -07:00
Ming Ma
fbd88f1062 HDFS-7314. When the DFSClient lease cannot be renewed, abort open-for-write files rather than the entire DFSClient. (mingma) 2015-07-16 12:33:57 -07: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
Arpit Agarwal
3ec0a0444f HDFS-8778. TestBlockReportRateLimiting#testLeaseExpiration can deadlock. (Contributed by Arpit Agarwal) 2015-07-15 14:08:58 -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
Akira Ajisaka
979c9ca2ca HDFS-8742. Inotify: Support event for OP_TRUNCATE. Contributed by Surendra Singh Lilhore. 2015-07-15 04:42:08 +09:00
Kihwal Lee
59388a8015 HDFS-8722. Optimize datanode writes for small writes and flushes. Contributed by Kihwal Lee 2015-07-14 14:04:06 -05:00
Colin Patrick Mccabe
b7fb6ec451 HDFS-7608: add CHANGES.txt 2015-07-14 10:58:57 -07:00
Colin Patrick Mccabe
1d74ccecec HDFS-7608: hdfs dfsclient newConnectedPeer has no write timeout (Xiaoyu Yao via Colin P. McCabe) 2015-07-14 10:57:59 -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
Tsz-Wo Nicholas Sze
9ef03a4c5b HDFS-8541. Mover should exit with NO_MOVE_PROGRESS if there is no move progress. Contributed by Surendra Singh Lilhore 2015-07-13 15:12:26 -07:00
Tsz-Wo Nicholas Sze
f7c8311e98 Add HDFS-8143 to CHANGES.txt. 2015-07-13 14:59:45 -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
47f4c54106 HDFS-8751. Remove setBlocks API from INodeFile and misc code cleanup. Contributed by Zhe Zhang 2015-07-10 14:15:22 -07:00
Vinayakumar B
b48908033f HDFS-2956. calling fetchdt without a --renewer argument throws NPE (Contributed by Vinayakumar B)HDFS-2956. calling fetchdt without a --renewer argument throws NPE (Contributed by Vinayakumar B) 2015-07-10 15:47:04 +05:30
Akira Ajisaka
d66302ed9b HDFS-8749. Fix findbugs warnings in BlockManager.java. Contributed by Brahma Reddy Battula. 2015-07-10 15:04:06 +09: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
f4ca530c1c HDFS-8729. Fix TestFileTruncate#testTruncateWithDataNodesRestartImmediately which occasionally failed. Contributed by Walter Su. 2015-07-09 13:17:52 -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
Haohui Mai
fc6182d5ed HDFS-8726. Move protobuf files that define the client-sever protocols to hdfs-client. Contributed by Haohui Mai. 2015-07-08 10:37:10 -07:00
Arpit Agarwal
4119ad3112 HDFS-8642. Make TestFileTruncate more reliable. (Contributed by Rakesh R) 2015-07-08 09:31:02 -07:00
Vinayakumar B
bd4e10900c HDFS-8712. Remove 'public' and 'abstract' modifiers in FsVolumeSpi and FsDatasetSpi (Contributed by Lei (Eddy) Xu) 2015-07-08 16:34:54 +05:30
Haohui Mai
c0b8e4e5b5 HDFS-8620. Clean up the checkstyle warinings about ClientProtocol. Contributed by Takanobu Asanuma. 2015-07-07 14:01:19 -07:00
Xiaoyu Yao
b68701b7b2 HDFS-8711. setSpaceQuota command should print the available storage type when input storage type is wrong. Contributed by Brahma Reddy Battula. 2015-07-07 13:50:49 -07:00
Jing Zhao
bc99aaffe7 Revert "HDFS-8652. Track BlockInfo instead of Block in CorruptReplicasMap. Contributed by Jing Zhao."
This reverts commit d62b63d297.
2015-07-07 10:13:41 -07:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.)
bf89ddb9b8 Release process for 2.7.1: Set the release date for 2.7.1. 2015-07-06 16:39:59 -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
Jing Zhao
d62b63d297 HDFS-8652. Track BlockInfo instead of Block in CorruptReplicasMap. Contributed by Jing Zhao. 2015-07-06 15:54:25 -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
fc92d3e651 HDFS-8686. WebHdfsFileSystem#getXAttr(Path p, final String name) doesn't work if namespace is in capitals (Contributed by kanaka kumar avvaru) 2015-07-06 16:09:24 +05:30
Vinayakumar B
2eae130ab9 HDFS-8577. Avoid retrying to recover lease on a file which does not exist (Contributed by J.Andreina) 2015-07-03 13:35:48 +05:30
Andrew Wang
5fddc5177d HDFS-8709. Clarify automatic sync in FSEditLog#logEdit. 2015-07-02 10:26:40 -07:00
Vinayakumar B
bff5999d07 HDFS-8703. Merge refactor of DFSInputStream from ErasureCoding branch (Contributed by Vinayakumar B) 2015-07-02 16:11:50 +05:30
Colin Patrick Mccabe
a78d5074fb HADOOP-12171. Shorten overly-long htrace span names for server (cmccabe) 2015-07-01 17:57:11 -07:00
Jing Zhao
152e5df3b6 HDFS-8666. Speedup the TestMover test. Contributed by Walter Su. 2015-07-01 14:59:50 -07:00
Arpit Agarwal
ec0dc71cab HDFS-8706. Fix typo in datanode startup options in HDFSCommands.html. (Controibuted by Brahma Reddy Battula) 2015-07-01 10:36:04 -07:00
Colin Patrick Mccabe
68e588cbee HADOOP-10798. globStatus() should always return a sorted list of files (cmccabe) 2015-06-30 16:40:21 -07:00
Colin Patrick Mccabe
29df73dc05 HDFS-8635. Migrate HDFS native build to new CMake framework (Alan Burlison via Colin P. McCabe) 2015-06-30 15:54:38 -07:00
Vinayakumar B
7ba5bbac02 HDFS-8627. NPE thrown if unable to fetch token from Namenode (Contributed by J.Andreina) 2015-06-30 15:42:59 +05:30
Vinayakumar B
6d99017f38 HADOOP-12154. FileSystem#getUsed() returns the file length only from root '/' (Contributed by J.Andreina) 2015-06-30 15:25:20 +05:30
Vinayakumar B
77588e1d32 HDFS-8579. Update HDFS usage with missing options (Contributed by J.Andreina) 2015-06-30 15:00:22 +05:30
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
Haohui Mai
d3797f9f3c HDFS-8493. Consolidate truncate() related implementation in a single class. Contributed by Rakesh R. 2015-06-29 16:45:35 -07:00
Arpit Agarwal
8e333720e1 HDFS-8687. Remove the duplicate usage message from Dfsck.java. (Contributed by Brahma Reddy Battula) 2015-06-29 14:56:42 -07:00
Yongjun Zhang
43a1288fff HDFS-8659. Block scanner INFO message is spamming logs. Contributed by Yongjun Zhang. 2015-06-29 14:43:56 -07:00
Andrew Wang
2ffd84273a HDFS-8653. Code cleanup for DatanodeManager, DatanodeDescriptor and DatanodeStorageInfo. Contributed by Zhe Zhang. 2015-06-29 12:12:41 -07:00
Benoy Antony
d3fed8e653 HDFS-7390. Provide JMX metrics per storage type. (Benoy Antony) 2015-06-29 11:00:22 -07:00
Vinayakumar B
fde20ffcef HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) 2015-06-29 16:50:48 +05:30
Vinayakumar B
88ceb382ef HDFS-8586. Dead Datanode is allocated for write when client is from deadnode (Contributed by Brahma Reddy Battula) 2015-06-29 15:25:03 +05:30
Vinod Kumar Vavilapalli
aad6a7d5db Adding release 2.7.2 to CHANGES.txt. 2015-06-28 16:29:12 -07:00
Arpit Agarwal
c6793dd8cc HDFS-8681. BlockScanner is incorrectly disabled by default. (Contributed by Arpit Agarwal) 2015-06-28 14:51:36 -07:00
Andrew Wang
60b858bfa6 HDFS-8656. Preserve compatibility of ClientProtocol#rollingUpgrade after finalization. 2015-06-26 11:30:59 -07:00
Jing Zhao
de480d6c89 HDFS-8623. Refactor NameNode handling of invalid, corrupt, and under-recovery blocks. Contributed by Zhe Zhang. 2015-06-26 10:49:01 -07:00
Colin Patrick Mccabe
1b764a01fd HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison via Colin P. McCabe) 2015-06-26 10:22:40 -07:00
Andrew Wang
1403b84b12 HDFS-8546. Use try with resources in DataStorage and Storage. 2015-06-25 17:50:32 -07:00
Andrew Wang
ff0e5e572f HDFS-8665. Fix replication check in DFSTestUtils#waitForReplication. 2015-06-25 17:29:24 -07:00
Arpit Agarwal
67a62da5c5 HDFS-8640. Make reserved RBW space visible through JMX. (Contributed by kanaka kumar avvaru) 2015-06-25 10:13:22 -07:00
Akira Ajisaka
bc433908d3 HDFS-8462. Implement GETXATTRS and LISTXATTRS operations for WebImageViewer. Contributed by Jagadesh Kiran N. 2015-06-26 00:20:12 +09:00
Andrew Wang
afe9ea3c12 HDFS-8646. Prune cached replicas from DatanodeDescriptor state on replica invalidation. 2015-06-24 14:42:33 -07:00
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
2ba6465721 HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. 2015-06-23 22:16:16 -07:00
Aaron T. Myers
49dfad9429 HDFS-6440. Support more than 2 NameNodes. Contributed by Jesse Yates. 2015-06-23 17:26:11 -07:00
Haohui Mai
122cad6aec HDFS-6564. Use slf4j instead of common-logging in hdfs-client. Contributed by Rakesh R. 2015-06-23 11:41:40 -07:00
Jakob Homan
fac4e04dd3 HDFS-8542. WebHDFS getHomeDirectory behavior does not match specification. Contributed by Kanaka Kumar Avvaru. 2015-06-22 16:30:45 -07:00
Colin Patrick Mccabe
7b424f938c HDFS-8480. Fix performance and timeout issues in HDFS-7929 by using hard-links to preserve old edit logs, instead of copying them. (Zhe Zhang via Colin P. McCabe) 2015-06-22 14:37:10 -07:00
Andrew Wang
5590e914f5 Move HDFS-4366 to 2.8.0 in CHANGES.txt 2015-06-22 14:18:55 -07:00
Arpit Agarwal
c7d022b66f HDFS-8192. Eviction should key off used locked memory instead of ram disk free space. (Contributed by Arpit Agarwal) 2015-06-20 13:27:52 -07:00
Arpit Agarwal
658b5c84ae HDFS-7164. Update CHANGES.txt 2015-06-20 13:08:52 -07:00
Yongjun Zhang
bcb3c40bed Move HDFS-7546 to release 2.7.1 in CHANGES.txt. 2015-06-20 00:41:35 -07:00
Yongjun Zhang
20c03c9606 Move HDFS-8337 to branch 2.8 in CHANGES.txt. 2015-06-20 00:25:33 -07:00
Yongjun Zhang
971dc838ec HDFS-8337. Accessing httpfs via webhdfs doesn't work from a jar with kerberos. Contributed by Yongjun Zhang. 2015-06-19 23:39:13 -07:00
Colin Patrick Mccabe
d112d18324 HDFS-8582. Support getting a list of reconfigurable config properties and do not generate spurious reconfig warnings (Lei (Eddy) Xu via Colin P. McCabe) 2015-06-19 19:14:05 -07:00
Arpit Agarwal
55278c012f HDFS-8626. Reserved RBW space is not released if creation of RBW File fails. (Contributed by kanaka kumar avvaru) 2015-06-19 18:23:34 -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
Yongjun Zhang
b42f1ec13d HDFS-8633. Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml to match DFSConfigKeys. Contributed by Ray Chiang. 2015-06-19 09:47:31 -07:00
Andrew Wang
1c13519e1e HDFS-8605. Merge Refactor of DFSOutputStream from HDFS-7285 branch. (vinayakumarb) 2015-06-18 08:48:09 -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
Akira Ajisaka
cc432885ad HDFS-6249. Output AclEntry in PBImageXmlWriter. Contributed by surendra singh lilhore. 2015-06-17 17:41:10 -07:00
Akira Ajisaka
1a169a26bc HDFS-8615. Correct HTTP method in WebHDFS document. Contributed by Brahma Reddy Battula. 2015-06-17 17:13:02 -07:00
Colin Patrick Mccabe
45ced38f10 HDFS-8589. Fix unused imports in BPServiceActor and BlockReportLeaseManager (cmccabe) 2015-06-17 17:01:42 -07:00
Haohui Mai
015535dc0a HDFS-8446. Separate safemode related operations in GetBlockLocations(). Contributed by Haohui Mai. 2015-06-17 16:38:43 -07:00
Haohui Mai
2de586f60d Update CHANGES.txt for HDFS-8238. 2015-06-17 16:19:45 -07:00
Haohui Mai
b832774488 HDFS-8238. Move ClientProtocol to the hdfs-client. Contributed by Takanobu Asanuma. 2015-06-17 16:16:36 -07:00
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
Andrew Wang
6e3fcffe29 HDFS-8608. Merge HDFS-7912 to trunk and branch-2 (track BlockInfo instead of Block in UnderReplicatedBlocks and PendingReplicationBlocks). Contributed by Zhe Zhang. 2015-06-17 08:05:44 -07:00
Arpit Agarwal
5dbc8c9cb0 HDFS-7164. Feature documentation for HDFS-6581. (Contributed by Arpit Agarwal) 2015-06-16 19:05:44 -07:00
Tsz-Wo Nicholas Sze
d4929f448f HDFS-8606. Cleanup DFSOutputStream by removing unwanted changes from HDFS-8386. Contributed by Rakesh R 2015-06-16 18:08:29 -07:00
Xiaoyu Yao
9cd5ad9d84 HDFS-8551. Fix hdfs datanode CLI usage message. Contributed by Brahma Reddy Battula. 2015-06-16 14:12:45 -07:00
Xiaoyu Yao
6a76250b39 HDFS-8548. Minicluster throws NPE on shutdown. Contributed by surendra singh lilhore. 2015-06-16 13:57:02 -07:00
Kihwal Lee
c74517c46b HDFS-4660. Block corruption can happen during pipeline recovery. Contributed by Kihwal Lee. 2015-06-16 15:40:16 -05:00
Xiaoyu Yao
4e88ff5b27 HDFS-8597. Fix TestFSImage#testZeroBlockSize on Windows. Contributed by Xiaoyu Yao. 2015-06-16 12:38:07 -07:00
Andrew Wang
a3990ca414 HDFS-8591. Remove support for deprecated configuration key dfs.namenode.decommission.nodes.per.interval. 2015-06-16 10:03:34 -07:00
Haohui Mai
32e39d8a29 HDFS-8592. SafeModeException never get unwrapped. Contributed by Haohui Mai. 2015-06-15 22:07:24 -07:00
Tsz-Wo Nicholas Sze
175e6d120f HDFS-8361. Choose SSD over DISK in block placement. 2015-06-15 17:12:01 -07:00
Tsz-Wo Nicholas Sze
1b6695a4c0 Move HDFS-8540 to 2.8 in CHANGES.txt. 2015-06-15 17:01:55 -07:00
Tsz-Wo Nicholas Sze
321940cf19 HDFS-8540. Mover should exit with NO_MOVE_BLOCK if no block can be moved. Contributed by surendra singh lilhore 2015-06-15 16:26:53 -07:00
Tsz-Wo Nicholas Sze
2cb09e98e3 HDFS-8576. Lease recovery should return true if the lease can be released and the file can be closed. Contributed by J.Andreina 2015-06-15 16:07:38 -07:00
Arpit Agarwal
32ffda1266 HDFS-8607. TestFileCorruption doesn't work as expected. (Contributed by Walter Su) 2015-06-15 10:11:53 -07:00
Arpit Agarwal
4c5da9bd94 HDFS-8595. TestCommitBlockSynchronization fails in branch-2.7. (Patch applies to all branches). (Contributed by Arpit Agarwal) 2015-06-14 16:24:30 -07:00
Yongjun Zhang
b0dc291961 HDFS-8596. TestDistributedFileSystem et al tests are broken in branch-2 due to incorrect setting of "datanode" attribute. Contributed by Yongjun Zhang. 2015-06-14 11:39: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
cnauroth
b8341f1cd8 HDFS-8593. Calculation of effective layout version mishandles comparison to current layout version in storage. Contributed by Chris Nauroth. 2015-06-13 10:37:52 -07: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
Haohui Mai
eef7b50e23 HDFS-8572. DN always uses HTTP/localhost@REALM principals in SPNEGO. Contributed by Haohui Mai. 2015-06-12 14:45:34 -07:00
Andrew Wang
c17439c2dd HDFS-8499. Refactor BlockInfo class hierarchy with static helper class. Contributed by Zhe Zhang. 2015-06-12 11:38:39 -07:00
Colin Patrick Mccabe
46b0b4179c Add HDFS-7923 to CHANGES.txt 2015-06-12 11:28:18 -07:00
Colin Patrick Mccabe
12b5b06c06 HDFS-7923. The DataNodes should rate-limit their full block reports by asking the NN on heartbeat messages (cmccabe) 2015-06-12 11:17:51 -07:00
Akira Ajisaka
e4489d97e5 HADOOP-11971. Move test utilities for tracing from hadoop-hdfs to hadoop-common. Contributed by Masatake Iwasaki. 2015-06-12 07:25:15 -07:00
Arpit Agarwal
83e8110f87 HDFS-8583. Document that NFS gateway does not work with rpcbind on SLES 11. (Arpit Agarwal) 2015-06-11 15:08:56 -07:00
Colin Patrick Mccabe
587309bbba HDFS-8566. HDFS documentation about debug commands wrongly identifies them as "hdfs dfs" commands (Surendra Singh Lilhore via Colin P. McCabe) 2015-06-11 14:26:22 -07:00
Andrew Wang
b258b344bb HDFS-8573. Move creation of restartMeta file logic from BlockReceiver to ReplicaInPipeline. Contributed by Eddy Xu. 2015-06-11 10:12:31 -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
Andrew Wang
a7a7768341 HDFS-8549. Abort the balancer if an upgrade is in progress. 2015-06-10 13:42:57 -07: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
Arpit Agarwal
3107434031 HADOOP-12078. The default retry policy does not handle RetriableException correctly. (Contributed by Arpit Agarwal) 2015-06-09 20:58:39 -07:00
Xiaoyu Yao
3c2397cb04 HDFS-8568. TestClusterId#testFormatWithEmptyClusterIdOption is failing. Contributed by Rakesh R. 2015-06-09 12:16:24 -07:00
Xiaoyu Yao
927577c87c HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by Brahma Reddy Battula 2015-06-08 21:57:26 -07:00
cnauroth
d2832b3d42 HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. 2015-06-08 16:15:38 -07:00
cnauroth
0e80d51983 HDFS-8554. TestDatanodeLayoutUpgrade fails on Windows. Contributed by Chris Nauroth. 2015-06-08 08:39:02 -07:00
cnauroth
a6cb4894b4 HDFS-8539. Hdfs doesnt have class debug in windows. Contributed by Anu Engineer. 2015-06-07 13:01:43 -07:00
Xiaoyu Yao
b61b489995 HDFS-8116. Cleanup uncessary if LOG.isDebugEnabled() from RollingWindowManager. Contributed by Brahma Reddy Battula. 2015-06-06 18:47:45 -07:00
cnauroth
71de367c5e HDFS-8432. Introduce a minimum compatible layout version to allow downgrade in more rolling upgrade use cases. Contributed by Chris Nauroth. 2015-06-06 09:43:47 -07:00
cnauroth
e46cb80002 HADOOP-12055. Deprecate usage of NativeIO#link. Contributed by Andrew Wang. 2015-06-06 09:17:03 -07:00
Xiaoyu Yao
3841d09765 HDFS-8522. Change heavily recorded NN logs from INFO to DEBUG level. (Contributed by Xiaoyu Yao) 2015-06-05 15:09:24 -07: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
Andrew Wang
b2540f486e HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. 2015-06-04 15:35:07 -07:00
Andrew Wang
5149dc7b97 HDFS-8532. Make the visibility of DFSOutputStream#streamer member variable to private. Contributed by Rakesh R. 2015-06-04 11:09:19 -07:00
Kihwal Lee
ade6d9a61e HDFS-8463. Calling DFSInputStream.seekToNewSource just after stream creation causes NullPointerException. Contributed by Masatake Iwasaki. 2015-06-04 12:51:00 -05: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
Vinayakumar B
c59e745630 HDFS-3716. Purger should remove stale fsimage ckpt files (Contributed by J.Andreina) 2015-06-03 15:30:40 +05:30
Vinayakumar B
444a4510c8 HDFS-8523. Remove usage information on unsupported operation 'fsck -showprogress' from branch-2 (Contributed by J.Andreina)
Merged CHANGES.txt from branch-2.7

(cherry picked from commit 0ed9c2d8fec93b5dac9c305eda272ad8dfd869a9)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md

(cherry picked from commit dd98cfd328dddb01a1220786d28a80195021611b)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
2015-06-03 15:20:42 +05:30
Vinayakumar B
e965dcec37 HDFS-8470. fsimage loading progress should update inode, delegation token and cache pool count. (Contributed by surendra singh lilhore) 2015-06-03 14:24:55 +05:30
Vinayakumar B
54f83d9bd9 HDFS-8270. create() always retried with hardcoded timeout when file already exists with open lease (Contributed by J.Andreina) 2015-06-03 12:11:46 +05:30
Colin Patrick Mccabe
806e407ac8 HDFS-8521. Add VisibleForTesting annotation to BlockPoolSlice#selectReplicaToDelete. (cmccabe) 2015-06-02 20:06:28 -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
Andrew Wang
c1d50a91f7 HDFS-8513. Rename BlockPlacementPolicyRackFaultTolarent to BlockPlacementPolicyRackFaultTolerant. (wang) 2015-06-02 15:48:26 -07:00
Andrew Wang
efc510a570 HDFS-8386. Improve synchronization of 'streamer' reference in DFSOutputStream. Contributed by Rakesh R. 2015-06-02 15:39:24 -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
Colin Patrick Mccabe
03fb5c6425 HDFS-8486. DN startup may cause severe data loss (Daryn Sharp via Colin P. McCabe) 2015-06-02 11:40:37 -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
Vinayakumar B
a2bd6217eb HDFS-8256. '-storagepolicies , -blockId ,-replicaDetails ' options are missed out in usage and from documentation (Contributed by J.Andreina) 2015-06-02 16:07:18 +05:30
Jing Zhao
cdc13efb1a HDFS-8489. Subclass BlockInfo to represent contiguous blocks. Contributed by Zhe Zhang. 2015-06-01 11:42:58 -07: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
Tsuyoshi Ozawa
c2356cb0bc HDFS-8490. Typo in trace enabled log in ExceptionHandler of WebHDFS. Contributed by Archana T. 2015-06-01 00:41:50 +09:00
Andrew Wang
7673d4f205 HADOOP-11885. hadoop-dist dist-layout-stitching.sh does not work with dash. (wang) 2015-05-29 14:54:18 -07:00
Jing Zhao
7817674a3a HDFS-7609. Avoid retry cache collision when Standby NameNode loading edits. Contributed by Ming Ma. 2015-05-29 11:05:13 -07:00
Vinayakumar B
b75df697e0 HDFS-7401. Add block info to DFSInputStream' WARN message when it adds node to deadNodes (Contributed by Arshad Mohammad) 2015-05-29 16:36:19 +05:30
Akira Ajisaka
d725dd8af6 HDFS-8443. Document dfs.namenode.service.handler.count in hdfs-site.xml. Contributed by J.Andreina. 2015-05-29 11:36:08 +09:00
Allen Wittenauer
ae14543420 HADOOP-12022. fix site -Pdocs -Pdist in hadoop-project-dist; cleanout remaining forrest bits (aw) 2015-05-28 13:24:01 -07:00
Colin Patrick Mccabe
a1140959da HADOOP-11894. Bump the version of Apache HTrace to 3.2.0-incubating (Masatake Iwasaki via Colin P. McCabe) 2015-05-28 12:00:55 -07:00
Colin Patrick Mccabe
d2d95bfe88 HDFS-8407. libhdfs hdfsListDirectory must set errno to 0 on success (Masatake Iwasaki via Colin P. McCabe) 2015-05-28 11:38:06 -07:00
cnauroth
50eeea1300 HDFS-8431. hdfs crypto class not found in Windows. Contributed by Anu Engineer. 2015-05-27 22:54:10 -07:00
Allen Wittenauer
bf500d9798 HDFS-5033. Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read the source (Darrell Taylor via aw) 2015-05-27 16:51:34 -07:00
Andrew Wang
4928f54733 HDFS-8482. Rename BlockInfoContiguous to BlockInfo. Contributed by Zhe Zhang. 2015-05-27 15:42:07 -07:00
Haohui Mai
c46d4bafe1 Update CHANGES.txt for HDFS-8135. 2015-05-27 11:07:15 -07:00
Akira Ajisaka
bb1816328a HADOOP-11242. Record the time of calling in tracing span of IPC server. Contributed by Mastake Iwasaki. 2015-05-27 18:04:40 +09: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
Colin Patrick Mccabe
7dba7005b7 HADOOP-11969. ThreadLocal initialization in several classes is not thread safe (Sean Busbey via Colin P. McCabe) 2015-05-26 12:15:46 -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
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
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