3916 Commits

Author SHA1 Message Date
Xiaoyu Yao
1f75e62b6d HDFS-10209. Support enable caller context in HDFS namenode audit log without restart namenode. Contributed by Xiaobing Zhou.
(cherry picked from commit 5566177c9af913baf380811dbbb1fa7e70235491)
2016-04-13 16:52:22 -07:00
Andrew Wang
4c18f54c1d HDFS-10279. Improve validation of the configured number of tolerated failed volumes. Contributed by Lin Yiqun.
(cherry picked from commit 314aa21a89134fac68ac3cb95efdeb56bd3d7b05)
2016-04-13 16:39:59 -07:00
Kihwal Lee
4a7e52d302 HDFS-10270. TestJMXGet:testNameNode() fails. Contributed by Gergely Novák
(cherry picked from commit d2f3bbc29046435904ad9418073795439c71b441)
2016-04-13 11:24:06 -05:00
Walter Su
c195b1c9fe HDFS-9772. TestBlockReplacement#testThrottler doesn't work as expected. Contributed by Lin Yiqun.
(cherry picked from commit 903428bf946827b4d58c7c577ed0c574a7cff029)
2016-04-13 17:50:30 +08:00
Colin Patrick Mccabe
2b0b332e2f HADOOP-12973. Make DU pluggable. (Elliott Clark via cmccabe)
(cherry picked from commit 35f07705552ef5636f8b8d2599a6af5ec1426203)
2016-04-12 16:29:15 -07:00
Colin Patrick Mccabe
6e37e40dd2 HDFS-10273. Remove duplicate logSync() and log message in FSN#enterSafemode() (Vinayakumar B via cmccabe)
(cherry picked from commit 600d129bb8d52ae820e7b74b8ce363aabd69d25c)
2016-04-12 10:55:43 -07:00
Akira Ajisaka
bb1ed426d1 HDFS-8356. Document missing properties in hdfs-default.xml. Contributed by Ray Chiang. 2016-04-12 15:28:05 +09:00
Vinayakumar B
04621537c9 HDFS-10271. Extra bytes are getting released from reservedSpace for append (Contributed by Brahma Reddy Battula)
(cherry picked from commit a9a607f8fc0d996af3fb37f7efa7591d6655900d)
2016-04-12 11:45:44 +05:30
Akira Ajisaka
8f968171bd HDFS-10277. PositionedReadable test testReadFullyZeroByteFile failing in HDFS. Contributed by Steve Loughran.
(cherry picked from commit a409508b3f4c46b419c41b9cdff83429d9d025ce)
2016-04-12 14:55:25 +09:00
Chris Nauroth
26a23eff82 HADOOP-12994. Specify PositionedReadable, add contract tests, fix problems. Contributed by Steve Loughran.
(cherry picked from commit 843ee8d59d8bacbca0d87ccf0790772e39d16138)
2016-04-08 13:37:46 -07:00
Tsz-Wo Nicholas Sze
bccc28914b HDFS-10186. DirectoryScanner: Improve logs by adding full path of both actual and expected block directories. Contributed by Rakesh R 2016-04-07 12:39:26 +08:00
Colin Patrick Mccabe
b5e6ad457f HDFS-10267. Extra "synchronized" on FsDatasetImpl#recoverAppend and FsDatasetImpl#recoverClose
(cherry picked from commit 4bd7cbc29d142fc56324156333b9a8a7d7b68042)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBlockRecovery.java
2016-04-06 21:08:42 -07:00
Eric Payne
caef78afe6 HDFS-9945. Datanode command for evicting writers. Contributed by Kihwal Lee
(cherry picked from commit aede8c10ecad4f2a8802a834e4bd0b8286cebade)
2016-04-06 20:31:20 +00:00
Colin Patrick Mccabe
387d3f25c1 HDFS-6520. hdfs fsck passes invalid length value when creating BlockReader (Xiao Chen via cmccabe)
(cherry picked from commit 188f65287d5b2f26a8862c88198f83ac59035016)
2016-04-06 11:37:57 -07:00
Jing Zhao
7cac807eb3 HDFS-10192. Namenode safemode not coming out during failover. Contributed by Brahma Reddy Battula.
(cherry picked from commit 221b3a8722f84f8e9ad0a98eea38a12cc4ad2f24)
2016-04-06 10:43:38 -07:00
Akira Ajisaka
1371f993a9 HADOOP-12022. fix site -Pdocs -Pdist in hadoop-project-dist; cleanout remaining forrest bits. Contributed by Allen Wittenauer. 2016-04-06 17:43:31 +09:00
Kihwal Lee
6e37c5fe80 HDFS-10261. TestBookKeeperHACheckpoints doesn't handle ephemeral HTTP ports. Contributed by Eric Badger.
(cherry picked from commit 9ba1e5af06070ba01dcf46e1a4c66713a1d43352)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/src/test/java/org/apache/hadoop/contrib/bkjournal/TestBookKeeperHACheckpoints.java
2016-04-05 16:49:59 -05:00
Ravi Prakash
2ca6251a6a HDFS-10235. Last contact for Live Nodes should be relative time. Contributed by Brahma Reddy Battula.
(cherry picked from commit 0cd320a8463efe19a6228f9fe14693aa37ac8a10)
2016-04-05 13:43:42 -07:00
Masatake Iwasaki
2542e9bccf HADOOP-12672. RPC timeout should not override IPC ping interval (iwasakims)
(cherry picked from commit 85ec5573eb9fd746a9295ecc6fe1ae683073aaf5)
2016-04-06 03:26:33 +09:00
Kihwal Lee
ef3da82357 HDFS-10239. Fsshell mv fails if port usage doesn't match in src and destination paths. Contributed by Kuhu Shukla.
Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
2016-04-05 09:16:05 -05:00
Vinayakumar B
ad08114b92 HDFS-9917. IBR accumulate more objects when SNN was down for sometime. (Contributed by Brahma Reddy Battula)
(cherry picked from commit 818d6b799eead13a17a0214172df60a269b046fb)
2016-04-05 09:53:57 +08:00
Colin Patrick Mccabe
d55af8b5a3 HDFS-8496. Calling stopWriter() with FSDatasetImpl lock held may block other threads (cmccabe)
(cherry picked from commit f6b1a818124cc42688c4c5acaf537d96cf00e43b)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBlockRecovery.java
2016-04-04 18:07:01 -07:00
Kihwal Lee
9e91433295 HDFS-10178. Permanent write failures can happen if pipeline recoveries occur for the first packet. Contributed by Kihwal Lee.
(cherry picked from commit a7d1fb0cd2fdbf830602eb4dbbd9bbe62f4d5584)
2016-04-04 16:40:44 -05:00
Masatake Iwasaki
c981efb0f6 HDFS-9599. TestDecommissioningStatus.testDecommissionStatus occasionally fails (Lin Yiqun via iwasakims)
(cherry picked from commit 154d2532cf015e9ab9141864bd3ab0d6100ef597)
2016-04-05 03:39:10 +09:00
Vinayakumar B
aa38748997 HDFS-10253. Fix TestRefreshCallQueue failure (Contributed by Xiaoyu Yao)
(cherry picked from commit 54b2e78fd28c9def42bec7f0418833bad352686c)
2016-04-03 13:28:22 +05:30
Akira Ajisaka
0795ee687b HDFS-10221. Add .json to the rat exclusions. Contributed by Ming Ma.
(cherry picked from commit 32c0c3ecdf72e89a63f4aee5e75d1c5a12714b89)
2016-03-31 09:06:34 +09:00
Colin Patrick Mccabe
be5894c12d HDFS-10223. peerFromSocketAndKey performs SASL exchange before setting connection timeouts (cmccabe)
(cherry picked from commit 37e23ce45c592f3c9c48a08a52a5f46787f6c0e9)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode/ErasureCodingWorker.java
2016-03-30 13:42:24 -07:00
Vinayakumar B
0852e44110 HDFS-5177. blocksScheduled count should be decremented for abandoned blocks (Contributed by Vinayakumar B)
(cherry picked from commit 09d63d5a192b5d6b172f94ff6c94da348fd49ea6)
2016-03-30 14:23:11 +08:00
Arpit Agarwal
ed15cb9a30 HDFS-9439. Support reconfiguring fs.protected.directories without NN restart. (Contributed by Xiaobing Zhou) 2016-03-29 13:56:02 -07:00
Arpit Agarwal
8ee2140706 HDFS-10228. TestHDFSCLI fails. (Contributed by Akira AJISAKA) 2016-03-29 13:56:00 -07:00
Andrew Wang
1d79b57c14 HDFS-10197. TestFsDatasetCache failing intermittently due to timeout. Contributed by Lin Yiqun.
(cherry picked from commit f2aec4eb824647a01e14b4eede03af0babe65fb6)
2016-03-29 11:54:52 -07:00
Vinayakumar B
f74364e8b9 HDFS-9871. "Bytes Being Moved" -ve(-1 B) when cluster was already balanced. (Contributed by Brahma Reddy Battulla)
(cherry picked from commit 1f004b3367c57de9e8a67040a57efc31c9ba8ee2)
2016-03-29 11:28:10 +08:00
Walter Su
07b0abe0b3 HDFS-10182. Hedged read might overwrite user's buf. Contributed by zhouyingchao.
(cherry picked from commit d8383c687c95dbb37effa307ab2d41497da1cfc2)
2016-03-28 15:46:01 +08:00
Lei Xu
ae98314980 Add missing files from HDFS-9005. (lei) 2016-03-25 18:13:01 -07:00
Lei Xu
493648611d HDFS-9005. Provide support for upgrade domain script. (Ming Ma via Lei Xu) 2016-03-25 17:12:44 -07:00
Andrew Wang
c658deabb6 HDFS-10200. Docs for WebHDFS still describe GETDELEGATIONTOKENS operation. Contributed by Wellington Chevreuil.
(cherry picked from commit 8f85e5d2128c54c47d2a0098f6f4d4e04d53d74b)
2016-03-23 12:55:23 -07:00
Colin Patrick Mccabe
7ad3162df4 HDFS-10193. fuse_dfs segfaults if uid cannot be resolved to a username (John Thiltges via cmccabe)
(cherry picked from commit 0d19a0ce98053572447bdadf88687ec55f2f1f46)
2016-03-23 11:19:55 -07:00
Colin Patrick Mccabe
a68a9eb2b1 HDFS-10189. PacketResponder#toString should include the downstreams for PacketResponderType.HAS_DOWNSTREAM_IN_PIPELINE (Joe Pallas via cmccabe)
(cherry picked from commit a7d8f2b3960d27c74abb17ce2aa4bcd999706ad2)
2016-03-22 17:21:54 -07:00
Colin Patrick Mccabe
2ce24bf218 HDFS-9951. Use string constants for XML tags in OfflineImageReconstructor (Lin Yiqun via cmccabe)
(cherry picked from commit 680716f31e120f4d3ee70b095e4db46c05b891d9)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageReconstructor.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageXmlWriter.java
2016-03-21 11:46:09 -07:00
Andrew Wang
e826d860a7 HDFS-9405. Warmup NameNode EDEK caches in background thread. Contributed by Xiao Chen.
(cherry picked from commit e3bb38d62567eafe57d16b78deeba1b71c58e41c)
2016-03-21 11:39:19 -07:00
Sangjin Lee
d956e0a0bb HDFS-9579. Provide bytes-read-by-network-distance metrics at FileSystem.Statistics level (Ming Ma via sjlee) 2016-03-21 10:56:32 -07:00
Haohui Mai
6236782151 HDFS-7166. SbNN Web UI shows #Under replicated blocks and #pending deletion blocks. Contributed by Wei-Chiu Chuang. 2016-03-20 17:21:53 -07:00
Akira Ajisaka
41621a994d HDFS-3677. dfs.namenode.edits.dir.required is missing from hdfs-default.xml. Contributed by Mark Yang.
(cherry picked from commit 414f33126ac178a44146666cc7c00059cfc9cabf)
2016-03-19 01:10:44 +09:00
Kihwal Lee
ead63bc297 HDFS-9874. Long living DataXceiver threads cause volume shutdown to block. Contributed by Rushabh Shah.
(cherry picked from commit 63c966a3fbeb675959fc4101e65de9f57aecd17d)
2016-03-18 10:26:57 -05:00
Colin Patrick Mccabe
f69a6c3632 HDFS-9949. Add a test case to ensure that the DataNode does not regenerate its UUID when a storage directory is cleared (Harsh J via cmccabe)
(cherry picked from commit dc951e606f40bb779632a8a3e3a46aeccc4a446a)
2016-03-17 10:42:37 -07:00
Andrew Wang
d4370f224b HDFS-10173. Typo in DataXceiverServer. Contributed by Michael Han.
(cherry picked from commit 02a250db9f4bc54436cd9900a084215e5e3c8dae)
2016-03-16 18:50:00 -07:00
Kihwal Lee
8b00d9de25 HDFS-9904. testCheckpointCancellationDuringUpload occasionally fails. Contributed by Lin Yiqun.
(cherry picked from commit d4574017845cfa7521e703f80efd404afd09b8c4)
2016-03-15 10:54:37 -05:00
Masatake Iwasaki
d595429538 HDFS-9928. Make HDFS commands guide up to date (Wei-Chiu Chuang via iwasakims) 2016-03-15 21:04:14 +09:00
Colin Patrick Mccabe
8ac3fc7540 HDFS-9947. Block#toString should not output information from derived classes (cmccabe)
(cherry picked from commit 9a43094e12ab8d35d49ceda2e2c5f83093bb3a5b)
2016-03-14 14:59:46 -07:00
Ravi Prakash
51b7d8935a HDFS-9953. Download File from UI broken after pagination. Contributed by Brahma Reddy Battula 2016-03-14 14:32:42 -07:00