Commit Graph

19708 Commits

Author SHA1 Message Date
S O'Donnell 27b2c1ea7b HDFS-15583. Backport DirectoryScanner improvements HDFS-14476, HDFS-14751 and HDFS-15048 to branch 3.2 and 3.1. Contributed by Stephen O'Donnell
(cherry picked from commit 5f34e3214e)
2020-09-22 10:51:16 +01:00
zz 06ff4d1416
MAPREDUCE-7294. Only application master should upload resource to Yarn Shared Cache (#2223)
Contributed by Zhenzhao Wang <zhenzhaowang@gmail.com>

Signed-off-by: Mingliang Liu <liuml07@apache.org>
2020-09-20 00:07:07 -07:00
hemanthboyina 43b113de69 HDFS-15574. Remove unnecessary sort of block list in DirectoryScanner. Contributed by Stephen O'Donnell.
(cherry picked from commit aa582ccc2a)
2020-09-17 10:17:30 +05:30
Akira Ajisaka 3c932dd3d5
Revert "HADOOP-17246. Fix build the hadoop-build Docker image failed (#2277)"
This reverts commit 63c8e39a2c.
2020-09-16 16:47:08 +09:00
Wanqiang Ji 63c8e39a2c
HADOOP-17246. Fix build the hadoop-build Docker image failed (#2277)
(cherry picked from commit ce86183691)

 Conflicts:
	dev-support/docker/Dockerfile_aarch64

(cherry picked from commit ffc101a27b)
2020-09-16 16:26:36 +09:00
Jim Brennan c83a3177dc YARN-10430. Log improvements in NodeStatusUpdaterImpl. Contributed by Bilwa S T.
(cherry picked from commit 1efb54bd52)
2020-09-15 16:37:19 +00:00
Eric E Payne 1a8d9ddd14 YARN-10390: LeafQueue: retain user limits cache across assignContainers() calls. Contributed by Samir Khan (samkhan).
(cherry picked from commit 9afec2ed17)
2020-09-11 17:07:09 +00:00
bibinchundatt daff39a601 YARN-10369. Make NMTokenSecretManagerInRM sending NMToken for nodeId DEBUG. Contributed by Jim Brennan.
(cherry picked from commit 5d8600e80a)
2020-09-08 21:47:00 +00:00
Eric Badger c3dbbd66b9 [YARN-10353] Log vcores used and cumulative cpu in containers monitor.
Contributed by Jim Brennan

(cherry picked from commit 736bed6d6d)
(cherry picked from commit 01ada576f3)
2020-09-08 17:31:04 +00:00
Steve Loughran 5f0004e012 HADOOP-17199. S3A Directory Marker HADOOP-13230 backport #2210
This backports the listing-side changes of HADOOP-13230.

With this patch in, this branch of Hadoop is compatible with S3A clients
which do not delete directory markers when files are created underneath.

It does not allow this version to disable marker deletion; if the
fs.s3a.marker.retention option is changed to request this, a message
is printed at INFO and the policy remains at "delete"

The s3guard bucket-info command has been extended to support
probing for marker retention, as has the hasPathCapability method on
S3AFileSystem.

Read the documentation!

Change-Id: I9261cadedb6b64993351611e140c4e3e9cf50d3a
2020-08-28 17:55:18 +01:00
sguggilam e1ac832d5d
HADOOP-17159. Make UGI support forceful relogin from keytab ignoring the last login time (#2249)
Contributed by Sandeep Guggilam.

Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Steve Loughran <stevel@apache.org>
2020-08-27 00:06:05 -07:00
Mingliang Liu 9f94c9e60d
Revert "HADOOP-17159 Ability for forceful relogin in UserGroupInformation class (#2197)"
This reverts commit 12fb9e0600.
2020-08-26 11:24:03 -07:00
Uma Maheswara Rao G 0808cb6355 HDFS-15515: mkdirs on fallback should throw IOE out instead of suppressing and returning false (#2205)
* HDFS-15515: mkdirs on fallback should throw IOE out instead of suppressing and returning false

* Used LambdaTestUtils#intercept in test

(cherry picked from commit 99b120a06e)
2020-08-25 12:16:47 -07:00
S O'Donnell 0f234667dd HDFS-14852. Removing from LowRedundancyBlocks does not remove the block from all queues. Contributed by Fei Hui.
(cherry picked from commit 6a49bf9bff)
2020-08-25 16:05:00 +01:00
sguggilam 12fb9e0600
HADOOP-17159 Ability for forceful relogin in UserGroupInformation class (#2197)
Contributed by Sandeep Guggilam.

Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Steve Loughran <stevel@apache.org>
2020-08-25 00:08:20 -07:00
S O'Donnell f40193298b HADOOP-17209. Erasure Coding: Native library memory leak. Contributed by Sean Chow
(cherry picked from commit 17cd8a1b16)
2020-08-24 13:07:22 +01:00
Chen Liang e54128205c HDFS-15290. NPE in HttpServer during NameNode startup. Contributed by Simbarashe Dzinamarira. 2020-08-20 16:28:46 -07:00
Sunil G 2f7e584c21 Revert "YARN-10396. Max applications calculation per queue disregards queue level settings in absolute mode. Contributed by Benjamin Teke."
This reverts commit 7369fc31b4.
2020-08-20 19:13:03 +05:30
Sunil G 7369fc31b4 YARN-10396. Max applications calculation per queue disregards queue level settings in absolute mode. Contributed by Benjamin Teke.
(cherry picked from commit 82ec28f442)
2020-08-19 12:02:40 +05:30
Chao Sun bd3817b8cd
HADOOP-17205. Move personality file from Yetus to Hadoop repository (#2226)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit fefacf2578)
2020-08-18 12:12:32 +09:00
Kihwal Lee 0c35e44184 MAPREDUCE-7069. Add ability to specify user environment variables individually. Contributed by Jim Brennan
(cherry picked from commit 4571351ccc)
2020-08-13 19:02:03 -05:00
Akira Ajisaka f9c251badc
HADOOP-17204. Fix typo in Hadoop KMS document. Contributed by Xieming Li.
(cherry picked from commit 141c62584b)
2020-08-12 16:09:52 +09:00
Jonathan Hung c18a38bd07 YARN-10251. Show extended resources on legacy RM UI. Contributed by Eric Payne
(cherry picked from commit 17d18a2a3a)
2020-08-07 17:44:26 -07:00
Ayush Saxena 4af5fc86b2 HDFS-15514. Remove useless dfs.webhdfs.enabled. Contributed by Fei Hui. 2020-08-07 22:24:41 +05:30
Wanqiang Ji f3ac1dde5e
MAPREDUCE-7288. Fix TestLongLong#testRightShift (#2183)
(cherry picked from commit dc5470ae86)
2020-08-06 09:37:28 +09:00
Eric Badger 647be0c0f6 YARN-4575. ApplicationResourceUsageReport should return ALL reserved resource.
Contributed by Bibin Chundatt and Eric Payne.
2020-08-05 23:14:27 +00:00
Mingliang Liu 1a53bc6ecf
HDFS-15499. Clean up httpfs/pom.xml to remove aws-java-sdk-s3 exclusion (#2188)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2020-08-04 23:13:41 -07:00
Mingliang Liu 770735d330
HADOOP-17184. Add --mvn-custom-repos parameter to yetus calls (#2193)
(cherry picked from commit 49996f67f7)
2020-08-05 10:52:54 +09:00
sguggilam 31c61f4363
HADOOP-17164. UGI loginUserFromKeytab doesn't set the last login time (#2178)
Contributed by Sandeep Guggilam.

Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Steve Loughran <stevel@apache.org>
2020-08-04 10:57:52 -07:00
Eric Badger 87816e8a51 YARN-10363. TestRMAdminCLI.testHelp is failing in branch-2.10. Contributed by
Bilwa S T.
2020-07-31 22:39:39 +00:00
Uma Maheswara Rao G 1768618ab9 HDFS-15478: When Empty mount points, we are assigning fallback link to self. But it should not use full URI for target fs. (#2160). Contributed by Uma Maheswara Rao G.
(cherry picked from commit ac9a07b51a)
2020-07-31 01:42:22 -07:00
Uma Maheswara Rao G 544602e3d1 HDFS-15464: ViewFsOverloadScheme should work when -fs option pointing to remote cluster without mount links (#2132). Contributed by Uma Maheswara Rao G.
(cherry picked from commit 3e70006639)
2020-07-31 01:42:03 -07:00
Uma Maheswara Rao G 7084b273ac HDFS-15449. Optionally ignore port number in mount-table name when picking from initialized uri. Contributed by Uma Maheswara Rao G.
(cherry picked from commit dc0626b5f2)
2020-07-31 01:41:45 -07:00
Uma Maheswara Rao G ab43b7bcfb HDFS-15450. Fix NN trash emptier to work if ViewFSOveroadScheme enabled. Contributed by Uma Maheswara Rao G.
(cherry picked from commit 55a2ae80dc)
2020-07-31 01:41:21 -07:00
Uma Maheswara Rao G 49a7f9ff7b HDFS-15430. create should work when parent dir is internalDir and fallback configured. Contributed by Uma Maheswara Rao G.
(cherry picked from commit 1f2a80b5e5)
2020-07-31 01:40:57 -07:00
Eric E Payne 8d8366166e YARN-1529: Add Localization overhead metrics to NM. Contributed by Jim_Brennan.
(cherry picked from commit e0c9653166)
(cherry picked from commit 863689ff9a)
2020-07-30 17:27:35 +00:00
ywheel 2dfc6bf471
MAPREDUCE-7051. Fix typo in MultipleOutputFormat (#338)
(cherry picked from commit cf4eb75608)
2020-07-30 13:31:18 +09:00
Jonathan Hung b0edec2918 YARN-10343. Legacy RM UI should include labeled metrics for allocated, total, and reserved resources. Contributed by Eric Payne
(cherry picked from commit ffb920de2a)
2020-07-28 13:44:40 -07:00
Eric Badger 2255bcff87 YARN-4771. Some containers can be skipped during log aggregation after NM
restart. Contributed by Jason Lowe and Jim Brennan.

(cherry picked from commit ac5f21dbef)
2020-07-24 23:02:19 +00:00
Akira Ajisaka 416edc5a7b
HADOOP-17147. Dead link in hadoop-kms/index.md.vm. Contributed by Xieming Li.
(cherry picked from commit d5b4766158)
2020-07-23 00:41:22 +09:00
Ayush Saxena 4592af898b HADOOP-17100. Replace Guava Supplier with Java8+ Supplier in Hadoop. Contributed by Ahmed Hussein. 2020-07-22 19:05:13 +05:30
Chen Liang 1e33696bc8 HDFS-15404. ShellCommandFencer should expose info about source. Contributed by Chen Liang.
(cherry picked from commit 3833c616e0)
(cherry picked from commit 370efc6d95)
2020-07-20 15:24:07 -07:00
Akira Ajisaka 635067d03d HADOOP-16753. Refactor HAAdmin. Contributed by Xieming Li.
(cherry picked from commit 1defe3a65a)
(cherry picked from commit 0d949d375e)
2020-07-20 13:37:08 -07:00
Mukund Thakur cb3e378782 HADOOP-17130. Configuration.getValByRegex() shouldn't be updating the results while fetching. (#2142)
Contributed by Mukund Thakur

Change-Id: I35fe671d4026e8d3c04fc52012c3edcd4495e14a
2020-07-17 10:40:01 +01:00
He Xiaoqiao b611559755 HDFS-14498. LeaseManager can loop forever on the file for which create has failed. Contributed by Stephen O'Donnell. 2020-07-17 00:08:42 +08:00
S O'Donnell 1a11c4bc71 HDFS-15313. Ensure inodes in active filesytem are not deleted during snapshot delete. Contributed by Shashikant Banerjee. 2020-07-16 12:43:29 +01:00
Ahmed Hussein b7b9bd32db HADOOP-17099. Replace Guava Predicate with Java8+ Predicate
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit 1f71c4ae71)
2020-07-15 12:19:42 -05:00
Ahmed Hussein 34a6cbb5bb HADOOP-17101. Replace Guava Function with Java8+ Function
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit 98fcffe93f)
(cherry picked from commit 43a865dc07)
2020-07-15 11:01:34 -05:00
Erik Krogen 0de48933c5 HADOOP-17127. Use RpcMetrics.TIMEUNIT to initialize rpc queueTime and processingTime. Contributed by Jim Brennan. 2020-07-15 08:33:38 -07:00
Eric Badger 4cf5c282d0 YARN-10348. Allow RM to always cancel tokens after app completes. Contributed by
Jim Brennan.

(cherry picked from commit 09f1547697)
2020-07-14 18:27:23 +00:00