litao
9132eeb4dd
HDFS-16552. Fix NPE for TestBlockManager ( #4210 )
...
(cherry picked from commit 5ebbacc48023c0c71dd428df40a4352feede373b)
2022-04-23 12:15:52 +09:00
S O'Donnell
5e137ac33e
Revert "HDFS-16531. Avoid setReplication writing an edit record if old replication equals the new value ( #4148 ). Contributed by Stephen O'Donnell."
...
This reverts commit 8ae033d1a3d65281d3ad1f07f430e74d3a01b1b9.
2022-04-20 20:45:17 +01:00
qinyuren
2ff91232bc
HDFS-16544. EC decoding failed due to invalid buffer ( #4179 )
...
(cherry picked from commit 76bbd173749f2af4f17946fb37c4c72e2de26764)
2022-04-20 15:07:38 +09:00
Stephen O'Donnell
8ae033d1a3
HDFS-16531. Avoid setReplication writing an edit record if old replication equals the new value ( #4148 ). Contributed by Stephen O'Donnell.
...
(cherry picked from commit dbeeee03639f41a022dd07d5fc04e3aa65a94b5f)
2022-04-19 11:12:36 +01:00
qinyuren
c913dc3072
HDFS-16538. EC decoding failed due to not enough valid inputs ( #4167 )
...
Co-authored-by: liubingxing <liubingxing@bigo.sg>
(cherry picked from commit 52e152f8b0d5f522f3b799ea72c6c887d5d2c42d)
2022-04-19 13:38:58 +09:00
jianghuazhu
cfe2d8aa79
HDFS-16389.Improve NNThroughputBenchmark test mkdirs. ( #3819 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 900682e7120e7af250ebf0b4bafb40b412d3e11c)
2022-04-19 11:13:40 +08:00
Ashutosh Gupta
1eb4f9ef04
HDFS-16536. TestOfflineImageViewer fails on branch-3.3 ( #4182 )
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2022-04-18 16:05:42 +09:00
Quanlong Huang
9ae903dd1b
HDFS-16535. SlotReleaser should reuse the domain socket based on socket paths ( #4158 )
...
Reviewed-by: Lisheng Sun <sunlisheng@apache.org>
(cherry picked from commit 35d4c02bccd303b5a2608a952fa1f8487001087b)
2022-04-18 10:35:08 +08:00
daimin
0ef1a13f01
HDFS-16509. Fix decommission UnsupportedOperationException ( #4077 ). Contributed by daimin.
...
(cherry picked from commit c65c383b7ebef48c638607f15ba35d61554982cb)
2022-04-14 16:16:36 +08:00
Takanobu Asanuma
52abc9f132
HDFS-16479. EC: NameNode should not send a reconstruction work when the source datanodes are insufficient ( #4138 )
...
(cherry picked from commit 2efab92959ca0a68c52ed6a9c721704e57afbcc7)
2022-04-14 11:50:42 +09:00
qinyuren
07dface36a
HDFS-16484. [SPS]: Fix an infinite loop bug in SPSPathIdProcessor thread ( #4032 )
...
(cherry picked from commit 45394433a112334e48087bd60674538af739922a)
2022-04-13 11:48:19 +09:00
singer-bin
26705bbc60
HDFS-16457. Make fs.getspaceused.classname reconfigurable (apache#4069) ( #4156 )
2022-04-11 14:59:34 +09:00
Viraj Jasani
b2eee14f2e
HDFS-16522. Set Http and Ipc ports for Datanodes in MiniDFSCluster ( #4108 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 7c20602b17725cf266075477d70219a2a03721aa)
2022-04-06 18:55:09 +09:00
Viraj Jasani
a6fb77f7eb
HDFS-16481. Provide support to set Http and Rpc ports in MiniJournalCluster ( #4028 ). Contributed by Viraj Jasani.
...
(cherry picked from commit 278568203b9c2033743ecca60dbc62d397a85a8d)
2022-04-06 18:40:07 +09:00
wangzhaohui
0e621c890d
HDFS-16529. Remove unnecessary setObserverRead in TestConsistentReadsObserver ( #4131 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 61bbdfd3a73a18cf05aeb2c40429c34c4b9b0732)
2022-04-06 17:30:39 +09:00
Xing Lin
20483f6dc7
HADOOP-18169. getDelegationTokens in ViewFs should also fetch the token from fallback FS ( #4094 )
...
Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
2022-03-31 15:17:26 -07:00
Xing Lin
ecafd38c09
HADOOP-18144: getTrashRoot in ViewFileSystem should return a path in ViewFS. ( #4123 )
...
To get the new behavior, define fs.viewfs.trash.force-inside-mount-point to be true.
If the trash root for path p is in the same mount point as path p,
and one of:
* The mount point isn't at the top of the target fs.
* The resolved path of path is root (eg it is the fallback FS).
* The trash root isn't in user's target fs home directory.
get the corresponding viewFS path for the trash root and return it.
Otherwise, use <mnt>/.Trash/<user>.
Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
(cherry picked from commit 8b8158f02df18424b2406fd66b34c1bdf3d7ab55)
Co-authored-by: Xing Lin <xinglin@linkedin.com>
2022-03-31 20:26:09 +00:00
litao
0ecb34f8f6
HDFS-16413. Reconfig dfs usage parameters for datanode ( #3863 ) ( #4125 )
2022-03-31 19:24:05 +09:00
Lei Yang
4f85c9a73b
HDFS-16518: Add shutdownhook to invalidate the KeyProviders in the cache
...
Fixes #4100
Signed-off-by: Owen O'Malley <oomalley@linkedin.com>
2022-03-28 13:28:38 -07:00
GuoPhilipse
6300fc1fcd
HDFS-16355. Improve the description of dfs.block.scanner.volume.bytes.per.second ( #3724 )
...
Co-authored-by: gf13871 <gf13871@ly.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 046a6204b4a895b98ccd41dde1c9524a6bb0ea31)
2022-03-27 22:24:44 +09:00
Owen O'Malley
1175acbb75
HDFS-13248: Namenode needs to use the actual client IP when going through the
...
RBF proxy. There is a new configuration knob dfs.namenode.ip-proxy-users that configures
the list of users than can set their client ip address using the client context.
Fixes #4081
2022-03-21 10:24:54 -07:00
Viraj Jasani
712d9bece8
HDFS-16502. Reconfigure Block Invalidate limit ( #4064 )
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 1c0bc35305aea6ab8037241fab10862615f3e296)
2022-03-16 09:40:59 +08:00
Takanobu Asanuma
52fb9d7ce2
HADOOP-18014. CallerContext should not include some characters. ( #3698 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Mingliang Liu <liuml07@apache.org>
Reviewed-by: Hui Fei <ferhui@apache.org>
Cherry-picked from 9c887e5b by Owen O'Malley
2022-03-14 10:29:37 -07:00
litao
f9d40ed7b7
HDFS-16266. Add remote port information to HDFS audit log ( #3538 )
...
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
Cherry-picked from 359b03c8 by Owen O'Malley
2022-03-14 10:29:11 -07:00
Thinker313
0801fe450e
HDFS-16428. Source path with storagePolicy cause wrong typeConsumed while rename ( #3898 ). Contributed by lei w.
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2022-03-12 19:45:13 +08:00
litao
74f5f90615
HDFS-16397. Reconfig slow disk parameters for datanode ( #3828 )
...
(cherry picked from commit 6b07c851f3f33688f0998bcee3de615901a3df2d)
2022-02-26 02:22:28 +09:00
litao
9c0bdc5aea
HDFS-16371. Exclude slow disks when choosing volume ( #3753 ) ( #4031 )
2022-02-26 02:21:07 +09:00
Ayush Saxena
fa30224e95
HDFS-11041. Unable to unregister FsDatasetState MBean if DataNode is shutdown twice. Contributed by Wei-Chiu Chuang.
...
(cherry picked from commit e8cb2ae409bc1d62f23efef485d1c6f1ff21e86c)
2022-02-23 11:41:19 +08:00
Chentao Yu
d14a7c6ee5
HADOOP-18109. Ensure that default permissions of directories under internal ViewFS directories are the same as directories on target filesystems. Contributed by Chentao Yu. (3953)
...
(cherry picked from commit 19d90e62fb28539f8c79bbb24f703301489825a6)
2022-02-15 16:48:13 -08:00
litao
db67952f9f
HDFS-16396. Reconfig slow peer parameters for datanode ( #3827 )
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 0c194f2157ff4473ea95dff1d7d40c386398f4a4)
2022-02-16 09:45:07 +09:00
singer-bin
ce7cabb771
HDFS-16437 ReverseXML processor doesn't accept XML files without the … ( #3926 )
...
(cherry picked from commit 125e3b616040b4f98956aa946cc51e99f7d596c2)
2022-02-06 13:36:57 +08:00
KevinWikant
5e2eac6c41
HDFS-16303. Improve handling of datanode lost while decommissioning ( #3921 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2022-01-31 13:18:36 +09:00
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 39cad5f28fec1d0de7e5a80dc3399f0ad1fd3fce)
2022-01-28 17:05:32 +09:00
litao
ef1a2b478b
HDFS-16398. Reconfig block report parameters for datanode ( #3831 )
...
(cherry picked from commit c2ff39006f5deca60a2a2524707350e06bba2779)
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 db2c3200e63a4377331643eddedcab79d4a51468)
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 94b884ae553e9d67f57e3ae7d2b22468c6f342fa)
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 5ef335da1ed49e06cc8973412952e09ed08bb9c0)
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
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 d8dea6f52ada03e099fa7dbb3efe62345ca27588)
2022-01-20 18:47:00 +08:00
litao
f9c0bc094a
HDFS-16399. Reconfig cache report parameters for datanode ( #3841 )
...
(cherry picked from commit e3556463301f103ccf26a17e116c507c143e7121)
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 f02374df9236d6498a549cc6bfa07bffff5ef7d8)
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 52ec65fd1022a72dfdfefaf50489dc61bb3fc8f7)
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 b038042ece550c34170d4958f84e91a1708761a5)
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 fcb1076699bd1360c109c18df0261897afea05ba)
2022-01-19 13:44:02 +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 d8862822d22dbba8facb94e80333cea5ffeed5ba)
2022-01-14 22:40:58 +09: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 9eea0e28f2d79c3691bee29cb3fc4123062e5f7a)
2022-01-04 13:25:56 +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 a5659fe0f784f113489aee375ee1c2da8332d629)
2021-12-24 17:25:00 +09:00
Ayush Saxena
37ced452d9
HDFS-16373. Fix MiniDFSCluster restart in case of multiple namenodes. ( #3756 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: litao <tomleescut@gmail.com>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2021-12-14 17:23:24 +09:00
litao
8559ba46c2
HDFS-16327. Make DFS_NAMENODE_MAX_SLOWPEER_COLLECT_NODES_KEY reconfigurable ( #3716 )
...
(cherry picked from commit c56a07f36b561c9aacb5e74bd20195a817d5fd8d)
2021-12-14 11:53:46 +09:00
GuoPhilipse
2720479988
HDFS-16345. Fix test case fail in TestBlockStoragePolicy ( #3696 ). Contributed by guophilipse.
...
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 25849ff7b7430692d1f40f59e9cb24690cbda216)
2021-12-10 16:33:33 +09:00