Commit Graph

3936 Commits

Author SHA1 Message Date
Arpit Agarwal
792b7d337a HDFS-7575. Fix CHANGES.txt 2015-01-22 14:37:16 -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
39c1bcf7d9 HADOOP-11484: move CHANGES.txt entry to 3.0 2015-01-21 11:32:31 -08:00
Colin Patrick Mccabe
220a49de47 HADOOP-11484. hadoop-mapreduce-client-nativetask fails to build on ARM AARCH64 due to x86 asm statements (Edward Nevill via Colin P. McCabe) 2015-01-21 11:24:09 -08:00
Arpit Agarwal
6b17eb9eac HDFS-7643. Test case to ensure lazy persist files cannot be truncated. (Contributed by Yi Liu) 2015-01-20 21:58:38 -08:00
Colin Patrick Mccabe
a1222784fb HDFS-7610. Add CHANGES.txt 2015-01-20 20:14:11 -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
73b72a048f HDFS-7496: add to CHANGES.txt 2015-01-20 19:32:19 -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
yliu
889ab074d5 HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu) 2015-01-21 02:06:18 +08:00
yliu
fc20129c56 HDFS-7623. Add htrace configuration properties to core-default.xml and update user doc about how to enable htrace. (yliu) 2015-01-21 00:59:47 +08:00
Arpit Agarwal
dd0228b8f7 HDFS-7634. Fix CHANGES.txt 2015-01-20 12:14:03 -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
Haohui Mai
5e5e35b185 HDFS-7640. print NFS Client in the NFS log. Contributed by Brandon Li. 2015-01-19 17:29:46 -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
cnauroth
ec4389cf72 HDFS-7632. MiniDFSCluster configures DataNode data directories incorrectly if using more than 1 DataNode and more than 2 storage locations per DataNode. Contributed by Chris Nauroth. 2015-01-16 10:52:01 -08:00
cnauroth
9c94015e36 HDFS-7635. Remove TestCorruptFilesJsp from branch-2. Contributed by Chris Nauroth. 2015-01-16 10:39:27 -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
Allen Wittenauer
ce0117636a HDFS-7581. HDFS documentation needs updating post-shell rewrite (aw) 2015-01-15 07:48:55 -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
Colin Patrick Mccabe
446545c496 HDFS-7585. Get TestEnhancedByteBufferAccess working on CPU architectures with page sizes other than 4096 (Sam Liu via Colin P. McCabe) 2015-01-14 11:13:55 -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
Colin Patrick Mccabe
b3ddd7ee39 HDFS-7598. Remove dependency on old version of Guava in TestDFSClientCache#testEviction (Sangjin Lee via Colin P. McCabe) 2015-01-12 17:07:18 -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
Colin Patrick Mccabe
b78b4a1536 HDFS-7326. Add documentation for hdfs debug commands (Vijay Bhat via Colin P. McCabe) 2015-01-12 12:16:36 -08: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
Konstantin V Shvachko
e86943fd64 HDFS-7561. TestFetchImage should write fetched-image-dir under target. Contributed by Liang Xie. 2015-01-07 16:03:11 -08:00
Brandon Li
788ee35e2b HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. Contributed by Yongjun Zhang 2015-01-06 16:19:39 -08:00
Vinayakumar B
4cd66f7fb2 HDFS-7583. Fix findbug in TransferFsImage.java (Contributed by Vinayakumar B) 2015-01-06 09:31:35 +05:30
cnauroth
dfd2589bcb HDFS-7572. TestLazyPersistFiles#testDnRestartWithSavedReplicas is flaky on Windows. Contributed by Arpit Agarwal. 2015-01-05 10:39:15 -08:00
Brandon Li
892b1bb746 HDFS-7563. NFS gateway parseStaticMap NumberFormatException. Contributed by Yongjun Zhang 2015-01-02 10:49:50 -08:00
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
Colin Patrick Mccabe
6635ccd217 HADOOP-11430. Add GenericTestUtils#disableLog, GenericTestUtils#setLogLevel (cmccabe) 2014-12-18 19:39: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
Colin Patrick Mccabe
3b173d9517 HDFS-7531. Improve the concurrent access on FsVolumeList (Lei Xu via Colin P. McCabe) 2014-12-17 16:41:59 -08:00
Haohui Mai
0da1330bfd HDFS-7528. Consolidate symlink-related implementation into a single class. Contributed by Haohui Mai. 2014-12-17 14:48:30 -08:00
Colin Patrick Mccabe
4281c96e24 HADOOP-11416. Move ChunkedArrayList into hadoop-common (cmccabe) 2014-12-17 10:32:40 -08:00
Haohui Mai
565d72fe6e HDFS-7536. Remove unused CryptoCodec in org.apache.hadoop.fs.Hdfs. Contributed by Haohui Mai. 2014-12-16 13:26:37 -08:00
Colin Patrick Mccabe
a97a1e7317 HDFS-7494. Checking of closed in DFSInputStream#pread() should be protected by synchronization (Ted Yu via Colin P. McCabe) 2014-12-16 11:07:27 -08:00
Kihwal Lee
b7923a356e HDFS-6425. Large postponedMisreplicatedBlocks has impact on blockReport latency. Contributed by Ming Ma. 2014-12-16 10:30:22 -06:00
Brandon Li
42d8858c5d HDFS-7516. Fix findbugs warnings in hdfs-nfs project. Contributed by Brandon Li 2014-12-15 11:28:56 -08:00
Haohui Mai
832ebd8cb6 HDFS-7506. Consolidate implementation of setting inode attributes into a single class. Contributed by Haohui Mai. 2014-12-15 10:40:33 -08:00
Colin Patrick Mccabe
6e13fc62e1 HDFS-7513. HDFS inotify: add defaultBlockSize to CreateEvent (cmccabe) 2014-12-15 10:30:30 -08:00
Andrew Wang
fa7b9248e4 HDFS-7426. Change nntop JMX format to be a JSON blob. 2014-12-12 17:04:33 -08:00
Jing Zhao
c78e3a7cdd HDFS-7059. Avoid resolving path multiple times. Contributed by Jing Zhao. 2014-12-12 15:13:35 -08:00
arp
7784b10808 HDFS-7514. TestTextCommand fails on Windows. (Arpit Agarwal) 2014-12-12 14:27:50 -08:00
Haohui Mai
46612c7a51 HDFS-7517. Remove redundant non-null checks in FSNamesystem#getBlockLocations. Contributed by Haohui Mai. 2014-12-12 11:51:17 -08:00
Andrew Wang
b437f5eef4 HDFS-7497. Inconsistent report of decommissioning DataNodes between dfsadmin and NameNode webui. Contributed by Yongjun Zhang. 2014-12-11 18:12:47 -08:00
Haohui Mai
5b9fcedb4d HADOOP-11389. Clean up byte to string encoding issues in hadoop-common. Contributed by Haohui Mai. 2014-12-11 16:42:38 -08:00
Brandon Li
f6f2a3f1c7 HDFS-7449. Add metrics to NFS gateway. Contributed by Brandon Li 2014-12-11 15:40:45 -08:00
Haohui Mai
b9f6d0c956 HDFS-7515. Fix new findbugs warnings in hadoop-hdfs. Contributed by Haohui Mai. 2014-12-11 12:36:13 -08:00
arp
390642acf3 HDFS-7503. Namenode restart after large deletions can cause slow processReport (Arpit Agarwal) 2014-12-10 23:44:28 -08:00
Haohui Mai
d693a252bd HDFS-7463. Simplify FSNamesystem#getBlockLocationsUpdateTimes. Contributed by Haohui Mai. 2014-12-10 23:01:17 -08:00
arp
9a44db48b4 HDFS-7475. Make TestLazyPersistFiles#testLazyPersistBlocksAreSaved deterministic. (Contributed by Xiaoyu Yao) 2014-12-10 18:24:22 -08:00
Haohui Mai
92916ae487 HDFS-5578. [JDK8] Fix Javadoc errors caused by incorrect or illegal tags in doc comments. Contributed by Andrew Purtell. 2014-12-10 14:54:37 -08:00
Allen Wittenauer
c536142699 HADOOP-6590. Add a username check for hadoop sub-commands (John Smith via aw) 2014-12-10 13:41:28 -08:00
Allen Wittenauer
a7c6c710b2 HADOOP-10950. rework heap management vars (John Smith via aw) 2014-12-10 13:37:32 -08:00
Haohui Mai
195f31a8ef HDFS-7502. Fix findbugs warning in hdfs-nfs project. Contributed by Brandon Li. 2014-12-09 20:42:42 -08:00
Vinayakumar B
d93f3b9815 HDFS-7481. Add ACL indicator to the 'Permission Denied' exception. (Contributed by Vinayakumar B ) 2014-12-10 08:27:15 +05:30
Jing Zhao
5776a41da0 HDFS-7498. Simplify the logic in INodesInPath. Contributed by Jing Zhao. 2014-12-09 11:37:39 -08:00
Colin Patrick Mccabe
d8352b9b2b Incorrect locking in FsVolumeList#checkDirs can hang datanodes (Noah Lorang via Colin P. McCabe) 2014-12-09 10:56:46 -08:00
Haohui Mai
6c5bbd7a42 HDFS-7486. Consolidate XAttr-related implementation into a single class. Contributed by Haohui Mai. 2014-12-08 11:52:21 -08:00
cnauroth
d555bb2120 HDFS-7473. Document setting dfs.namenode.fs-limits.max-directory-items to 0 is invalid. Contributed by Akira AJISAKA. 2014-12-08 11:04:29 -08:00
cnauroth
ffe942b82c HDFS-7384. getfacl command and getAclStatus output should be in sync. Contributed by Vinayakumar B. 2014-12-08 10:23:09 -08:00
cnauroth
9297f980c2 HDFS-7476. Consolidate ACL-related operations to a single class. Contributed by Haohui Mai. 2014-12-06 14:20:00 -08:00
Haohui Mai
e227fb8fbc HDFS-7459. Consolidate cache-related implementation in FSNamesystem into a single class. Contributed by Haohui Mai. 2014-12-05 18:37:07 -08:00
Jing Zhao
475c6b4978 HDFS-7474. Avoid resolving path in FSPermissionChecker. Contributed by Jing Zhao. 2014-12-05 14:17:17 -08:00
Haohui Mai
f6452eb259 HDFS-7472. Fix typo in message of ReplicaNotFoundException. Contributed by Masatake Iwasaki. 2014-12-05 11:23:13 -08:00