2664 Commits

Author SHA1 Message Date
yliu
8adffbb2c8 HDFS-7634. Disallow truncation of Lazy persist files. (Contributed by Yi Liu) 2015-01-24 16:34:08 -08:00
yliu
0fdd09a895 HDFS-7638. Small fix and few refinements for FSN#truncate. (yliu) 2015-01-24 16:29:50 -08:00
Konstantin V Shvachko
a116e1fe9e HDFS-7606. Fix potential NPE in INodeFile.getBlocks(). Contributed by Byron Wong. 2015-01-24 16:16:58 -08:00
Konstantin V Shvachko
00a7ebab22 HDFS-7056. Snapshot support for truncate. Contributed by Konstantin Shvachko and Plamen Jeliazkov. 2015-01-24 16:06:41 -08:00
Plamen Jeliazkov
6ff9bde714 HDFS-3107. Introduce truncate. Contributed by Plamen Jeliazkov. 2015-01-24 16:01:07 -08:00
Allen Wittenauer
6f89692dc9 HDFS-7644. minor typo in HttpFS doc (Charles Lamb via aw) 2015-01-23 13:47:11 -08:00
cnauroth
639c7b0ddc HDFS-3519. Checkpoint upload may interfere with a concurrent saveNamespace. Contributed by Ming Ma. 2015-01-22 16:03:17 -08:00
Arpit Agarwal
dcd14db1a8 HDFS-7575. Fix CHANGES.txt 2015-01-22 14:37:43 -08:00
Arpit Agarwal
1d9d166c0b HDFS-7575. Upgrade should generate a unique storage ID for each volume. (Contributed by Arpit Agarwal) 2015-01-22 14:12:56 -08:00
Kihwal Lee
95858db0c1 HDFS-7548. Corrupt block reporting delayed until datablock scanner thread detects it. Contributed by Rushabh Shah. 2015-01-21 14:42:45 -06:00
Colin Patrick Mccabe
5ec2b6caa9 HDFS-7496. Fix FsVolume removal race conditions on the DataNode by reference-counting the volume instances (Lei (Eddy) Xu via Colin P. McCabe)
(cherry-picked from commit a17584936cc5141e3f5612ac3ecf35e27968e439)
2015-01-21 11:43:42 -08:00
Tsz-Wo Nicholas Sze
1dc5483054 HDFS-3443. Fix NPE when namenode transition to active during startup by adding checkNNStartup() in NameNodeRpcServer. Contributed by Vinayakumar B
Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
2015-01-21 11:37:58 -08:00
Colin Patrick Mccabe
7779f38e68 HDFS-7610. Fix removal of dynamically added DN volumes (Lei (Eddy) Xu via Colin P. McCabe)
(cherry picked from commit a17584936cc5141e3f5612ac3ecf35e27968e439)
2015-01-20 20:15:33 -08:00
yliu
7b5aea8175 HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu) 2015-01-21 02:04:03 +08:00
yliu
3f37354daa HDFS-7623. Add htrace configuration properties to core-default.xml and update user doc about how to enable htrace. (yliu) 2015-01-21 00:57:51 +08:00
Haohui Mai
755731a6c1 HDFS-7640. print NFS Client in the NFS log. Contributed by Brandon Li. 2015-01-19 17:29:57 -08:00
Jing Zhao
5da33c5b5d HDFS-7637. Fix the check condition for reserved path. Contributed by Yi Liu.
(cherry picked from commit e843a0a8cee5c704a5d28cf14b5a4050094d341b)
2015-01-19 10:29:02 -08:00
Haohui Mai
29551e19ef HDFS-7573. Consolidate the implementation of delete() into a single class. Contributed by Haohui Mai. 2015-01-17 12:56:44 -08:00
cnauroth
8e765b8513 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.
(cherry picked from commit ec4389cf7270cff4cc96313b4190422ea7c70ced)
2015-01-16 10:52:13 -08:00
cnauroth
b3d03980c4 HDFS-7635. Remove TestCorruptFilesJsp from branch-2. Contributed by Chris Nauroth. 2015-01-16 10:40:38 -08:00
Arpit Agarwal
f72e2bfedd HDFS-7591. hdfs classpath command should support same options as hadoop classpath. (Contributed by Varun Saxena) 2015-01-16 09:37:54 -08:00
yliu
bdbf13ac46 HDFS-7189. Add trace spans for DFSClient metadata operations. (Colin P. McCabe via yliu) 2015-01-16 00:21:38 +08:00
Kihwal Lee
6f792fc198 HDFS-7457. DatanodeID generates excessive garbage. Contributed by Daryn Sharp.
(cherry picked from commit 780a6bf14562fd9d1070a7c8e756fa1c3bc65d32)
2015-01-15 16:45:06 -06:00
Kihwal Lee
0090157fff HDFS-7615. Remove longReadLock. Contributed by Kihwal Lee.
(cherry picked from commit 44eed6cbc97649c15177f9b36f6b119cc1900f7a)
2015-01-15 16:40:18 -06:00
Allen Wittenauer
c060d60a40 HADOOP-8989. hadoop fs -find feature (Jonathan Allen via aw) 2015-01-15 11:56:16 -08:00
Tsz-Wo Nicholas Sze
80f2c41ea4 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:32:38 -08:00
Colin Patrick Mccabe
0578df3baa HDFS-7585. Get TestEnhancedByteBufferAccess working on CPU architectures with page sizes other than 4096 (Sam Liu via Colin P. McCabe)
(cherry picked from commit 446545c496fdab75e76c8124c98324e37150b5dc)
2015-01-14 11:14:16 -08:00
cnauroth
27eecaef10 HDFS-7570. SecondaryNameNode need twice memory when calling reloadFromImageFile. Contributed by zhaoyunjiong.
(cherry picked from commit 85aec75ce53445e1abf840076d2e10f1e3c6d69b)
2015-01-13 16:10:40 -08:00
Jing Zhao
6e2eb9d5cf HDFS-7600. Refine hdfs admin classes to reuse common code. Contributed by Jing Zhao. 2015-01-12 17:35:44 -08:00
Colin Patrick Mccabe
a6ebe7a76b HDFS-5445. PacketReceiver populates the packetLen field in PacketHeader incorrectly (Jonathan Mace via Colin P. McCabe)
(cherry picked from commit f761bd8fe472c311bdff7c9d469f2805b867855a)
2015-01-12 17:11:34 -08:00
Colin Patrick Mccabe
dde774f2a4 HDFS-7598. Remove dependency on old version of Guava in TestDFSClientCache#testEviction (Sangjin Lee via Colin P. McCabe)
(cherry picked from commit b3ddd7ee39c92d2df8661ce5834a2831020cecb2)
2015-01-12 17:08:08 -08:00
Kihwal Lee
33534a0c9a HDFS-7533. Datanode sometimes does not shutdown on receiving upgrade shutdown command. Contributed by Eric Payne.
(cherry picked from commit 6bbf9fdd041d2413dd78e2bce51abae15f3334c2)
2015-01-12 15:38:17 -06:00
Colin Patrick Mccabe
e4bb94b0b8 HDFS-7326. Add documentation for hdfs debug commands (Vijay Bhat via Colin P. McCabe)
(cherry picked from commit b78b4a1536b6d47a37ff7c309857a628a864c957)
2015-01-12 12:17:37 -08:00
yliu
cce7ab4721 HDFS-7323. Move the get/setStoragePolicy commands out from dfsadmin. (jing9 via yliu) 2015-01-12 00:45:27 +08:00
cnauroth
75e4e55e12 HDFS-7596. NameNode should prune dead storages from storageMap. Contributed by Arpit Agarwal.
(cherry picked from commit ef3c3a832c2f0c1e5ccdda2ff8ef84902912955f)
2015-01-10 09:18:41 -08:00
Jing Zhao
4b589e7cfa HDFS-7182. JMX metrics aren't accessible when NN is busy. Contributed by Ming Ma. 2015-01-09 17:36:30 -08:00
cnauroth
9a7c763b3f HADOOP-11464. Reinstate support for launching Hadoop processes on Windows using Cygwin. Contributed by Chris Nauroth. 2015-01-09 15:01:33 -08:00
Colin Patrick Mccabe
a663faf741 HADOOP-11470. Remove some uses of obsolete guava APIs from the hadoop codebase (Sangjin Lee via Colin P. McCabe)
(cherry picked from commit ae91b13a4b1896b893268253104f935c3078d345)
2015-01-08 16:26:11 -08:00
cnauroth
f0acb7c2a2 HDFS-7579. Improve log reporting during block report rpc failure. Contributed by Charles Lamb.
(cherry picked from commit 7e2d9a32426d04b5f08c2835f61882b053612a20)
2015-01-08 15:13:05 -08:00
cnauroth
501246e24a HDFS-7589. Break the dependency between libnative_mini_dfs and libhdfs. Contributed by Zhanwei Wang.
(cherry picked from commit 708b1aa074d98df7d8abdc805818c787ce5779b8)
2015-01-08 10:23:53 -08:00
Tsuyoshi Ozawa
132fd6ba58 HADOOP-11032. Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)
(cherry picked from commit a6ed4894b518351bf1b3290e725a475570a21296)

