secfree
110104da38
HDFS-16169. Fix TestBlockTokenWithDFSStriped#testEnd2End failure ( #3850 )
...
Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
Reviewed-by: litao <tomleescut@gmail.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 39cad5f28f
)
2022-01-28 17:05:32 +09:00
Akira Ajisaka
8032b680fb
YARN-10561. Upgrade node.js to 12.22.1 and yarn to 1.22.5 in YARN application catalog webapp ( #2591 )
...
Reviewed-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 9cb535caf2
)
2022-01-28 15:52:33 +09:00
litao
b5d2e00f81
HDFS-16427. Add debug log for BlockManager#chooseExcessRedundancyStriped ( #3888 )
...
(cherry picked from commit 6136d630a3
)
2022-01-27 13:44:03 +09:00
Xing Lin
d613776b64
HADOOP-18093. Better exception handling for testFileStatusOnMountLink() in ViewFsBaseTest.java ( #3918 ). Contributed by Xing Lin. ( #3929 )
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 0d17b629ff
)
2022-01-26 21:55:32 +05:30
litao
ef1a2b478b
HDFS-16398. Reconfig block report parameters for datanode ( #3831 )
...
(cherry picked from commit c2ff39006f
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
2022-01-26 17:36:17 +09:00
Wei-Chiu Chuang
ff3a88b9c2
HDFS-16423. Balancer should not get blocks on stale storages ( #3883 ) ( #3924 )
...
Reviewed-by: litao <tomleescut@gmail.com>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit db2c3200e6
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithHANameNodes.java
Co-authored-by: qinyuren <1476659627@qq.com>
2022-01-26 11:54:13 +08:00
Bryan Beaudreault
bd13d73334
HDFS-16262. Async refresh of cached locations in DFSInputStream ( #3527 )
...
(cherry picked from commit 94b884ae55
)
2022-01-25 11:43:47 +00:00
daimin
728ed10a7c
HDFS-16430. Add validation to maximum blocks in EC group when adding an EC policy ( #3899 ). Contributed by daimin.
...
Reviewed-by: tomscut <litao@bigo.sg>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 5ef335da1e
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingPolicyManager.java
2022-01-25 09:58:20 +08:00
Steve Loughran
4fd0389153
HADOOP-18094. Disable S3A auditing by default.
...
See HADOOP-18091. S3A auditing leaks memory through ThreadLocal references
* Adds a new option fs.s3a.audit.enabled to controls whether or not auditing
is enabled. This is false by default.
* When false, the S3A auditing manager is NoopAuditManagerS3A,
which was formerly only used for unit tests and
during filsystem initialization.
* When true, ActiveAuditManagerS3A is used for managing auditing,
allowing auditing events to be reported.
* updates documentation and tests.
This patch does not fix the underlying leak. When auditing is enabled,
long-lived threads will retain references to the audit managers
of S3A filesystem instances which have already been closed.
Contributed by Steve Loughran.
Change-Id: I671e594cd59e8ca77a1f65be791ad0ae9530b8d9
2022-01-24 14:04:23 +00:00
dependabot[bot]
55192570a1
YARN-11065. Bump follow-redirects from 1.13.3 to 1.14.7 in hadoop-yarn-ui ( #3890 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.13.3 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dae33cf935
)
2022-01-20 21:45:53 +09:00
liubingxing
d6ff60df65
HDFS-16352. return the real datanode numBlocks in #getDatanodeStorageReport ( #3714 ). Contributed by liubingxing.
...
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
(cherry picked from commit d8dea6f52a
)
2022-01-20 18:47:00 +08:00
Anmol Asrani
9b221b9599
HADOOP-18084. ABFS: Add testfilePath while verifying test contents are read correctly ( #3903 )
...
Contributed by: Anmol Asrani
Change-Id: I6e71bf349a74032f453398c7ae66f9c3305be190
2022-01-19 10:18:05 +00:00
litao
f9c0bc094a
HDFS-16399. Reconfig cache report parameters for datanode ( #3841 )
...
(cherry picked from commit e355646330
)
2022-01-19 18:43:15 +09:00
litao
11fe5279b0
HDFS-16400. Reconfig DataXceiver parameters for datanode ( #3843 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit f02374df92
)
2022-01-19 18:42:48 +09:00
litao
cdaf4d89f9
HDFS-16331. Make dfs.blockreport.intervalMsec reconfigurable ( #3676 )
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 52ec65fd10
)
2022-01-19 18:40:41 +09:00
Viraj Jasani
831c11c47a
HDFS-16139. Update BPServiceActor Scheduler's nextBlockReportTime atomically ( #3228 ). Contributed by Viraj Jasani.
...
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
(cherry picked from commit b038042ece
)
2022-01-19 16:01:00 +09:00
qinyuren
1c71d6e9fe
HDFS-16426. Fix nextBlockReportTime when trigger full block report force ( #3887 )
...
(cherry picked from commit fcb1076699
)
2022-01-19 13:44:02 +09:00
Steve Loughran
8ccc586af6
HADOOP-17409. Remove s3guard from S3A module ( #3534 )
...
Completely removes S3Guard support from the S3A codebase.
If the connector is configured to use any metastore other than
the null and local stores (i.e. DynamoDB is selected) the s3a client
will raise an exception and refuse to initialize.
This is to ensure that there is no mix of S3Guard enabled and disabled
deployments with the same configuration but different hadoop releases
-it must be turned off completely.
The "hadoop s3guard" command has been retained -but the supported
subcommands have been reduced to those which are not purely S3Guard
related: "bucket-info" and "uploads".
This is major change in terms of the number of files
changed; before cherry picking subsequent s3a patches into
older releases, this patch will probably need backporting
first.
Goodbye S3Guard, your work is done. Time to die.
Contributed by Steve Loughran.
2022-01-18 18:04:48 +00:00
Steve Loughran
47ba977ca9
HADOOP-18068. upgrade AWS SDK to 1.12.132 ( #3864 )
...
With this update, the versions of key shaded dependencies are
jackson 2.12.3
httpclient 4.5.13
This backport patch does not include the TestArn changes needed
for the test to work with this version of the SDK; it is only
to be applied to branches without HADOOP-17198. "Support S3 Access Points".
If that patch is backported later, that test suite MUST be
updated to the latest version.
Contributed by Steve Loughran
Change-Id: I8d2b71781ee8472b16469531f9cd0de32dd3356f
2022-01-18 12:20:12 +00:00
Viraj Jasani
5e9e779ed2
HADOOP-17152. Provide Hadoop's own Lists utility to reduce dependency on Guava ( #3061 )
...
Change-Id: I52e55b9d9826ad661e9ad7dc15f007aa168f0fe1
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2022-01-18 11:57:25 +00:00
Gera Shegalov
6c58f83b78
YARN-11055. Add missing newline in cgroups-operations.c ( #3851 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit a94e9fcbde
)
2022-01-17 16:21:13 +09:00
Xiangyi Zhu
b5e7f59e53
HDFS-16043. Add markedDeleteBlockScrubberThread to delete blocks asynchronously ( #3882 ). Contributed by Xiangyi Zhu.
...
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2022-01-15 23:18:05 +08:00
Jackson Wang
926222a0d0
HDFS-16420. Avoid deleting unique data blocks when deleting redundancy striped blocks. ( #3880 )
...
Reviewed-by: litao <tomleescut@gmail.com>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit d8862822d2
)
2022-01-14 22:40:58 +09:00
ahmarsuhail
6649c2813e
HADOOP-16223. Remove misleading fs.s3a.delegation.tokens.enabled prompt ( #3879 )
...
Contributed by Ahmar Suhail
Change-Id: I6a33043831a059325c58b0f76c925e52c6ae14f7
2022-01-12 17:27:53 +00:00
Mukund Thakur
60c1c6d93c
HADOOP-18065. ExecutorHelper.logThrowableFromAfterExecute() is too noisy. ( #3860 )
...
Downgrading warn logs to debug in case of InterruptedException
Contributed By: Mukund Thakur
2022-01-10 13:52:02 +05:30
monthonk
7dd8e900f8
HADOOP-14334. S3 SSEC tests to downgrade when running against a mandatory encryption object store ( #3870 )
...
Contributed by Monthon Klongklaew
Change-Id: Ib275c9690bbc90170c6a442ded198fe006c20bc1
2022-01-09 18:06:27 +00:00
Ayush Saxena
5edb33b5ed
HADOOP-18056. DistCp: Filter duplicates in the source paths. ( #3825 ). Contributed by Ayush Saxena.
...
Reviewed-by: tomscut <litao@bigo.sg>
Reviewed-by: Steve Loughran <stevel@apache.org>
2022-01-05 23:53:55 +05:30
Ashutosh Gupta
6b83fe4a00
HDFS-16410. Insecure Xml parsing in OfflineEditsXmlLoader ( #3854 )
...
Contributed by Ashutosh Gupta
2022-01-05 10:00:23 -08:00
liever18
3a82899493
HDFS-16408. Ensure LeaseRecheckIntervalMs is greater than zero ( #3856 )
...
(cherry picked from commit e1d0aa9ee5
)
2022-01-05 15:46:21 +00:00
Wei-Chiu Chuang
350b51f287
Make upstream aware of 3.3.1 release
2022-01-04 14:48:49 -08:00
Ashutosh Gupta
bad3a0964c
HDFS-16409. Fix typo: testHasExeceptionsReturnsCorrectValue -> testHasExceptionsReturnsCorrectValue ( #3835 )
...
Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 9eea0e28f2
)
2022-01-04 13:25:56 +09:00
Ayush Saxena
53249a40db
HADOOP-18061. Update the year to 2022. ( #3845 ). Contributed by Ayush Saxena.
...
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
2022-01-04 07:59:45 +05:30
jianghuazhu
fd75c4a158
HADOOP-18063. Remove unused import AbstractJavaKeyStoreProvider in Shell class. ( #3846 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 7398a0f1b2
)
2022-01-04 11:26:07 +09:00
Igor Dvorzhak
5d72fdfcb2
HADOOP-13464. Upgrade Gson dependency to version 2.8.9 ( #2524 )
...
Change-Id: Ifd3fb9ec6ebfc8874bb799bc198219511fe55a2f
Update pom.xml
Update pom.xml
(cherry picked from commit 795054882a
)
2021-12-30 21:37:14 +00:00
Ashutosh Gupta
6535a183b2
HDFS-14099. Unknown frame descriptor when decompressing multiple frames ( #3836 )
...
Co-authored-by: xuzq <xuzengqiang@kuaishou.com>
Co-authored-by: Ashutosh Gupta <ashugpt@amazon.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit caab29ec88
)
2021-12-28 22:00:48 +09:00
Akira Ajisaka
cd30687a15
Revert "HDFS-14099. Unknown frame descriptor when decompressing multiple frames ( #3836 )"
...
This reverts commit 05b43f2057
.
2021-12-28 21:51:40 +09:00
Ashutosh Gupta
05b43f2057
HDFS-14099. Unknown frame descriptor when decompressing multiple frames ( #3836 )
...
Co-authored-by: xuzq <xuzengqiang@kuaishou.com>
Co-authored-by: Ashutosh Gupta <ashugpt@amazon.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit caab29ec88
)
2021-12-28 21:49:06 +09:00
Akira Ajisaka
7cd52000e0
HADOOP-18045. Disable TestDynamometerInfra ( #3829 )
...
Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
(cherry picked from commit dba139cd0f
)
2021-12-28 13:23:05 +09:00
jianghuazhu
b623acff5a
HDFS-16395. Remove useless NNThroughputBenchmark#dummyActionNoSynch(). ( #3823 )
...
Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit a5659fe0f7
)
2021-12-24 17:25:00 +09:00
Cheng Pan
7b51e6824d
YARN-11053. AuxService should not use class name as default system classes ( #3816 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 4db27acf06
)
2021-12-24 11:09:42 +09:00
Akira Ajisaka
6c252cfb44
HADOOP-18052. Support Apple Silicon in start-build-env.sh ( #3817 )
...
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c8725de547
)
2021-12-23 18:14:16 +09:00
Ashutosh Gupta
1c99810b89
YARN-8234. Improve RM system metrics publisher's performance by pushing events to timeline server in batch ( #3793 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 00e2405fbd
)
2021-12-23 17:16:09 +09:00
Eric Payne
ccaba2561a
YARN-10178: Global Scheduler async thread crash caused by 'Comparison method violates its general contract. Contributed by Andras Gyori (gandras) and Qi Zhu (zhuqi).
...
(cherry picked from commit e2d6fd075d
)
2021-12-21 19:20:21 +00:00
wangzhaohui
cc7b7e174c
HDFS-16391. Avoid evaluation of LOG.debug statement in NameNodeHeartbeatService ( #3820 )
...
(cherry picked from commit 8d251bd629
)
2021-12-21 11:46:23 +00:00
jianghuazhu
a4496a0187
HDFS-16386. Reduce DataNode load when FsDatasetAsyncDiskService is working. ( #3806 )
...
(cherry picked from commit 746b328554
)
2021-12-20 11:32:01 +00:00
Szilard Nemeth
357423b57a
YARN-6862. Nodemanager resource usage metrics sometimes are negative. Contributed by Benjamin Teke
2021-12-17 14:51:41 +01:00
Dhananjay Badaya
e7b1f87665
HADOOP-13500. Synchronizing iteration of Configuration properties object ( #3775 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 4483607a4e
)
2021-12-17 16:07:46 +09:00
litao
e60b8a0358
HDFS-16377. Should CheckNotNull before access FsDatasetSpi ( #3784 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 22f5e1885d
)
2021-12-16 13:51:40 +09:00
litao
75af1d67e4
HDFS-16375. The FBR lease ID should be exposed to the log ( #3769 )
...
(cherry picked from commit 10cdde59b4
)
2021-12-16 13:31:17 +09:00
Siyao Meng
0cab54909a
HADOOP-18048. [branch-3.3] Dockerfile_aarch64 build fails with fatal error: Python.h: No such file or directory ( #3801 )
2021-12-14 17:56:58 -08:00