15194 Commits

Author SHA1 Message Date
Jonathan Hung
2c321c3c30
HADOOP-14918. Remove the Local Dynamo DB test option (branch-2.10) (#1864). Contributed by Jonathan Hung and Gabor Bota. 2020-03-23 16:22:26 +01:00
Eric Badger
d01e9c125b Revert "YARN-2710. RM HA tests failed intermittently on trunk. Contributed by Ahmed"
This reverts commit 85eac8b0dfec30c2ecc7310cc65f6023097b2c26.
2020-03-17 22:15:38 +00:00
Eric Badger
85eac8b0df YARN-2710. RM HA tests failed intermittently on trunk. Contributed by Ahmed
Hussein.
2020-03-16 22:31:43 +00:00
Ayush Saxena
5854aa4ddc HDFS-15197. [SBN read] Change ObserverRetryOnActiveException log to debug. Contributed by Chen Liang. 2020-03-15 16:32:29 +05:30
Inigo Goiri
4069d5d438 HDFS-11396. TestNameNodeMetadataConsistency#testGenerationStampInFuture timed out. Contributed by Ayush Saxena 2020-03-13 15:39:25 -07:00
Masatake Iwasaki
40c755d809 HDFS-15077. Fix intermittent failure of TestDFSClientRetries#testLeaseRenewSocketTimeout. 2020-03-12 12:49:38 +09:00
Eric E Payne
e9a7b30fa0 YARN-942. TestContainerSchedulerQueuing.testKillOnlyRequiredOpportunisticContainers fails sporadically Contributed by Ahmed Hussein (ahussein)
(cherry picked from commit ede05b19d1723147430fc426161326d46698507f)
2020-03-10 15:48:49 +00:00
Weiwei Yang
5d46b06d1f HADOOP-16840. AliyunOSS: getFileStatus throws FileNotFoundException in versioning bucket. Contributed by wujinhu.
(cherry picked from commit 6dfe00c71eb3721e9be3fc42349a81c4b013ada1)
2020-03-08 22:03:32 -07:00
John Zhuge
319e361da0
HADOOP-14206. TestSFTPFileSystem#testFileExists failure: Invalid encoding for signature. Contributed by Jim Brennan.
(cherry picked from commit 999096d82e6cc24023a77a69509af6820913f942)
2020-03-08 11:36:48 -07:00
Inigo Goiri
d547630804 HDFS-15204. TestRetryCacheWithHA testRemoveCacheDescriptor fails intermittently. Contributed by Ahmed Hussein. 2020-03-04 10:07:08 -08:00
Wei-Chiu Chuang
024c33384b Revert "HDFS-15111. stopStandbyServices() should log which service state it is transitioning from. Contributed by Xieming Li."
This reverts commit cb6b6b43200f0c339c7f0878dfa2b9c54bac64e7.
2020-03-02 15:43:13 -08:00
Ayush Saxena
cb6b6b4320 HDFS-15111. stopStandbyServices() should log which service state it is transitioning from. Contributed by Xieming Li.
(cherry picked from commit b182dd809cf42aed66806901631ad6062ca0820c)
(cherry picked from commit 7bfa123d583d94607600e38bd754e38fbafc64d2)
2020-03-02 15:39:21 -08:00
Siyao Meng
6cbde863a5 HADOOP-16891. Upgrade jackson-databind to 2.9.10.3 (#1865)
(cherry picked from commit e36b27260845c2eeb2211d01235cc6d3578b1942)
(cherry picked from commit 8a55178f4983f95e207656a6f81142f510c0cd7a)
(cherry picked from commit 57783e7e249f366bac55ce5e9eb6998330e2eef4)
2020-02-28 17:04:03 -08:00
Wei-Chiu Chuang
5508dda8f4 HADOOP-16882. Update jackson-databind to 2.9.10.2 in branch-3.1, branch-2.10. Contributed by Lisheng Sun. 2020-02-28 16:54:28 -08:00
Inigo Goiri
2d44d7f139 YARN-10161. TestRouterWebServicesREST is corrupting STDOUT. Contributed by Jim Brennan.
(cherry picked from commit a43510e21d01e6c78e98e7ad9469cbea70a66466)
2020-02-27 13:22:16 -08:00
Kihwal Lee
232e9f8ee1 HDFS-15147. LazyPersistTestCase wait logic is error-prone. Contributed
by Ahmed Hussein.
2020-02-27 09:58:44 -06:00
Elixir Kook
e844f6ffaa
YARN-10156. Fix typo 'complaint' which means quite different in Federation.md (#1856)
(cherry picked from commit d608e94f9208354897a59dc8e533535b1b8a30b9)
2020-02-26 17:33:05 +09:00
Kihwal Lee
3b86011c24 HDFS-13404. Addendum: RBF: TestRouterWebHDFSContractAppend.testRenameFileBeingAppended fail. Contributed by Takanobu Asanuma.
(cherry picked from commit b52fd05d42d9a76f6936a5d86c23fcd66244fe3d)

Conflicts:
	hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractContractAppendTest.java
2020-02-25 12:28:56 -06:00
Kihwal Lee
e80b5ec58d Revert "HDFS-6874. Add GETFILEBLOCKLOCATIONS operation to HttpFS. Contributed by Weiwei Yang"
This reverts commit b4a108fa9f38ee028978474fe6c298bbd88fda7a.

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java
	hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/FSOperations.java
	hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/BaseTestHttpFSWith.java
2020-02-25 11:33:20 -06:00
Eric E Payne
254b94bf5e YARN-10140: TestTimelineAuthFilterForV2 fails due to login failures in branch-2.10. Contributed by Ahmed Hussein (ahussein) 2020-02-25 16:36:50 +00:00
Ayush Saxena
a5c3620bc2 HDFS-15166. Remove redundant field fStream in ByteStringLog. Contributed by Xieming Li. 2020-02-24 20:18:10 +05:30
Konstantin V Shvachko
9c2c14f36d HDFS-15185. StartupProgress reports edits segments until the entire startup completes. Contributed by Konstantin V Shvachko.
(cherry picked from commit 6f84269bcd5cdb08ca68b2d8276f66d34a2a7a0d)
2020-02-21 11:02:04 -08:00
Masatake Iwasaki
3fc1c44974 HDFS-15052. WebHDFS getTrashRoot leads to OOM due to FileSystem object creation. (#1758)
(cherry picked from commit 2338d25dc7150d75fbda84cc95422380b5622224)

 Conflicts:
        hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java

(cherry picked from commit 610805ec7245769aebb36e52725522c42cb3dd88)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
2020-02-21 14:27:26 +09:00
Ayush Saxena
ce06503599 HDFS-15115. Namenode crash caused by NPE in BlockPlacementPolicyDefault when dynamically change logger to debug. Contributed by wangzhixiang 2020-02-19 20:56:08 +05:30
Hanisha Koneru
73ab4a42a6
HDFS-10659. Namenode crashes after Journalnode re-installation in an HA cluster due to missing paxos directory. Contributed by star, Hanisha Koneru.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 7217494f40dd99068a3f3b155261b1dac6c67828)
2020-02-19 18:33:10 +09:00
Wei-Chiu Chuang
f87efc1211 HADOOP-16868. ipc.Server readAndProcess threw NullPointerException. Contributed by Tsz-wo Sze.
(cherry picked from commit cb3f3cca01d6ab9f4befb1bcd31f384c37c0231a)
(cherry picked from commit d411a849e10910d24cf1bbc8d64405470e00f510)
(cherry picked from commit b28347d282474ec1bd6b978b290873d05d1bd320)
2020-02-18 21:54:12 -08:00
Kihwal Lee
38e97c2061 HDFS-12459. Fix revert: Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API. Contributed by Weiwei Yang.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 3ead525c71cba068e7abf1c76ad629bfeec10852)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
2020-02-17 15:49:48 -06:00
Kihwal Lee
e847768c3f Revert "HDFS-11156. Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API. Contributed by Weiwei Yang."
This reverts commit d4ca1c5226521c4f9c609bb8ec9f64a63bd8bef1.

-JsonUtil not reverted. A later commit in httpfs uses the new methods.
-jackson databind was introduced in pom.xml. This is not reverted as
later changes are using it.
2020-02-17 15:06:00 -06:00
Ayush Saxena
9e34e6a6e8 HDFS-15164. Fix TestDelegationTokensWithHA. Contributed by Ayush Saxena. 2020-02-14 22:08:05 +05:30
Ayush Saxena
1f3c11276e HDFS-15161. When evictableMmapped or evictable size is zero, do not throw NoSuchElementException in ShortCircuitCache#close(). Contributed by Lisheng Sun 2020-02-12 20:34:54 +05:30
Akira Ajisaka
9a14ccc74e
HADOOP-16849. start-build-env.sh behaves incorrectly when username is numeric only. Contributed by Jihyun Cho.
(cherry picked from commit 9709afe67d8ed45c3dfb53e45fe1efdc0814ac6c)

Conflicts:
	start-build-env.sh
2020-02-12 14:12:09 +09:00
Kihwal Lee
2861936228 HDFS-14758. Make lease hard limit configurable and reduce the default.
Contributed by hemanthboyina.

(cherry picked from commit 9b8a78d97bfd825ce840c6033371c7f10e49a5b8)
(cherry picked from commit f1840669cfc92c033521bf95989479523e2a649d)
(cherry picked from commit bf09bfa2db7c0790f72d6d7d357e0b80c9eff1f2)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/DfsClientConf.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/LeaseManager.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
2020-02-11 15:31:01 -06:00
Jonathan Hung
c34c87b1a8 YARN-8292. Fix the dominant resource preemption cannot happen when some of the resource vector becomes negative. Contributed by Wangda Tan and Eric Payne 2020-02-07 17:29:32 -08:00
Kihwal Lee
9cc63d1f63 HADOOP-15787. TestIPC.testRTEDuringConnectionSetup fails with jdk8u242. Contributed by Zsolt Venczel.
(cherry picked from commit a463cf75a0ab1f0dbb8cfa16c39a4e698bc1a625)
(cherry picked from commit 0b19c8e0860bf558d995951ab9ac4cd8a1674759)
2020-02-05 13:33:30 -06:00
Jonathan Hung
4fce8c8023 YARN-10116. Expose diagnostics in RMAppManager summary
(cherry picked from commit 314e2f9d2e888fae1e5bf669aeeead84a928d282)
(cherry picked from commit 147897da4b420b4749f3c7b410f4c329632c3352)
(cherry picked from commit fa35b8370ce14c9b8ee911b73fda380817b964fd)
2020-02-05 11:16:09 -08:00
Chen Liang
b97fdb7b4c HDFS-15148. dfs.namenode.send.qop.enabled should not apply to primary NN port. Contributed by Chen Liang. 2020-02-04 12:59:31 -08:00
Kihwal Lee
fb8ee3228e HDFS-12491. Support wildcard in CLASSPATH for libhdfs. Contributed by Muhammad Samir Khan.
(cherry picked from commit 10a60fbe20bb08cdd71076ea9bf2ebb3a2f6226e)
2020-02-04 12:38:05 -06:00
Wei-Chiu Chuang
1d0e2ba335 HDFS-15046. Backport HDFS-7060 to branch-2.10. Contributed by Lisheng Sun. 2020-01-31 16:16:31 -08:00
Inigo Goiri
9f7820e729 HDFS-13179. TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas fails intermittently. Contributed by Ahmed Hussein. 2020-01-31 11:37:07 -08:00
Eric Badger
21970f6f67 YARN-10084. Allow inheritance of max app lifetime / default app lifetime. Contributed by Eric Payne. 2020-01-30 21:29:33 +00:00
Chen Liang
29572686c4 HDFS-15118. [SBN Read] Slow clients when Observer reads are enabled but there are no Observers on the cluster. Contributed by Chen Liang 2020-01-29 12:44:12 -08:00
Eric E Payne
2552a4e2bf MAPREDUCE-7079: JobHistory#ServiceStop implementation is incorrect. Contributed by Ahmed Hussein (ahussein)
(cherry picked from commit b897f6834ba69d443c3acd1fab52261c00d675a1)
2020-01-29 17:33:12 +00:00
Kihwal Lee
d9198b2d1b HDFS-15146. TestBalancerRPCDelay.testBalancerRPCDelay fails
intermittently. Contributed by Ahmed Hussein.
2020-01-29 11:07:50 -06:00
Ahmed Hussein
006b0d70a3 MAPREDUCE-7259. testSpeculateSuccessfulWithUpdateEvents fails Intermittently
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
2020-01-28 17:26:13 -06:00
Ahmed Hussein
8e22b80b5f MAPREDUCE-7262. MRApp helpers block for long intervals (500ms)
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
2020-01-28 09:13:54 -06:00
Kihwal Lee
8d4671b611 HADOOP-16683. Disable retry of FailoverOnNetworkExceptionRetry in case of wrapped AccessControlException. Contributed by Adam Antal
(cherry picked from commit 3d249301f42130de80ab3ecf8c783bb51b0fa8a3)
2020-01-24 11:08:24 -06:00
Kihwal Lee
2873a705f4 HADOOP-16580. Disable retry of FailoverOnNetworkExceptionRetry in case of AccessControlException. Contributed by Adam Antal
(cherry picked from commit c79a5f2d9930f58ad95864c59cd0a6164cd53280)
2020-01-24 11:07:06 -06:00
Abhishek Modi
296786a647 YARN-9790. Failed to set default-application-lifetime if maximum-application-lifetime is less than or equal to zero. Contributed by kyungwan nam.
(cherry picked from commit d2d963f3d4819704351c04dbeb90fc8154488f91)
2020-01-23 17:12:25 +00:00
Kihwal Lee
0ead38b59a HDFS-14968. Add ability to log stale datanodes. Contributed by Ahmed Hussein.
(cherry picked from commit bd03053ea2f32ef982e37fbf2ffd679cb7dda797)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/HeartbeatManager.java

(cherry picked from commit 484270832064c84122348e663aaf5927ed411ebb)
2020-01-22 09:30:41 -06:00
Kihwal Lee
c5d43b65a9 HDFS-15125. Pull back HDFS-11353, HDFS-13993, HDFS-13945, and HDFS-14324
to branch-2.10. Contributed by Jim Brennan.
2020-01-21 09:59:14 -06:00