Conflicts:
	hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/test/java/org/apache/hadoop/mapred/nativetask/kvtest/KVJob.java
2015-01-08 15:00:02 +09:00
Konstantin V Shvachko
c3c3bb2b02 HDFS-7561. TestFetchImage should write fetched-image-dir under target. Contributed by Liang Xie. 2015-01-07 16:07:16 -08:00
Brandon Li
36367209a1 HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. Contributed by Yongjun Zhang
(cherry picked from commit 788ee35e2bf0f3d445e03e6ea9bd02c40c8fdfe3)
2015-01-06 16:20:39 -08:00
Vinayakumar B
53ecb63587 HDFS-7583. Fix findbug in TransferFsImage.java (Contributed by Vinayakumar B)
(cherry picked from commit 4cd66f7fb280e53e2d398a62e922a8d68d150679)
2015-01-06 09:32:56 +05:30
cnauroth
60418c9b2d HDFS-7572. TestLazyPersistFiles#testDnRestartWithSavedReplicas is flaky on Windows. Contributed by Arpit Agarwal.
(cherry picked from commit dfd2589bcb0e83f073eab30e32badcf2e9f75a62)
2015-01-05 10:39:38 -08:00
Brandon Li
05df432fab HDFS-7563. NFS gateway parseStaticMap NumberFormatException. Contributed by Yongjun Zhang
(cherry picked from commit 892b1bb746116e547fb07d46cf1d284e3219d06d)
2015-01-02 10:50:51 -08:00
Jing Zhao
9aa9455dab HDFS-7484. Make FSDirectory#addINode take existing INodes as its parameter. Contributed by Jing Zhao. 2014-12-22 23:20:18 -08:00
Vinayakumar B
cd8e78d50f HDFS-7456. De-duplicate AclFeature instances with same AclEntries do reduce memory footprint of NameNode (Contributed by Vinayakumar B)
(cherry picked from commit 50ae1a6664a92619aa683d2a864d0da9fb4af026)
2014-12-23 12:37:16 +05:30
cnauroth
5486124668 HDFS-7560. ACLs removed by removeDefaultAcl() will be back after NameNode restart/failover. Contributed by Vinayakumar B.
(cherry picked from commit 2cf90a2c338497a466bbad9e83966033bf14bfb7)
2014-12-22 14:02:49 -08:00
yliu
7e49c99ead HDFS-7557. Fix spacing for a few keys in DFSConfigKeys.java (Colin P. McCabe) 2014-12-22 00:57:18 +08:00