Commit Graph

2788 Commits

Author SHA1 Message Date
Haohui Mai
1e2d98a394 HDFS-7683. Combine usages and percent stats in NameNode UI. Contributed by Vinayakumar B. 2015-01-27 11:09:29 -08:00
Kihwal Lee
2b0fa20f69 HDFS-7224. Allow reuse of NN connections via webhdfs. Contributed by Eric Payne 2015-01-26 08:14:30 -06:00
yliu
e9fd46ddbf HDFS-7659. truncate should check negative value of the new length. Contributed by Yi Liu. 2015-01-24 15:44:07 -08:00
yliu
5f124efb3e HDFS-7660. BlockReceiver#close() might be called multiple times, which causes the fsvolume reference being released incorrectly. (Lei Xu via yliu) 2015-01-23 02:37:44 +08:00
cnauroth
d3268c4b10 HDFS-3519. Checkpoint upload may interfere with a concurrent saveNamespace. Contributed by Ming Ma. 2015-01-22 16:26:21 -08:00
Arpit Agarwal
d34074e237 HDFS-7575. Upgrade should generate a unique storage ID for each volume. (Contributed by Arpit Agarwal) 2015-01-22 14:08:20 -08:00
Colin Patrick Mccabe
6e62a1a672 HDFS-7430. Refactor the BlockScanner to use O(1) memory and use multiple threads (cmccabe) 2015-01-21 19:00:53 -08:00
Konstantin V Shvachko
a0521bc83a HADOOP-11490. Expose truncate API via FileSystem and shell command. Contributed by Milan Desai. 2015-01-21 16:00:49 -08:00
Kihwal Lee
c0af72c7f7 HDFS-7548. Corrupt block reporting delayed until datablock scanner thread detects it. Contributed by Rushabh Shah. 2015-01-21 14:41:31 -06:00
Tsz-Wo Nicholas Sze
db334bb862 HDFS-3443. Fix NPE when namenode transition to active during startup by adding checkNNStartup() in NameNodeRpcServer. Contributed by Vinayakumar B 2015-01-21 11:33:55 -08:00
Colin Patrick Mccabe
a17584936c HDFS-7610. Fix removal of dynamically added DN volumes (Lei (Eddy) Xu via Colin P. McCabe) 2015-01-20 20:11:09 -08:00
Colin Patrick Mccabe
b7f4a3156c HDFS-7496. Fix FsVolume removal race conditions on the DataNode by reference-counting the volume instances (lei via cmccabe) 2015-01-20 19:05:33 -08:00
Arpit Agarwal
c09c65b212 HDFS-7634. Disallow truncation of Lazy persist files. (Contributed by Yi Liu) 2015-01-20 12:11:36 -08:00
yliu
5a6c084f07 HDFS-7638: Small fix and few refinements for FSN#truncate. (yliu) 2015-01-20 00:45:12 +08:00
Tsz-Wo Nicholas Sze
4a4450836c HDFS-5631. Change BlockMetadataHeader.readHeader(..), ChunkChecksum class and constructor to public; and fix FsDatasetSpi to use generic type instead of FsVolumeImpl. Contributed by David Powell and Joe Pallas 2015-01-19 13:49:19 -08:00
Jing Zhao
e843a0a8ce HDFS-7637. Fix the check condition for reserved path. Contributed by Yi Liu. 2015-01-19 10:28:29 -08:00
Haohui Mai
24315e7d37 HDFS-7573. Consolidate the implementation of delete() into a single class. Contributed by Haohui Mai. 2015-01-17 12:56:04 -08:00
Konstantin V Shvachko
60cbcff2f7 HDFS-7606. Fix potential NPE in INodeFile.getBlocks(). Contributed by Byron Wong. 2015-01-16 14:31:18 -08:00
yliu
c4ccbe62c0 HDFS-7189. Add trace spans for DFSClient metadata operations. (Colin P. McCabe via yliu) 2015-01-16 00:23:51 +08:00
Kihwal Lee
780a6bf145 HDFS-7457. DatanodeID generates excessive garbage. Contributed by Daryn Sharp. 2015-01-15 16:44:11 -06:00
Kihwal Lee
44eed6cbc9 HDFS-7615. Remove longReadLock. Contributed by Kihwal Lee. 2015-01-15 16:39:18 -06:00
Arpit Agarwal
a6efbb21c2 HDFS-7591. hdfs classpath command should support same options as hadoop classpath. (Contributed by Varun Saxena) 2015-01-15 11:02:17 -08:00
Tsz-Wo Nicholas Sze
6464a8929a HDFS-5782. Change BlockListAsLongs constructor to take Replica as parameter type instead of concrete classes Block and ReplicaInfo. Contributed by David Powell and Joe Pallas 2015-01-14 13:46:06 -08:00
Tsz-Wo Nicholas Sze
7fe0f25ad2 HDFS-2219. Change fsck to support fully qualified paths so that a particular namenode in a federated cluster with multiple namenodes can be specified in the path parameter. 2015-01-14 11:31:18 -08:00
cnauroth
85aec75ce5 HDFS-7570. SecondaryNameNode need twice memory when calling reloadFromImageFile. Contributed by zhaoyunjiong. 2015-01-13 16:10:28 -08:00
Konstantin V Shvachko
08ac06283a HDFS-7056. Snapshot support for truncate. Contributed by Konstantin Shvachko and Plamen Jeliazkov. 2015-01-13 00:24:23 -08:00
Plamen Jeliazkov
7e9358feb3 HDFS-3107. Introduce truncate. Contributed by Plamen Jeliazkov. 2015-01-12 22:50:04 -08:00
Jing Zhao
6f3a63a41b HDFS-7600. Refine hdfs admin classes to reuse common code. Contributed by Jing Zhao. 2015-01-12 17:32:33 -08:00
Colin Patrick Mccabe
f761bd8fe4 HDFS-5445. PacketReceiver populates the packetLen field in PacketHeader incorrectly (Jonathan Mace via Colin P. McCabe) 2015-01-12 17:11:03 -08:00
Kihwal Lee
6bbf9fdd04 HDFS-7533. Datanode sometimes does not shutdown on receiving upgrade shutdown command. Contributed by Eric Payne. 2015-01-12 15:36:55 -06:00
yliu
5b0d060d2a HDFS-7323. Move the get/setStoragePolicy commands out from dfsadmin. (jing9 via yliu) 2015-01-12 00:35:43 +08:00
cnauroth
ef3c3a832c HDFS-7596. NameNode should prune dead storages from storageMap. Contributed by Arpit Agarwal. 2015-01-10 09:18:33 -08:00
Jing Zhao
2a06101e61 HDFS-7182. JMX metrics aren't accessible when NN is busy. Contributed by Ming Ma. 2015-01-09 17:35:57 -08:00
Colin Patrick Mccabe
ae91b13a4b HADOOP-11470. Remove some uses of obsolete guava APIs from the hadoop codebase (Sangjin Lee via Colin P. McCabe) 2015-01-08 16:09:44 -08:00
cnauroth
7e2d9a3242 HDFS-7579. Improve log reporting during block report rpc failure. Contributed by Charles Lamb. 2015-01-08 15:12:56 -08:00
cnauroth
708b1aa074 HDFS-7589. Break the dependency between libnative_mini_dfs and libhdfs. Contributed by Zhanwei Wang. 2015-01-08 10:23:40 -08:00
Tsuyoshi Ozawa
a6ed4894b5 HADOOP-11032. Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa) 2015-01-08 14:51:57 +09:00
Tsuyoshi Ozawa
9886396400 Revert "Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)" because of missing JIRA's number.
This reverts commit 2eba7eb9af.
2015-01-08 14:35:08 +09:00
Tsuyoshi Ozawa
2eba7eb9af Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa) 2015-01-08 14:21:30 +09:00
Vinayakumar B
4cd66f7fb2 HDFS-7583. Fix findbug in TransferFsImage.java (Contributed by Vinayakumar B) 2015-01-06 09:31:35 +05:30
Jing Zhao
5caebbae8c HDFS-7484. Make FSDirectory#addINode take existing INodes as its parameter. Contributed by Jing Zhao. 2014-12-22 23:19:20 -08:00
Vinayakumar B
50ae1a6664 HDFS-7456. De-duplicate AclFeature instances with same AclEntries do reduce memory footprint of NameNode (Contributed by Vinayakumar B) 2014-12-23 12:35:53 +05:30
cnauroth
2cf90a2c33 HDFS-7560. ACLs removed by removeDefaultAcl() will be back after NameNode restart/failover. Contributed by Vinayakumar B. 2014-12-22 13:59:10 -08:00
yliu
7bc0a6d5c2 HDFS-7557. Fix spacing for a few keys in DFSConfigKeys.java (Colin P. McCabe) 2014-12-22 00:49:13 +08:00
Colin Patrick Mccabe
8fa265a290 HDFS-7443. Datanode upgrade to BLOCKID_BASED_LAYOUT fails if duplicate block files are present in the same volume (cmccabe) 2014-12-19 13:18:03 -08:00
Colin Patrick Mccabe
a4876c130f HDFS-7552. Change FsVolumeList toString() to fix TestDataNodeVolumeFailureToleration (Liang Xie via Colin P. McCabe) 2014-12-19 11:13:04 -08:00
cnauroth
5df7ecb33a HDFS-7431. log message for InvalidMagicNumberException may be incorrect. Contributed by Yi Liu. 2014-12-18 15:03:52 -08:00
Andrew Wang
b0b9084433 HDFS-7530. Allow renaming of encryption zone roots. Contributed by Charles Lamb. 2014-12-18 14:06:53 -08:00
Haohui Mai
65f2a4ee60 HDFS-7543. Avoid path resolution when getting FileStatus for audit logs. Contributed by Haohui Mai. 2014-12-18 11:25:14 -08:00
Kihwal Lee
c0d666c74e HDFS-7373. Clean up temporary files after fsimage transfer failures. Contributed by Kihwal Lee 2014-12-18 12:58:59 -06:00