Commit Graph

21848 Commits

Author SHA1 Message Date
daimin 0f0ebf9439
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

(cherry picked from commit 728ed10a7c)
2022-01-25 10:01:09 +08:00
liubingxing 0aff87466d
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)
(cherry picked from commit 2d7cbfd04b8fb918e1889a5f6e891890b942a2b4)
2022-01-24 15:51:28 +08:00
Takanobu Asanuma 53c4d89250 Revert "HDFS-16426. Fix nextBlockReportTime when trigger full block report force (#3887)"
This reverts commit 96dd426229.
2022-01-20 22:07:41 +09:00
qinyuren 96dd426229 HDFS-16426. Fix nextBlockReportTime when trigger full block report force (#3887)
(cherry picked from commit fcb1076699)
2022-01-19 13:44:27 +09:00
Gera Shegalov 76212079c9 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:35 +09:00
Jackson Wang 74d3e83be0 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:45:30 +09:00
Ashutosh Gupta 3992ba5d8c
HDFS-16410. Insecure Xml parsing in OfflineEditsXmlLoader (#3854)
Contributed by Ashutosh Gupta

(cherry picked from commit 43e5218a86)
2022-01-11 02:14:52 +09:00
liever18 1e1e4a2f51 HDFS-16408. Ensure LeaseRecheckIntervalMs is greater than zero (#3856)
(cherry picked from commit e1d0aa9ee5)
2022-01-05 16:02:49 +00:00
Ashutosh Gupta 278fc00871 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:26:09 +09:00
Ayush Saxena 6eb60353db
HADOOP-18061. Update the year to 2022. (#3845). Contributed by Ayush Saxena.
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
2022-01-04 08:01:00 +05:30
jianghuazhu 6854f7502f 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:27:35 +09:00
Igor Dvorzhak e88fe6a2ad 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)
(cherry picked from commit 5d72fdfcb2)
Change-Id: I7bcea58613340bf97a5038da40a3643971f99364
2021-12-30 22:06:01 +00:00
Ashutosh Gupta 5aeaa368ef 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)
(cherry picked from commit 6535a183b2)
2021-12-28 22:03:10 +09:00
jianghuazhu 20f602481a 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:28:00 +09:00
Ashutosh Gupta e0e84431f0 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)

 Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/metrics/TestSystemMetricsPublisher.java
2021-12-23 17:40:59 +09:00
Eric Payne 3924efb595 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:34:29 +00:00
wangzhaohui c66bae3fc3 HDFS-16391. Avoid evaluation of LOG.debug statement in NameNodeHeartbeatService (#3820)
(cherry picked from commit 8d251bd629)
2021-12-21 12:02:25 +00:00
Szilard Nemeth 020acb8d39 YARN-10503. Support queue capacity in terms of absolute resources with custom resourceType. Contributed by Qi Zhu. 2021-12-20 17:59:06 +01:00
jianghuazhu b68084ab43 HDFS-16386. Reduce DataNode load when FsDatasetAsyncDiskService is working. (#3806)
(cherry picked from commit 746b328554)
2021-12-20 12:08:30 +00:00
Szilard Nemeth 01de8fd9d6 YARN-6862. Nodemanager resource usage metrics sometimes are negative. Contributed by Benjamin Teke 2021-12-17 14:53:06 +01:00
Dhananjay Badaya 253b217efa 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:13:25 +09:00
litao 3257646975 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:52:01 +09:00
Akira Ajisaka 07d3d5ea0b HADOOP-17534. Update Jackson to 2.10.5 and Jackson databind to 2.10.5.1 (#2708)
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit e119063a07)
2021-12-14 23:53:33 +09:00
Ayush Saxena a57e83a47b 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:24:05 +09:00
GuoPhilipse 038759e444 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 25849ff7b7)
2021-12-10 16:36:40 +09:00
Akira Ajisaka bc6874139f
HADOOP-16905. Update jackson-databind to 2.10.3 to relieve us from the endless CVE patches (#3748)
(cherry picked from commit 69faaa1d58)

 Conflicts:
	hadoop-project/pom.xml
2021-12-10 16:24:06 +09:00
Akira Ajisaka 94ca965e21 HADOOP-18040. Use maven.test.failure.ignore instead of ignoreTestFailure (#3774)
Reviewed-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 9b9e2ef87f)

 Conflicts:
	hadoop-tools/hadoop-federation-balance/pom.xml

(cherry picked from commit 35c5c6bb83)

 Conflicts:
	hadoop-common-project/hadoop-registry/pom.xml
2021-12-10 01:41:44 +09:00
Akira Ajisaka 3854b59bd1
HADOOP-18035. Ignore unit test failures to run all the unit tests from root (#3765)
Reviewed-by: Masatake Iwasaki <iwasakims@apache.org>
2021-12-10 01:27:27 +09:00
qinyuren 72ffbd956a HDFS-16333. fix balancer bug when transfer an EC block (#3777) 2021-12-10 00:42:07 +09:00
Anoop Sam John 84cab2ee29
HADOOP-17643 WASB : Make metadata checks case insensitive (#3102) 2021-12-09 14:45:48 +05:30
Takanobu Asanuma 2315849b8f Revert "HDFS-16333. fix balancer bug when transfer an EC block (#3679)"
This reverts commit 2072a6a476.
2021-12-09 16:37:43 +09:00
qinyuren 2072a6a476 HDFS-16333. fix balancer bug when transfer an EC block (#3679)
(cherry picked from commit 35556ea043)
2021-12-09 13:27:33 +09:00
lzx404243 6114816b03 HDFS-15862. Make TestViewfsWithNfs3.testNfsRenameSingleNN() idempotent (#2724)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 7ba91c1235)
2021-12-08 20:49:27 +09:00
Ashutosh Gupta c8cf7a9bdb YARN-9063. ATS 1.5 fails to start if RollingLevelDb files are corrupt or missing (#3728)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 5a950b8900)
2021-12-06 20:15:11 +09:00
LeonGao b4fc326acf HDFS-16268. Balancer stuck when moving striped blocks due to NPE (#3546)
(cherry picked from commit 7279fe8661)
2021-12-06 16:19:05 +09:00
Prabhu Joseph 292527b325 YARN-10820. Make GetClusterNodesRequestPBImpl thread safe. Contributed by Swathi Chandrashekar.
(cherry picked from commit 6b4987f09c)
2021-12-06 14:46:34 +09:00
bitterfox 7bdb50c793 HDFS-16332. Handle invalid token exception in sasl handshake (#3677)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dd6b987c93)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/sasl/SaslDataTransferServer.java
2021-12-03 23:43:37 +09:00
Ananya Singh b8dbc24727
HDFS-16317 : Backport HDFS-14729 for branch-3.2 (#3692)
Co-authored-by: Sunil G <sunilg@apache.org>,Ananya Singh <purpul90@gmail.com>
2021-11-30 18:01:53 +05:30
smarthan 2f3e186978 HADOOP-18023. Allow cp command to run with multi threads. (#3721)
(cherry picked from commit 932a78fe38)
2021-11-29 15:06:29 +00:00
Eric Yang c35b3be700 YARN-7266. Fixed deadlock in Timeline Server thread initialization.
Contributed by Prabhu Joseph

(cherry picked from commit 7b42e0e32a)
2021-11-29 11:53:34 +09:00
litao 86084637db 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 86705eda82)
2021-11-26 19:54:25 +09:00
Akira Ajisaka 6a28496fb0 Revert "HDFS-16336. Addendum: De-flake TestRollingUpgrade#testRollback (#3686). Contributed by Viraj Jasani.."
This reverts commit 4231067d0b.
2021-11-25 22:18:32 +09:00
Viraj Jasani 03c908fb04
HDFS-16171. De-flake testDecommissionStatus (#3280) (#3720)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-11-25 22:18:01 +09:00
GuoPhilipse 253883fd8d
YARN-11007. Correct words in YARN documents (#3680)
Reviewed-by: cxorm <lianp964@gmail.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit c9d64bad37)
2021-11-25 17:51:58 +09:00
Viraj Jasani 2ff303ea00 HDFS-16350. Datanode start time should be set after RPC server starts successfully (#3711)
(cherry picked from commit cdc13e91b6)
2021-11-25 10:26:57 +08:00
Ayush Saxena 4231067d0b
HDFS-16336. Addendum: De-flake TestRollingUpgrade#testRollback (#3686). Contributed by Viraj Jasani.. 2021-11-25 02:01:36 +05:30
Viraj Jasani af452d2fc5
HDFS-16336. De-flake TestRollingUpgrade#testRollback (#3686)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit e8566b3812)
2021-11-24 22:56:44 +09:00
Istvan Fajth dbcadcc21e HADOOP-17975. Fallback to simple auth does not work for a secondary DistributedFileSystem instance. (#3579)
(cherry picked from commit ae3ba45db5)
2021-11-24 11:20:27 +00:00
Ashutosh Gupta 850224255c
YARN-10991. Fix to ignore the grouping "[]" for resourcesStr in parseResourcesString method (#3592)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 08f3df3ea2)
2021-11-24 18:50:31 +09:00
Mukul Kumar Singh f5ff4e1ca8 HDFS-16343. Add some debug logs when the dfsUsed are not used during Datanode startup. (#3694)
(cherry picked from commit faa4eeacb1)
2021-11-23 13:53:22 +00:00