Commit Graph

3421 Commits

Author SHA1 Message Date
Zhe Zhang
53358fe680 Merge remote-tracking branch 'apache/trunk' into HDFS-7285 2015-09-01 14:48:37 -07:00
Zhe Zhang
ab56fcdb12 Merge remote-tracking branch 'apache/trunk' into HDFS-7285 2015-09-01 14:30:25 -07:00
Colin Patrick Mccabe
24f6a7c956 HDFS-8965. Harden edit log reading code against out of memory errors (cmccabe) 2015-08-31 18:06:30 -07:00
yliu
8fa41d9dd4 HDFS-8946. Improve choosing datanode storage for block placement. (yliu) 2015-09-01 08:52:50 +08:00
Haohui Mai
826ae1c26d HDFS-8990. Move RemoteBlockReader to hdfs-client module. Contributed by Mingliang Liu. 2015-08-31 13:54:14 -07:00
Jing Zhao
caa04de149 HDFS-8980. Remove unnecessary block replacement in INodeFile. Contributed by Jing Zhao. 2015-08-31 11:48:09 -07:00
Arpit Agarwal
bdbe53c676 HDFS-8983. NameNode support for protected directories. (Contributed by Arpit Agarwal) 2015-08-29 09:52:37 -07:00
Haohui Mai
e2c9b288b2 HDFS-8925. Move BlockReaderLocal to hdfs-client. Contributed by Mingliang Liu. 2015-08-28 14:38:36 -07:00
Colin Patrick Mccabe
b94b56806d HDFS-8950. NameNode refresh doesn't remove DataNodes that are no longer in the allowed list (Daniel Templeton) 2015-08-28 14:21:46 -07:00
Haohui Mai
6d12cd8d60 HDFS-8938. Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager. Contributed by Mingliang Liu. 2015-08-28 14:14:32 -07:00
Kihwal Lee
b6ceee9bf4 HDFS-8865. Improve quota initialization performance. Contributed by Kihwal Lee. 2015-08-28 13:14:35 -05:00
yliu
e166c038c0 HDFS-8963. Fix incorrect sign extension of xattr length in HDFS-8900. (Colin Patrick McCabe via yliu) 2015-08-28 10:54:55 +08:00
Haohui Mai
035ed26147 Revert "HDFS-8938. Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager. Contributed by Mingliang Liu."
This reverts commit 4e9307f26d.
2015-08-27 16:09:35 -07:00
Haohui Mai
4e9307f26d HDFS-8938. Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager. Contributed by Mingliang Liu. 2015-08-27 15:36:44 -07:00
Haohui Mai
f97a0f8c2c HDFS-8969. Clean up findbugs warnings for HDFS-8823 and HDFS-8932. Contributed by Anu Engineer. 2015-08-27 13:03:16 -07:00
Haohui Mai
7e971b7315 HDFS-8962. Clean up checkstyle warnings in o.a.h.hdfs.DfsClientConf. Contributed by Mingliang Liu. 2015-08-27 09:02:34 -07:00
Harsh J
0bf285413f HDFS-2390. dfsadmin -setBalancerBandwidth does not validate -ve value. Contributed by Gautam Gopalakrishnan. 2015-08-27 16:22:48 +05:30
Walter Su
164cbe6439 HDFS-8909. Erasure coding: update BlockInfoContiguousUC and BlockInfoStripedUC to use BlockUnderConstructionFeature. Contributed by Jing Zhao. 2015-08-27 16:02:30 +08:00
Vinayakumar B
fdb56f74f3 HDFS-8682. Should not remove decommissioned node,while calculating the number of live/dead decommissioned node. (Contributed by J. Andreina) 2015-08-27 13:06:43 +05:30
Haohui Mai
4cbbfa2220 HDFS-8248. Store INodeId instead of the INodeFile object in BlockInfoContiguous. Contributed by Haohui Mai. 2015-08-26 18:14:29 -07:00
Walter Su
067ec8c2b1 HDFS-8838. Erasure Coding: Tolerate datanode failures in DFSStripedOutputStream when the data length is small. Contributed by Tsz Wo Nicholas Sze. 2015-08-27 09:11:23 +08:00
Haohui Mai
c992bcf9c1 HDFS-8951. Move the shortcircuit package to hdfs-client. Contributed by Mingliang Liu. 2015-08-26 14:02:48 -07:00
yliu
eee0d4563c HDFS-8900. Compact XAttrs to optimize memory footprint. (yliu) 2015-08-25 16:16:09 +08:00
Xiaoyu Yao
3b00eaea25 HDFS-8932. NPE thrown in NameNode when try to get TotalSyncCount metric before editLogStream initialization. Contributed by Surendra Singh Lilhore 2015-08-24 16:56:24 -07:00
Jing Zhao
bdd79388f3 HDFS-8928. Improvements for BlockUnderConstructionFeature: ReplicaUnderConstruction as a separate class and replicas as an array. Contributed by Jing Zhao. 2015-08-24 15:53:34 -07:00
Zhe Zhang
6b6a63bbbd Merge commit '456e901a4c5c639267ee87b8e5f1319f256d20c2' (HDFS-6407. Add sorting and pagination in the datanode tab of the NN Web UI. Contributed by Haohui Mai.) into HDFS-7285-merge 2015-08-24 12:59:26 -07:00
Colin Patrick Mccabe
b5ce87f84d HDFS-8930. Block report lease may leak if the 2nd full block report comes when NN is still in safemode (Colin P. McCabe via Jing Zhao) 2015-08-24 11:31:56 -07:00
Haohui Mai
490bb5ebd6 HDFS-8934. Move ShortCircuitShm to hdfs-client. Contributed by Mingliang Liu. 2015-08-22 13:31:03 -07:00
Haohui Mai
745d04be59 HDFS-8823. Move replication factor into individual blocks. Contributed by Haohui Mai. 2015-08-22 00:09:40 -07:00
Lei Xu
7087e700e0 HDFS-8924. Add pluggable interface for reading replicas in DFSClient. (Colin Patrick McCabe via Lei Xu) 2015-08-21 17:02:00 -07:00
Jing Zhao
c8bca62718 HDFS-8809. HDFS fsck reports under construction blocks as CORRUPT. Contributed by Jing Zhao. 2015-08-20 16:31:24 -07:00
yliu
5e8fe89437 HDFS-8863. The remaining space check in BlockPlacementPolicyDefault is flawed. (Kihwal Lee via yliu) 2015-08-20 20:15:03 +08:00
yliu
80a29906bc HDFS-8884. Fail-fast check in BlockPlacementPolicyDefault#chooseTarget. (yliu) 2015-08-20 20:07:18 +08:00
Jing Zhao
4e14f7982a HDFS-8917. Cleanup BlockInfoUnderConstruction from comments and tests. Contributed by Zhe Zhang. 2015-08-19 15:11:37 -07:00
Haohui Mai
3aac4758b0 HDFS-8803. Move DfsClientConf to hdfs-client. Contributed by Mingliang Liu. 2015-08-19 11:28:05 -07:00
Jing Zhao
f61120d964 HDFS-8867. Enable optimized block reports. Contributed by Daryn Sharp. 2015-08-19 10:36:56 -07:00
Arpit Agarwal
9c3571ea60 HDFS-8911. NameNode Metric : Add Editlog counters as a JMX metric. (Contributed by Anu Engineer) 2015-08-19 09:42:35 -07:00
Tsz-Wo Nicholas Sze
7ecbfd44aa HDFS-8826. In Balancer, add an option to specify the source node list so that balancer only selects blocks to move from those nodes. 2015-08-18 19:25:50 -07:00
Chris Douglas
30e342a5d3 HDFS-8435. Support CreateFlag in WebHDFS. Contributed by Jakob Homan 2015-08-18 17:32:48 -07:00
yliu
71566e2382 HDFS-8862. BlockManager#excessReplicateMap should use a HashMap. (yliu) 2015-08-18 09:23:06 +08:00
Tsz-Wo Nicholas Sze
51a00964da HDFS-8278. When computing max-size-to-move in Balancer, count only the storage with remaining >= default block size. 2015-08-17 17:55:25 -07:00
Andrew Wang
eee4d716b4 HDFS-8895. Remove deprecated BlockStorageLocation APIs. 2015-08-17 17:40:37 -07:00
Arpit Agarwal
a88f31ebf3 HDFS-8880. NameNode metrics logging. (Arpit Agarwal) 2015-08-17 16:55:46 -07:00
Colin Patrick Mccabe
ec183faadc HDFS-8845. DiskChecker should not traverse the entire tree (Chang Li via Colin P. McCabe) 2015-08-17 15:25:29 -07:00
Colin Patrick Mccabe
c77bd6af16 HDFS-8792. BlockManager#postponedMisreplicatedBlocks should use a LightWeightHashSet to save memory (Yi Liu via Colin P. McCabe) 2015-08-17 12:00:45 -07:00
Haohui Mai
e535e0f05b HDFS-8801. Convert BlockInfoUnderConstruction as a feature. Contributed by Jing Zhao. 2015-08-17 11:28:28 -07:00
Haohui Mai
456e901a4c HDFS-6407. Add sorting and pagination in the datanode tab of the NN Web UI. Contributed by Haohui Mai. 2015-08-17 11:04:00 -07:00
Andrew Wang
2e7b7e2cda HDFS-8713. Convert DatanodeDescriptor to use SLF4J logging. 2015-08-17 10:17:06 -07:00
Xiaoyu Yao
a7862d5fe4 HDFS-8883. NameNode Metrics : Add FSNameSystem lock Queue Length. Contributed by Anu Engineer. 2015-08-17 10:15:56 -07:00
Zhe Zhang
b57c9a35f7 HDFS-8220. Erasure Coding: StripedDataStreamer fails to handle the blocklocations which doesn't satisfy BlockGroupSize. 2015-08-14 15:16:58 -07:00