lzx404243
47436346b4
HDFS-15862. Make TestViewfsWithNfs3.testNfsRenameSingleNN() idempotent ( #2724 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 7ba91c123544e1c1cbee759a11879af3b19260b3)
2022-01-04 14:36:50 -08:00
LeonGao
d02bf2dcce
HDFS-16268. Balancer stuck when moving striped blocks due to NPE ( #3546 )
...
(cherry picked from commit 7279fe8661d694fb0775f4f84333c1317f4e6899)
2022-01-04 14:36:42 -08:00
Takanobu Asanuma
906eb831c6
HDFS-16293. Client sleeps and holds 'dataQueue' when DataNodes are congested. Contributed by Yuanxin Zhu.
...
(cherry picked from commit e8e69de106c03d041a0d280ea727e3f252460163)
2022-01-04 14:36:36 -08:00
huhaiyang
e50c9224fe
HDFS-16314. Support to make dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled reconfigurable ( #3664 )
...
Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit c0f405a46b402b4bdf5b7771f5124790fc866965)
2022-01-04 14:36:32 -08:00
huhaiyang
069426f5eb
HDFS-16287. Support to make dfs.namenode.avoid.read.slow.datanode reconfigurable ( #3596 )
...
(cherry picked from commit db89a9411ebee11372314e82d7ea0606c348d014)
2022-01-04 14:36:28 -08:00
litao
ce0bc7b473
HDFS-16344. Improve DirectoryScanner.Stats#toString ( #3695 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit 829af89dc4240347675e20df0ce047245f465c7b)
2022-01-04 14:35:59 -08:00
litao
30f0629d6e
HDFS-16339. Show the threshold when mover threads quota is exceeded ( #3689 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit 86705eda82208b6b04551e637414d0d9d64a4173)
2022-01-04 14:35:56 -08:00
Akira Ajisaka
5c18979782
Revert "HDFS-16336. Addendum: De-flake TestRollingUpgrade#testRollback ( #3686 )"
...
This reverts commit 3b79e0f794657a77550318c83d3d7303d745740b.
2022-01-04 14:35:49 -08:00
Viraj Jasani
544dffd179
HDFS-16171. De-flake testDecommissionStatus ( #3280 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 6342d5e523941622a140fd877f06e9b59f48c48b)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDecommissioningStatus.java
2022-01-04 14:35:43 -08:00
Viraj Jasani
c6914b1cb6
HDFS-16350. Datanode start time should be set after RPC server starts successfully ( #3711 )
...
(cherry picked from commit cdc13e91b619159dc4bf185ad53b950bdf5de52a)
2022-01-04 14:35:40 -08:00
Ayush Saxena
328d3b84df
HDFS-16336. Addendum: De-flake TestRollingUpgrade#testRollback ( #3686 )
2022-01-04 14:35:36 -08:00
Viraj Jasani
3ae8d4ccb9
HDFS-16336. De-flake TestRollingUpgrade#testRollback ( #3686 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit e8566b38129bcef687506742b3d7d35e8e4947a9)
2022-01-04 14:35:33 -08:00
Mukul Kumar Singh
7729505f8a
HDFS-16343. Add some debug logs when the dfsUsed are not used during Datanode startup. ( #3694 )
...
(cherry picked from commit faa4eeacb1f708b7c3a0701886fa63068327e9b3)
2022-01-04 14:34:39 -08:00
litao
8ae7691216
HDFS-16337. Show start time of Datanode on Web ( #3682 )
...
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
(cherry picked from commit 0ed817babbcaa0560c11e2065cff3fff0bf328c5)
2022-01-04 14:34:15 -08:00
litao
486a57fb77
HDFS-16335. Fix HDFSCommands.md ( #3681 )
...
(cherry picked from commit 20b78c8f978dc74f03a0dd5551904f8ec40ccf82)
2022-01-04 14:30:52 -08:00
GuoPhilipse
abc48be5b4
HDFS-16334. Correct NameNode ACL description ( #3678 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 3d1ca6f6dc1799e95feced466411743e9f9fddd4)
2022-01-04 14:30:18 -08:00
litao
c236d34b3b
HDFS-16326. Simplify the code for DiskBalancer ( #3663 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 965e3874e90f7ca7cf6d1418893340338eb8760f)
2022-01-04 14:29:56 -08:00
GuoPhilipse
1e7a46b14d
HDFS-16328. Correct disk balancer desc ( #3669 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 0c1eb0125b1e0c8bdc3f4170295771d75c5ed776)
2022-01-04 14:29:19 -08:00
Viraj Jasani
bf37c64d6f
HDFS-16330. Fix incorrect placeholder for Exception logs in DiskBalancer ( #3672 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 38614d05e118711852c58e9f0ebc3493fcb5ebeb)
2022-01-04 14:28:54 -08:00
litao
e11dd859ff
HDFS-16329. Fix log format for BlockManager ( #3670 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dc751df63b4ab2c9c26a1efe7479c31fd1de80d5)
2022-01-04 14:28:28 -08:00
Viraj Jasani
1e6e8a19ab
HDFS-16323. DatanodeHttpServer doesn't require handler state map while retrieving filter handlers ( #3659 )
...
(cherry picked from commit 646c470e5de956e570a81dcd4890f028965be33a)
2022-01-04 14:27:52 -08:00
litao
3cbfef9130
HDFS-16315. Add metrics related to Transfer and NativeCopy for DataNode ( #3666 )
2022-01-04 14:26:17 -08:00
bitterfox
ef462b21bf
HDFS-16332. Handle invalid token exception in sasl handshake ( #3677 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dd6b987c93e8319560b633360f30ac84fc48e403)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/sasl/SaslDataTransferServer.java
2022-01-04 14:20:25 -08:00
Chao Sun
ce74635dd4
Preparing for 3.3.1 release
2021-11-16 16:07:17 -08:00
Neil
c182bf65e0
HDFS-16182.numOfReplicas is given the wrong value in BlockPlacementPolicyDefault$chooseTarget can cause DataStreamer to fail with Heterogeneous Storage. ( #3320 )
...
(cherry picked from commit 5626734a36b9794f4b1af8b9a7d8d0055914a094)
2021-11-16 22:59:25 +08:00
Ahmed Hussein
25bcc7e3ee
HDFS-15457. TestFsDatasetImpl fails intermittently ( #2407 )
2021-11-16 11:51:35 +09:00
GuoPhilipse
b11e017777
HDFS-16321. Fix invalid config in TestAvailableSpaceRackFaultTolerantBPP ( #3655 ). Contributed by guo.
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-11-14 20:00:28 +05:30
Wei-Chiu Chuang
5333e872e2
HDFS-16187. SnapshotDiff behaviour with Xattrs and Acls is not consistent across NN restarts with checkpointing ( #3340 ) ( #3640 )
...
(cherry picked from commit 356ebbbe80aef991d564a6140e341ddd76176416)
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>
2021-11-12 14:32:02 +08:00
litao
c4e8826194
HDFS-16311. Metric metadataOperationRate calculation error in DataNodeVolumeMetrics ( #3636 )
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 1c1cf64616f34d039cf9246da9613914aa870515)
2021-11-12 10:25:40 +09:00
litao
808da62cfa
HDFS-16312. Fix typo for DataNodeVolumeMetrics and ProfilingFileIoEvents ( #3637 )
...
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit 2a1a11c039518bab7e5b581ef23bc5a2e8c81544)
2021-11-10 19:23:58 +09:00
litao
0db04fab20
HDFS-16298. Improve error msg for BlockMissingException ( #3615 )
...
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit ea65fc26d80db478f7e49749065c69da7e241bf0)
2021-11-10 19:18:18 +09:00
jianghuazhu
46e69715b5
HDFS-16301. Improve BenchmarkThroughput#SIZE naming standardization. ( #3622 )
...
(cherry picked from commit b307f18a584b207782124bee0a377b2dbfc13df0)
2021-11-10 11:40:08 +09:00
litao
26b7bc75ed
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 cbc7fb6bcad8c959830a84521ea642cbf973ea83)
2021-11-09 17:09:05 +09:00
jianghuazhu
4d04efb900
HDFS-16294.Remove invalid DataNode#CONFIG_PROPERTY_SIMULATED. ( #3605 )
...
(cherry picked from commit 72718a8dc1d6d16249c1073c31f1a078d4e118f6)
2021-11-04 16:50:31 +09:00
daimin
2844b98558
HDFS-16286. Add a debug tool to verify the correctness of erasure coding on file ( #3593 )
...
(cherry picked from commit a21895a5b3644944fe04cf558d593b96da0263fd)
2021-11-03 20:41:55 +00:00
Stephen O'Donnell
9cf841b1a6
HDFS-16259. Catch and re-throw sub-classes of AccessControlException thrown by any permission provider plugins (eg Ranger) ( #3598 )
...
(cherry picked from commit 2f35cc36cdbb5a54afa1545388790496c936b954)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeAttributeProvider.java
2021-11-02 11:17:59 +00:00
jianghuazhu
5fbd9d333e
HDFS-16269. [Fix] Improve NNThroughputBenchmark#blockReport operation. ( #3544 )
...
Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 618fea27d25c630dbb4abddc1c9da31a6cde43f2)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNNThroughputBenchmark.java
2021-11-02 01:04:33 +09:00
litao
7e57fc053a
HDFS-16279. Print detail datanode info when process first storage report ( #3564 )
...
(cherry picked from commit 6aa664c62443b4061c26c27376e5d1e0e591a323)
2021-10-29 10:28:40 +09:00
daimin
847cff7d91
HDFS-16282. Remove duplicate generic usage information to hdfs debug command ( #3576 ). Contributed by daimin.
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-10-22 21:16:06 +05:30
GuoPhilipse
c4f1db1966
HDFS-16277. improve decision in AvailableSpaceBlockPlacementPolicy ( #3559 ). Contributed by guo.
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-10-22 08:02:21 +05:30
Michael Kuchenbecker
78723e045a
HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker ( #3571 )
...
(cherry picked from commit a73ff6915ae3e0ced1b4c814a94845f51e655a0c)
2021-10-21 13:48:38 -07:00
daimin
6019239825
HDFS-16272. Fix int overflow in computing safe length during EC block recovery ( #3548 )
...
(cherry picked from commit 5337bebcc53a0144311877362787ed9ece0cb118)
2021-10-18 12:02:26 +01:00
Ayush Saxena
5b1cf17f88
HDFS-16271. RBF: NullPointerException when setQuota through routers with quota disabled. Contributed by Chengwei Wang.
2021-10-16 14:35:53 +05:30
Masatake Iwasaki
9e2936f8d1
HADOOP-17424. Replace HTrace with No-Op tracer ( #3520 )
...
(cherry picked from commit 1a205cc3adffa568c814a5241e041b08e2fcd3eb)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tracing/TestTracing.java
Co-authored-by: Siyao Meng <50227127+smengcl@users.noreply.github.com>
2021-10-12 00:07:09 +09:00
langlaile1221
a35a6ec06b
HDFS-16241. Standby close reconstruction thread ( #3493 )
...
Co-authored-by: zhanghuazong <Zhz@20068867>
(cherry picked from commit 88d8c3d0c88bcec5acca30aadca36b7d65c4237c)
2021-10-11 16:22:46 +08:00
Viraj Jasani
77ee5a4266
HADOOP-17950. Provide replacement for deprecated APIs of commons-io IOUtils ( #3515 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 8071dbb9c6b4a654d5e1e7c8e3b4d2ca1a736d53)
2021-10-07 11:00:19 +09:00
S O'Donnell
f437b3bdaf
HDFS-16252. Correct docs for dfs.http.client.retry.policy.spec. Contributed by Stephen O'Donnell
...
(cherry picked from commit a30231ff8e3f1e76009e28d8f8322ffbdeecd061)
2021-10-06 15:39:34 +01:00
AngersZhuuuu
4475d8bfe7
HDFS-16235. Fix Deadlock in LeaseRenewer for static remove method ( #3472 )
...
(cherry picked from commit 5f9321a5d4112e7b4ee9e6b948ce46a2b152a2db)
2021-09-29 18:36:36 +08:00
He Xiaoqiao
06954af6f0
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 10b79a26fe0677b266acf237e8458e93743424a6)
2021-09-29 18:36:36 +08:00
Wei-Chiu Chuang
bb08de559a
HDFS-16233. Do not use exception handler to implement copy-on-write for EnumCounters. ( #3468 )
...
(cherry picked from commit 87632bbacf064e9b07564ba66ed1fbb1d42290d1)
2021-09-24 09:13:15 -07:00