Commit Graph

3280 Commits

Author SHA1 Message Date
Haohui Mai
d16c4eee18 HDFS-9012. Move o.a.h.hdfs.protocol.datatransfer.PipelineAck class to hadoop-hdfs-client module. Contributed by Mingliang Liu. 2015-09-04 10:41:09 -07:00
Haohui Mai
ed78b14ebc HDFS-9002. Move o.a.h.hdfs.net/*Peer classes to hdfs-client. Contributed by Mingliang Liu. 2015-09-03 15:32:53 -07:00
Jakob Homan
c2d2c1802a HDFS-8939. Test(S)WebHdfsFileContextMainOperations failing on branch-2. Contributed by Chris Nauroth.
(cherry picked from commit 9871f57d41990b2763d4c23d9040aeb685b4a80f)
2015-09-03 13:26:54 -07:00
Colin Patrick Mccabe
53c38cc89a HDFS-8964. When validating the edit log, do not read at or beyond the file offset that is being written (Zhe Zhang via Colin P. McCabe) 2015-09-03 11:22:47 -07:00
Ming Ma
d31a41c359 HDFS-8890. Allow admin to specify which blockpools the balancer should run on. (Chris Trezzo via mingma) 2015-09-02 15:55:42 -07:00
Jing Zhao
de928d566a HDFS-9003. ForkJoin thread pool leaks. Contributed by Kihwal Lee. 2015-09-02 15:19:04 -07:00
Andrew Wang
afc88b396f HDFS-328. Improve fs -setrep error message for invalid replication factors. Contributed by Daniel Templeton. 2015-09-02 13:46:00 -07:00
Akira Ajisaka
65ccf2b125 HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore. 2015-09-02 14:28:38 +09:00
yliu
5652131d2e HDFS-8995. Flaw in registration bookeeping can make DN die on reconnect. (Kihwal Lee via yliu) 2015-09-02 08:58:51 +08: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
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
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
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