litao
abf8572a16
HDFS-16326. Simplify the code for DiskBalancer ( #3663 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 965e3874e9
)
2021-11-19 11:39:48 +09:00
GuoPhilipse
583a41090c
HDFS-16328. Correct disk balancer desc ( #3669 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 0c1eb0125b
)
2021-11-19 01:02:49 +09:00
Viraj Jasani
12960d7fd4
HDFS-16330. Fix incorrect placeholder for Exception logs in DiskBalancer ( #3672 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 38614d05e1
)
2021-11-19 00:56:38 +09:00
litao
381e41b97c
HDFS-16329. Fix log format for BlockManager ( #3670 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dc751df63b
)
2021-11-19 00:43:42 +09:00
Takanobu Asanuma
210464b08f
HDFS-15963. Unreleased volume references cause an infinite loop. Contributed by Shuyan Zhang. ( #2941 , #3668 )
...
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
(cherry picked from commit 9f2db2c9fd
)
Co-authored-by: zhangshuyan0 <81411509+zhangshuyan0@users.noreply.github.com>
2021-11-18 16:32:54 +09:00
litao
81f6cbc715
HDFS-16315. Add metrics related to Transfer and NativeCopy for DataNode ( #3666 )
...
(cherry picked from commit 026d5860cb
)
2021-11-17 13:53:33 +09:00
Neil
78c56f39b4
HDFS-16182.numOfReplicas is given the wrong value in BlockPlacementPolicyDefault$chooseTarget can cause DataStreamer to fail with Heterogeneous Storage. ( #3320 )
...
(cherry picked from commit 5626734a36
)
(cherry picked from commit ce3a7155335416ed4665f90f0ddd7ac3a3edd7e6)
2021-11-16 22:59:35 +08:00
Wei-Chiu Chuang
002b5fbdc0
HDFS-16187. SnapshotDiff behaviour with Xattrs and Acls is not consistent across NN restarts with checkpointing ( #3340 ) ( #3640 )
...
(cherry picked from commit 356ebbbe80
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZones.java
Change-Id: If76fd0d77fafc90fe2f2c19ab1d0c43a58510f6b
Co-authored-by: bshashikant <shashikant@apache.org>
(cherry picked from commit 5333e872e2
)
2021-11-12 15:03:15 +08:00
litao
c95df2eb6f
HDFS-16311. Metric metadataOperationRate calculation error in DataNodeVolumeMetrics ( #3636 )
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 1c1cf64616
)
2021-11-12 10:26:19 +09:00
litao
ee871a6afd
HDFS-16312. Fix typo for DataNodeVolumeMetrics and ProfilingFileIoEvents ( #3637 )
...
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit 2a1a11c039
)
2021-11-10 19:24:32 +09:00
litao
ba61dd9b73
HDFS-16298. Improve error msg for BlockMissingException ( #3615 )
...
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit ea65fc26d8
)
2021-11-10 19:18:56 +09:00
jianghuazhu
9ddafb2eee
HDFS-16301. Improve BenchmarkThroughput#SIZE naming standardization. ( #3622 )
...
(cherry picked from commit b307f18a58
)
2021-11-10 11:40:28 +09:00
litao
b103be470c
HDFS-16299. Fix bug for TestDataNodeVolumeMetrics#verifyDataNodeVolumeMetrics ( #3616 )
...
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit cbc7fb6bca
)
2021-11-09 17:10:01 +09:00
jianghuazhu
06c4058a61
HDFS-16294.Remove invalid DataNode#CONFIG_PROPERTY_SIMULATED. ( #3605 )
...
(cherry picked from commit 72718a8dc1
)
2021-11-04 16:51:14 +09:00
daimin
29fd36e2f1
HDFS-16286. Add a debug tool to verify the correctness of erasure coding on file ( #3593 )
...
(cherry picked from commit a21895a5b3
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java
2021-11-03 21:30:48 +00:00
litao
b1801e99de
HDFS-16279. Print detail datanode info when process first storage report ( #3564 )
...
(cherry picked from commit 6aa664c624
)
2021-10-29 10:29:32 +09:00
Michael Kuchenbecker
7de539f3ca
HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker ( #3571 )
...
(cherry picked from commit a73ff6915a
)
2021-10-21 13:50:54 -07:00
daimin
9f2c89e690
HDFS-16272. Fix int overflow in computing safe length during EC block recovery ( #3548 )
...
(cherry picked from commit 5337bebcc5
)
2021-10-18 12:20:43 +01:00
langlaile1221
88744b8a04
HDFS-16241. Standby close reconstruction thread ( #3493 )
...
Co-authored-by: zhanghuazong <Zhz@20068867>
(cherry picked from commit 88d8c3d0c8
)
(cherry picked from commit a35a6ec06b
)
2021-10-11 16:22:59 +08:00
AngersZhuuuu
1df3b3de46
HDFS-16235. Fix Deadlock in LeaseRenewer for static remove method ( #3472 )
...
(cherry picked from commit 5f9321a5d4
)
2021-09-29 17:44:32 +08:00
He Xiaoqiao
cfd0265975
HDFS-14575. LeaseRenewer#daemon threads leak in DFSClient. Contributed by Renukaprasad C.
...
Co-authored-by: Tao Yang <taoyang1@apache.org>
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 10b79a26fe
)
2021-09-29 17:44:00 +08:00
Inigo Goiri
86028d975c
HDFS-15092. TestRedudantBlocks#testProcessOverReplicatedAndRedudantBlock sometimes fails. Contributed by Fei Hui.
...
(cherry picked from commit 8cfc3673dc
)
2021-09-27 14:52:27 +09:00
Wei-Chiu Chuang
978ec57445
HDFS-16233. Do not use exception handler to implement copy-on-write for EnumCounters. ( #3468 )
...
(cherry picked from commit 87632bbacf
)
(cherry picked from commit bb08de559a
)
2021-09-24 09:15:04 -07:00
He Xiaoqiao
4944dafa29
HDFS-15113. Addendum: Missing IBR when NameNode restart if open processCommand async feature. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit af64ce2f4a
)
2021-09-17 22:16:12 +08:00
He Xiaoqiao
50b0f0dc42
HDFS-15113. Missing IBR when NameNode restart if open processCommand async feature. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Brahma Reddy Battula <brahma@apache.org>
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
(cherry picked from commit e9955bb8ff
)
2021-09-17 22:16:12 +08:00
He Xiaoqiao
fc5fe67b3f
HDFS-15651. Client could not obtain block when DN CommandProcessingThread exit. Contributed by Aiphago.
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Yiqun Lin <yqlin@apache.org>
(cherry picked from commit 3067a25fa1
)
2021-09-17 22:16:11 +08:00
Inigo Goiri
5da46e197b
HDFS-15075. Remove process command timing from BPServiceActor. Contributed by Xiaoqiao He.
...
(cherry picked from commit cdcb77a2c5
)
2021-09-17 22:16:11 +08:00
Ayush Saxena
f77965b29e
HDFS-14997. Addendum: BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.
...
(cherry picked from commit 80f91d14ab
)
2021-09-17 22:16:11 +08:00
Inigo Goiri
d5501c125f
HDFS-14997. BPServiceActor processes commands from NameNode asynchronously. Contributed by Xiaoqiao He.
...
(cherry picked from commit b86895485d
)
2021-09-17 22:16:07 +08:00
wangzhaohui
928dbac0a6
HDFS-16181. [SBN Read] Fix display of JournalNode metric RpcRequestCacheMissAmount ( #3317 )
...
Co-authored-by: wangzhaohui8 <wangzhaohui8@jd.com>
(cherry picked from commit 232fd7cae170de8c6b52c14841a47dca8735c6d2)
(cherry picked from commit 2f73ac1c14
)
2021-09-15 10:06:27 -07:00
EungsopYoo
4eeb4d32e5
HDFS-16198. Short circuit read leaks Slot objects when InvalidToken exception is thrown ( #3359 )
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c4c5883d8b
)
(cherry picked from commit 51a4a23e37
)
2021-09-14 16:49:14 +08:00
Ahmed Hussein
a3920e89de
HDFS-15160. amend to fix javac error supressing unchecked warning
2021-09-14 12:31:49 +08:00
LeonGao
3c03ade285
HDFS-15818. Fix TestFsDatasetImpl.testReadLockCanBeDisabledByConfig. Contributed by Leon Gao ( #2679 )
...
(cherry picked from commit 9434c1eccc
)
2021-09-14 12:31:44 +08:00
Ahmed Hussein
33c60ba060
HDFS-15457. TestFsDatasetImpl fails intermittently ( #2407 )
...
(cherry picked from commit 98097b8f19
)
2021-09-14 12:31:34 +08:00
Stephen O'Donnell
ad55d5d1d2
HDFS-15160. ReplicaMap, Disk Balancer, Directory Scanner and various FsDatasetImpl methods should use datanode readlock. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 2a67e2b1a0
)
2021-09-14 12:31:20 +08:00
Stephen O'Donnell
7039433146
HDFS-15150. Introduce read write lock to Datanode. Contributed Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit d7c136b9ed
)
2021-09-14 12:31:00 +08:00
He Xiaoqiao
ca182b6e5f
Revert " HDFS-15160. ReplicaMap, Disk Balancer, Directory Scanner and various FsDatasetImpl methods should use datanode readlock. ( #3200 )"
...
This reverts commit 318bc5ff69
.
2021-09-14 12:27:42 +08:00
Ahmed Hussein
318bc5ff69
HDFS-15160. ReplicaMap, Disk Balancer, Directory Scanner and various FsDatasetImpl methods should use datanode readlock. ( #3200 )
...
* HDFS-15150. Introduce read write lock to Datanode. Contributed Stephen O'Donnell.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit d7c136b9ed
)
* HDFS-15160. ReplicaMap, Disk Balancer, Directory Scanner and various FsDatasetImpl methods should use datanode readlock. Contributed by Stephen O'Donnell.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 2a67e2b1a0
)
* HDFS-15457. TestFsDatasetImpl fails intermittently (#2407 )
(cherry picked from commit 98097b8f19
)
* HDFS-15818. Fix TestFsDatasetImpl.testReadLockCanBeDisabledByConfig. Contributed by Leon Gao (#2679 )
(cherry picked from commit 9434c1eccc
)
* HDFS-15160. amend to fix javac error supressing unchecked warning
Co-authored-by: Stephen O'Donnell <sodonnel@apache.org>
Co-authored-by: LeonGao <liangg@uber.com>
2021-09-11 19:52:16 +08:00
Ahmed Hussein
1944e0d714
HDFS-16207. Remove NN logs stack trace for non-existent xattr query ( #3375 )
...
Change-Id: Ibde523b20a6b8ac92991da52583e625a018d2ee6
2021-09-09 05:28:29 +00:00
litao
ce100b5807
HDFS-16177. Bug fix for Util#receiveFile ( #3310 )
...
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit 07627ef19e
)
(cherry picked from commit 0067c06606e8e3176148fa1856aeb3ae0930951c)
2021-08-19 12:31:44 +08:00
Brahma Reddy Battula
3cf2479c04
Preparing for 3.2.4 development.
2021-08-08 18:35:16 +05:30
Akira Ajisaka
78c5fdd90d
Fix potential heap buffer overflow in hdfs.c. Contributed by Igor Chervatyuk.
...
(cherry picked from commit 4972e7a246
)
2021-08-07 11:28:22 +09:00
wangzhaohui
b98a8d259b
HDFS-16154. TestMiniJournalCluster failing intermittently because of not reseting UserGroupInformation completely ( #3270 )
...
Co-authored-by: wangzhaohui8 <wangzhaohui8@jd.com>
Reviewed-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit e85c44657c
)
(cherry picked from commit 7068e18842
)
2021-08-06 18:25:28 +08:00
wangzhaohui
6b10154123
HDFS-16153. Avoid evaluation of LOG.debug statement in QuorumJournalManager ( #3269 ). Contributed by wangzhaohui.
...
(cherry picked from commit a73b64f86b
)
2021-08-06 09:52:51 +01:00
Giovanni Matteo Fumarola
2f3c0b8dd1
HDFS-14189. Fix intermittent failure of TestNameNodeMetrics. Contributed by Ayush Saxena.
...
(cherry picked from commit 1a08302897
)
2021-08-04 15:54:08 +09:00
Siyao Meng
fe59fe6744
HDFS-16055. Quota is not preserved in snapshot INode ( #3078 )
...
(cherry picked from commit ebee2aed00
)
(cherry picked from commit 72508e6430
)
2021-08-03 20:45:17 +01:00
He Xiaoqiao
f46a9e229e
HDFS-15175. Multiple CloseOp shared block instance causes the standby namenode to crash when rolling editlog. Contributed by Wan Chang.
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Stephen O'Donnell <sodonnel@apache.org>
(cherry picked from commit 683feaa1d4
)
2021-07-29 11:26:09 +08:00
Akira Ajisaka
7fe4f3cb89
HDFS-12920. HDFS default value change (with adding time unit) breaks old version MR tarball work with new version (3.0) of hadoop. ( #3227 )
...
Revert "HDFS-10845. Change defaults in hdfs-site.xml to match timeunit type. Contributed by Yiqun Lin"
This reverts commit b6d839a60c
.
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
(cherry picked from commit 2f2f822488
)
2021-07-26 01:54:57 +09:00
He Xiaoqiao
913dbf2537
HDFS-15942. Increase Quota initialization threads. Contributed by Stephen O'Donnell.
...
(cherry picked from commit 459df41997
)
2021-07-19 19:13:55 +08:00
Kihwal Lee
70c5e9e780
HDFS-16127. Improper pipeline close recovery causes a permanent write failure or data loss. Contributed by Kihwal Lee.
...
(cherry picked from commit 47002719f2
)
2021-07-16 14:24:52 -05:00
crossfire
88f3ce1127
HDFS-15650. Make the socket timeout for computing checksum of striped blocks configurable ( #2414 )
...
(cherry picked from commit 4bb25c810b
)
(cherry picked from commit bd0b8a0bcf96fe66a93f59b74822f419cac7eb09)
2021-07-16 11:01:03 +08:00
Jim Brennan
4fdeac1228
HDFS-16042. DatanodeAdminMonitor scan should be delay based. Contributed by Ahmed Hussein.
2021-07-15 20:59:09 +00:00
Abhishek Das
f9832031c2
HADOOP-17028. ViewFS should initialize mounted target filesystems lazily. Contributed by Abhishek Das ( #2260 )
...
(cherry picked from commit 1dd03cc4b5
)
2021-07-13 18:25:03 -07:00
Artem Smotrakov
6c7f192f0f
HADOOP-17793. Better token validation ( #3189 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ba325a8ada
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/security/token/block/BlockTokenSecretManager.java
2021-07-10 14:25:08 +09:00
S O'Donnell
e2eacbd089
HDFS-15796. ConcurrentModificationException error happens on NameNode occasionally. Contributed by Daniel Ma
...
(cherry picked from commit b6c06c4b76
)
2021-07-09 10:34:14 +01:00
bshashikant
844b8865c0
HDFS-16121. Iterative snapshot diff report can generate duplicate records for creates, deletes and Renames. ( #3188 )
...
(cherry picked from commit 6450c1ea9a
)
2021-07-09 09:35:36 +01:00
Viraj Jasani
4912e4c903
HDFS-16108. Fix incorrect log placeholders used in JournalNodeSyncer ( #3169 )
...
(cherry picked from commit da575a53cf
)
2021-07-05 13:43:10 +09:00
Viraj Jasani
707d003eb6
HDFS-16092. Avoid creating LayoutFlags redundant objects ( #3150 )
...
(cherry picked from commit 93a1685073
)
(cherry picked from commit 8538881710
)
2021-06-29 18:14:02 +08:00
Jim Brennan
9731dfbf0d
HDFS-15659. MiniDFSCluster dfs.namenode.redundancy.considerLoad default to false ( #2443 ). Contributed by Ahmed Hussein.
2021-06-25 17:57:15 +00:00
Ahmed Hussein
dc46cec277
HDFS-16061. DFTestUtil.waitReplication can produce false positives ( #3095 ). Contributed by Ahmed Hussein.
...
Reviewed-by: Jim Brennan <jbrennan@apache.org>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-06-20 10:37:27 +05:30
litao
00bd7b2aa4
HDFS-16078. Remove unused parameters for DatanodeManager.handleLifeline() ( #3119 ). Contributed by tomscut.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-06-20 10:37:27 +05:30
Hui Fei
c14f3e4ed1
HDFS-13671. Namenode deletes large dir slowly caused by FoldedTreeSet#removeAndGet ( #3114 )
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DirectoryScanner.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/ReplicaMap.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockInfo.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
2021-06-18 21:04:31 +08:00
Wei-Chiu Chuang
11034f2488
HDFS-16074. Remove an expensive debug string concatenation ( #3107 )
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Reviewed-by: Hui Fei <ferhui@apache.org>
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: litao <tomleescut@gmail.com>
(cherry picked from commit 1ad674e548
)
2021-06-17 11:38:58 +08:00
Ayush Saxena
77f61df352
HDFS-16073. Remove redundant RPC requests for getFileLinkInfo in ClientNamenodeProtocolTranslatorPB. Contributed by lei w.
2021-06-16 15:55:06 +05:30
Takanobu Asanuma
b8fc956a4d
HDFS-16068. WebHdfsFileSystem has a possible connection leak in connection with HttpFS ( #3104 )
...
(cherry picked from commit 839fcf7682
)
2021-06-15 17:23:34 +09:00
Konstantin V Shvachko
549987ed87
HDFS-16040. RpcQueueTime metric counts requeued calls as unique events. Contributed by Simbarashe Dzinamarira.
...
(cherry picked from commit 8ce30f51f9
)
2021-05-27 18:55:35 -07:00
Konstantin V Shvachko
14fd4776ae
HDFS-15915. Race condition with async edits logging due to updating txId outside of the namesystem log. Contributed by Konstantin V Shvachko.
...
(cherry picked from commit 1abd03d68f
)
2021-05-26 15:10:52 -07:00
litao
6df2dc8463
HDFS-15873. Add namenode address in logs for block report ( #2743 )
...
(cherry picked from commit 6a922f9896
)
(cherry picked from commit 2f56e2b54d
)
2021-05-17 12:29:38 +08:00
Hui Fei
ab4e90cc28
HDFS-15652. Make block size from NNThroughputBenchmark configurable ( #2416 )
...
(cherry picked from commit 8a6d5b9151
)
2021-04-29 12:48:06 -07:00
Ayush Saxena
5d1127c8f3
HDFS-15378. TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight is failing on trunk. Contributed by hemanthboyina.
...
(cherry picked from commit 8db38c98a6
)
2021-04-27 23:19:22 +09:00
Stephen O'Donnell
7a81e50bd2
HDFS-15621. Datanode DirectoryScanner uses excessive memory ( #2849 ). Contributed by Stephen O'Donnell
...
(cherry picked from commit 605ed85c29
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
(cherry picked from commit f6efb58b07
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/FsVolumeSpi.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java
2021-04-26 12:19:01 +01:00
Viraj Jasani
5c2b728516
HDFS-15989. Split TestBalancer and De-flake testMaxIterationTime() ( #2943 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2021-04-23 12:58:16 +09:00
Wei-Chiu Chuang
8ff61f9b07
HADOOP-17627. Backport to branch-3.2 HADOOP-17371, HADOOP-17621, HADOOP-17625 to update Jetty to 9.4.39. ( #2879 )
...
* HADOOP-17371. Bump Jetty to the latest version 9.4.34. Contributed by Wei-Chiu Chuang. (#2453 )
(cherry picked from commit 66ee0a6df0
)
(cherry picked from commit 6340ac857b
)
Conflicts:
hadoop-client-modules/hadoop-client-minicluster/pom.xml
Change-Id: I673ac136922740cb1d426cb9593aa1bd3e9acd32
* HADOOP-17621. hadoop-auth to remove jetty-server dependency. (#2865 )
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dac60b8282
)
(cherry picked from commit 1110b03752
)
* HADOOP-17625. Update to Jetty 9.4.39. (#2870 )
Reviewed-by: cxorm <lianp964@gmail.com>
(cherry picked from commit 6040e86e99
)
(cherry picked from commit 7f7535534d
)
2021-04-19 20:12:27 -07:00
Masatake Iwasaki
08cc11cd28
HADOOP-17569. Building native code fails on Fedora 33. ( #2886 )
...
(cherry picked from commit 2717203f85
)
2021-04-15 13:35:49 +00:00
Wei-Chiu Chuang
f0331827e5
HDFS-15940. Fixing and refactoring tests specific to Block recovery. ( #2902 )
...
* HDFS-15940. Fixing and refactoring tests specific to Block recovery.(#2844 ). Contributed by Viraj Jasani
(cherry picked from commit 2b5fd341b9
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBlockRecovery.java
* HDFS-15940. Fix TestBlockRecovery2#testRaceBetweenReplicaRecoveryAndFinalizeBlock (ADDENDUM) (#2874 )
(cherry picked from commit 56bd968fb4
)
(cherry picked from commit 4994b73eeb
)
Co-authored-by: Viraj Jasani <vjasani@apache.org>
2021-04-15 11:20:23 +08:00
Wei-Chiu Chuang
e6df0fb84c
HDFS-15815. if required storageType are unavailable, log the failed reason during choosing Datanode. Contributed by Yang Yun. ( #2882 )
...
(cherry picked from commit e391844e8e
)
Co-authored-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit bfba6f1f3c
)
2021-04-13 15:00:14 +08:00
Wei-Chiu Chuang
0faa626bd8
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>
2021-04-12 19:45:49 -07:00
Stephen O'Donnell
3422691fb2
HDFS-15937. Reduce memory used during datanode layout upgrade. Contributed by Stephen O'Donnell ( #2838 )
...
(cherry picked from commit 4c567fcff7
)
2021-04-08 12:31:36 +01:00
Gautham B A
48a228893a
HDFS-15949. Fix integer overflow ( #2857 )
...
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 36014b8282
)
2021-04-06 19:10:49 +09:00
Harunobu Daikoku
ee9ddc8184
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>
2021-04-06 13:22:11 +09:00
Gautham B A
52f4f9a063
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:47:40 +09:00
litao
d566e4e41d
HDFS-15892. Add metric for editPendingQ in FSEditLogAsync ( #2770 )
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 4bd04126d6
)
2021-04-02 11:00:33 +09:00
Viraj Jasani
5458ebf607
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 16:45:24 -07:00
Takanobu Asanuma
93517ba9bc
Revert "HDFS-15900. RBF: empty blockpool id on dfsrouter caused by UNAVAILABLE NameNode. ( #2787 )"
...
This reverts commit 510a43cbe4
.
2021-04-01 13:51:08 +09:00
Harunobu Daikoku
510a43cbe4
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:48:43 +09:00
He Xiaoqiao
d456106dce
HDFS-15919. BlockPoolManager should log stack trace if unable to get Namenode addresses. Contributed by Stephen O'Donnell.
2021-03-25 12:26:25 +08:00
Viraj Jasani
97b8992fd8
HDFS-15911 : Provide blocks moved count in Balancer iteration result ( #2797 )
2021-03-24 10:13:59 -07:00
Takanobu Asanuma
46b2e9634b
HDFS-15902. Improve the log for HTTPFS server operation. Contributed by Bhavik Patel.
...
(cherry picked from commit b4d97a8dc7
)
2021-03-24 17:54:07 +09:00
Takanobu Asanuma
9060972172
HADOOP-17138. Fix spotbugs warnings surfaced after upgrade to 4.0.6. ( #2155 ) ( #2806 )
...
(cherry picked from commit 1b29c9bfee
)
Co-authored-by: Masatake Iwasaki <iwasakims@apache.org>
2021-03-24 17:09:43 +09:00
litao
d05d15620e
HDFS-15906. Close FSImage and FSNamesystem after formatting is complete ( #2800 )
2021-03-23 18:45:24 +09:00
Ayush Saxena
3533889884
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 12:55:47 +00:00
Ayush Saxena
4f56caf61f
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:23:50 +00:00
Ayush Saxena
bc3c4a3268
HDFS-15633. Avoid redundant RPC calls for getDiskStatus. ( #2386 ). Contributed by Ayush Saxena.
2021-03-19 23:14:29 +05:30
Viraj Jasani
c86a2fd6d5
HDFS-15895 : Remove redundant String#format in DFSAdmin#printOpenFiles ( #2772 )
...
(cherry picked from commit 9c43b60348
)
2021-03-17 15:14:03 +09:00
Takanobu Asanuma
13c52a7adc
HDFS-15890. Improve the Logs for File Concat Operation. Contributed by Bhavik Patel.
...
(cherry picked from commit 9ba60c33d8
)
2021-03-17 14:18:02 +09:00
touchida
87015f073a
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 12:11:34 +09:00
Akira Ajisaka
0b278502e2
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
2021-03-11 15:37:56 +09:00
Hui Fei
01f9d73dad
HDFS-15875. Check whether file is being truncated before truncate ( #2746 )
...
(cherry picked from commit 6a55baeee4
)
2021-03-11 10:22:34 +08:00
tomscut
03ac2e41c0
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:17:10 -08:00
litao
92e29d57d9
HDFS-15870. Remove unused configuration dfs.namenode.stripe.min ( #2739 )
...
Co-authored-by: tomscut <litao@bigo.sg>
(cherry picked from commit cdba06e380
)
2021-03-03 22:37:23 +09:00