Commit Graph

19879 Commits

Author SHA1 Message Date
Eric Badger 9c3acb3018 YARN-10460. Upgrading to JUnit 4.13 causes tests in TestNodeStatusUpdater to fail. Contributed by Peter Bacsko.
(cherry picked from commit bf0d058b69)
2021-04-19 20:18:20 +00:00
Viraj Jasani bef21ceb14 HADOOP-17633. Bump json-smart to 2.4.2 and nimbus-jose-jwt to 9.8 due to CVEs (#2895). Contributed by Viraj Jasani.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
 Conflicts:
	LICENSE-binary
2021-04-16 12:49:20 +05:30
Akira Ajisaka 1b5ef939d3
HADOOP-17630. [JDK 15] TestPrintableString fails due to Unicode 13.0 support. (#2890)
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 156ecc89be)
2021-04-13 17:10:48 +09:00
Wei-Chiu Chuang 8a865273db HDFS-15759. EC: Verify EC reconstruction correctness on DataNode (#2585) (#2868)
(cherry picked from commit 95e6892675)
(cherry picked from commit 6cfa01c905ca422c3c6b2d1d735dd16ee08b4fb4)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode/StripedReconstructor.java

Co-authored-by: touchida <56789230+touchida@users.noreply.github.com>
(cherry picked from commit 0faa626bd8)
2021-04-13 11:09:52 +08:00
Wei-Chiu Chuang 5a6867e2bd
HADOOP-17614. Bump netty to the latest 4.1.61. (#2871) 2021-04-11 22:55:01 -07:00
Eric Badger c70ac91d3f YARN-10702. Add cluster metric for amount of CPU used by RM Event Processor.
Contributed by Jim Brennan.
2021-04-08 18:41:28 +00:00
Stephen O'Donnell 40ed9e1dc0 HDFS-15937. Reduce memory used during datanode layout upgrade. Contributed by Stephen O'Donnell (#2838)
(cherry picked from commit 4c567fcff7)
2021-04-08 12:45:01 +01:00
Gautham B A 1f3697b3a4
HDFS-15948. Fix test4tests for libhdfspp (#2873)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 02b9506c5a)
2021-04-07 19:58:37 +09:00
Harunobu Daikoku c2cd0ab237 HDFS-15900. RBF: empty blockpool id on dfsrouter caused by UNAVAILABLE NameNode. (#2866)
Co-authored-by: Harunobu Daikoku <hdaikoku@yahoo-corp.jp>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit ee9ddc8184)
2021-04-06 16:03:09 +09:00
Gautham B A 5a18d9248b
HDFS-15950. Remove unused hdfs.proto import (#2858)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ca5e13fd74)
2021-04-05 11:49:54 +09:00
Viraj Jasani 739f70b552
HDFS-15931 : Fix non-static inner classes for better memory management (#2830). Contributed by Viraj Jasani
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2021-04-01 17:05:07 -07:00
Takanobu Asanuma ddf9ca14ee Revert "HDFS-15900. RBF: empty blockpool id on dfsrouter caused by UNAVAILABLE NameNode. (#2787)"
This reverts commit bd27853bfa.
2021-04-01 13:53:05 +09:00
He Xiaoqiao 16d50f4bbf
HDFS-15932. Improve the balancer error message when process exits abnormally. Contributed by Renukaprasad C. 2021-03-31 12:24:59 +08:00
Akira Ajisaka b26eac6e8a
YARN-10716. Fix typo in ContainerRuntime. Contributed by xishuhai.
(cherry picked from commit 8ad77a26c9)
2021-03-30 17:48:39 +09:00
Harunobu Daikoku bd27853bfa HDFS-15900. RBF: empty blockpool id on dfsrouter caused by UNAVAILABLE NameNode. (#2787)
Co-authored-by: Harunobu Daikoku <hdaikoku@yahoo-corp.jp>
(cherry picked from commit ea6595d3b6)
2021-03-29 11:49:28 +09:00
Akira Ajisaka 7b7ec5687e
HADOOP-16870. Use spotbugs-maven-plugin instead of findbugs-maven-plugin (#2753)
Removed findbugs from the hadoop build images and added spotbugs instead.
Upgraded SpotBugs to 4.2.2 and spotbugs-maven-plugin to 4.2.0.

Reviewed-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 23b343aed1)

 Conflicts:
	dev-support/docker/Dockerfile
	hadoop-project/pom.xml

(cherry picked from commit de2904f123)

 Conflicts:
	dev-support/docker/Dockerfile_aarch64
	hadoop-cloud-storage-project/hadoop-cos/pom.xml
	hadoop-common-project/hadoop-registry/pom.xml
	hadoop-project/pom.xml

(cherry picked from commit 0b278502e2)

 Conflicts:
	dev-support/docker/Dockerfile
	hadoop-project/pom.xml
2021-03-27 00:40:24 +09:00
Akira Ajisaka c18ecc5de6
HADOOP-17582. Replace GitHub App Token with GitHub OAuth token (#2766)
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 2b62b12d0d)
2021-03-27 00:36:50 +09:00
Akira Ajisaka 408cffe2d0
HADOOP-17570. Apply YETUS-1102 to re-enable GitHub comments (#2745)
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 9b78de2550)
2021-03-27 00:36:17 +09:00
Akira Ajisaka 3e2534c032
HADOOP-16748. Migrate to Python 3 and upgrade Yetus to 0.13.0 (branch-3.2) (#2717)
- Upgrade Yetus to 0.13.0 to support Python 3 for the release scripts.
- Removed determine-flaky-tests-hadoop.py.
- Temporarily disabled shelldocs check due to YETUS-1099.

Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Reviewed-by: Mingliang Liu <liuml07@apache.org>
(cherry picked from commit b9b49ed956)

 Conflicts:
	dev-support/Jenkinsfile
	dev-support/docker/Dockerfile

(cherry picked from commit ff8b79f890)
(cherry picked from commit 08652eeee7)
2021-03-27 00:33:16 +09:00
Akira Ajisaka ce08b9d2eb
HADOOP-16061. Upgrade Yetus to 0.10.0
This closes #1298

(cherry picked from commit 5e156b9dde)
(cherry picked from commit 43b8396b77)
2021-03-27 00:33:00 +09:00
Akira Ajisaka db94908212
HADOOP-16054. Update Dockerfile to use Bionic (#2713)
(cherry picked from commit 81d8b71534)

 Conflicts:
	dev-support/docker/Dockerfile

(cherry picked from commit fa5c9a1886)
2021-03-27 00:19:55 +09:00
Akira Ajisaka a8ddc179df
HADOOP-17602. Upgrade JUnit to 4.13.1. Contributed by Ahmed Hussein.
(cherry picked from commit c5929c00a3)

 Conflicts:
	hadoop-cloud-storage-project/hadoop-huaweicloud/pom.xml

(cherry picked from commit 80d4636067)

 Conflicts:
	hadoop-project/pom.xml

(cherry picked from commit 819239f971)
2021-03-25 20:29:18 +09:00
He Xiaoqiao b33e3083ec
HDFS-15919. BlockPoolManager should log stack trace if unable to get Namenode addresses. Contributed by Stephen O'Donnell. 2021-03-25 12:32:34 +08:00
Viraj Jasani a0dd4e0722
HDFS-15911 : Provide blocks moved count in Balancer iteration result (#2799)
Contributed by Viraj Jasani.

Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-03-24 10:19:56 -07:00
Akira Ajisaka 332c2a637d
YARN-10036. Install yarnpkg and upgrade nodejs in Dockerfile (#1772)
(cherry picked from commit bc825b9628)
(cherry picked from commit 710a24b6cd)

 Conflicts:
	dev-support/docker/Dockerfile
2021-03-24 16:29:33 +09:00
Kevin Su 65b1945f22
HADOOP-16754. Fix docker failed to build yetus/hadoop.
Contributed by Kevin Su.

Change-Id: Ie9cf27b7a7ba5923405f24d39b95b0248f3718b7
(cherry picked from commit 0f25cbbb25)
2021-03-24 16:25:07 +09:00
Allen Wittenauer 1bcde89983
HADOOP-14671. Upgrade Apache Yetus to 0.8.0
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 4b8c2b1c1c)

 Conflicts:
	dev-support/docker/Dockerfile
	hadoop-common-project/hadoop-common/src/site/markdown/release/2.10.0/RELEASENOTES.2.10.0.md
	hadoop-common-project/hadoop-common/src/site/markdown/release/3.0.2/CHANGELOG.3.0.2.md
	hadoop-common-project/hadoop-common/src/site/markdown/release/3.1.2/RELEASENOTES.3.1.2.md
2021-03-24 16:04:11 +09:00
Jim Brennan 34e507cb8c YARN-10697. Resources are displayed in bytes in UI for schedulers other than capacity. Contributed by Bilwa S T. 2021-03-23 18:57:23 +00:00
litao 75f2d47ff5 HDFS-15906. Close FSImage and FSNamesystem after formatting is complete (#2800)
(cherry picked from commit d05d15620e)
2021-03-23 18:46:19 +09:00
Jim Brennan c1b25422a5 MAPREDUCE-7325. Intermediate data encryption is broken in LocalJobRunner. Contributed by Ahmed Hussein
(cherry picked from commit ede490d131)
2021-03-22 19:28:23 +00:00
Ayush Saxena c9c471e04e HDFS-15439. Setting dfs.mover.retry.max.attempts to negative value will retry forever. Contributed by AMC-team.
(cherry picked from commit e3d1966f58)
2021-03-22 13:10:02 +00:00
Mingliang Liu f2de8cc5cf
YARN-10706. Upgrade com.github.eirslett:frontend-maven-plugin to 1.11.2 (#2791)
Contributed by Mingliang Liu.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-03-21 23:03:33 -07:00
kwangsun 7af7eb3e9f
HADOOP-17952. Fix the wrong CIDR range example in Proxy User documentation. (#2780)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit c8d327a4f1)
2021-03-22 11:46:44 +09:00
Ayush Saxena 30a1b17b22 HDFS-15438. Setting dfs.disk.balancer.max.disk.errors = 0 will fail the block copy. Contributed by AMC-team.
(cherry picked from commit 2377df38ad)
2021-03-19 19:50:19 +00:00
Ayush Saxena 8354ce680b HDFS-15633. Avoid redundant RPC calls for getDiskStatus. (#2386). Contributed by Ayush Saxena. 2021-03-19 23:14:37 +05:30
Ayush Saxena 162923e799 HADOOP-17594. DistCp: Expose the JobId for applications executing through run method (#2786). Contributed by Ayush Saxena.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Steve Loughran <stevel@apache.org>
2021-03-19 14:21:02 +05:30
Ayush Saxena 8ec256db04 HADOOP-17310. Touch command with -c option is broken. (#2393). Contributed by Ayush Saxena. 2021-03-19 00:14:11 +05:30
Viraj Jasani 503101c1f1 HDFS-15895 : Remove redundant String#format in DFSAdmin#printOpenFiles (#2772)
(cherry picked from commit 9c43b60348)
2021-03-17 15:14:29 +09:00
Takanobu Asanuma b898058e45 HDFS-15890. Improve the Logs for File Concat Operation. Contributed by Bhavik Patel.
(cherry picked from commit 9ba60c33d8)
2021-03-17 14:18:54 +09:00
touchida b4c07209fc
HDFS-13975. TestBalancer#testMaxIterationTime fails sporadically (#2726)
Co-authored-by: toshihiko.uchida <toshihiko.uchida@linecorp.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 25390babc7)
2021-03-17 13:12:40 +09:00
Jim Brennan a92300e0a9 MAPREDUCE-7322. revisiting TestMRIntermediateDataEncryption. Contributed by Ahmed Hussein.
(cherry picked from commit 38f86cc8c7)
2021-03-16 19:19:01 +00:00
Eric Payne 2439e07708 YARN-10588. Percentage of queue and cluster is zero in WebUI . Contributed by Bilwa S T
(cherry picked from commit aa4c17b9d7)
2021-03-15 19:55:13 +00:00
He Xiaoqiao 0224dd87af HADOOP-17585. Correct timestamp format in the docs for the touch command. Contributed by Stephen O'Donnell.
(cherry picked from commit b1dc6c40a0)
2021-03-14 15:20:16 +00:00
Ayush Saxena 77aedb7d4c HADOOP-17586. Upgrade org.codehaus.woodstox:stax2-api to 4.2.1. (#2769). Contributed by Ayush Saxena.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
 Conflicts:
	LICENSE-binary
2021-03-13 15:20:50 +05:30
Jim Brennan a6c2fced53 [YARN-10687] Add option to disable/enable free disk space checking and percentage checking for full and not-full disks. Contributed by Qi Zhu.
(cherry picked from commit 5f067cf0f3)
2021-03-12 17:47:43 +00:00
Viraj Jasani 6ecf829e79
HADOOP-17571 : Bump up woodstox-core to 5.3.0 due to security concerns (#2757)
Contributed by Viraj Jasani.

Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-03-11 12:28:02 -08:00
Hui Fei 7250f0e327 HDFS-15875. Check whether file is being truncated before truncate (#2746)
(cherry picked from commit 6a55baeee4)
2021-03-11 10:45:57 +08:00
Akira Ajisaka be253c2fd0
HADOOP-17557. skip-dir option is not processed by Yetus. Contributed by Ahmed Hussein.
(cherry picked from commit 63aa142b77)
2021-03-09 11:11:32 +09:00
tomscut 7b925bc486 HDFS-15808. Add metrics for FSNamesystem read/write lock hold long time. (#2668) Contributed by tomscut.
(cherry picked from commit 9cb51bf106)
2021-03-06 14:18:20 -08:00
Akira Ajisaka 5dda43c061
HADOOP-17546. Update Description of hadoop-http-auth-signature-secret in HttpAuthentication.md. Contributed by Ravuri Sushma sree.
(cherry picked from commit 9fd2198daa)
2021-03-04 14:57:41 +09:00