Commit Graph

9335 Commits

Author SHA1 Message Date
Siyao Meng cd0cf9262d Fix TestKeyManager.
Change-Id: I985689f78229d7c54f74cc58284b2688f5d0b97a
2021-08-19 22:32:49 -07:00
Siyao Meng d90c32005c Fix TestSaslDataTransfer.
Change-Id: Ia54a79c4a0058c2fa280f55b3080a9fa7a3046a0
2021-08-19 22:31:32 -07:00
Siyao Meng 9ad0317212 Fix TestGlobPaths.
Change-Id: I455c7fb933eb882d16e007db9645fc957d690013
2021-08-19 22:30:40 -07:00
Siyao Meng b483a3f6f6 Fix TestStartSecureDataNode.
Change-Id: I14028f6acc5cd95257bbdfab44357ec35f763819
2021-08-19 22:29:15 -07:00
Siyao Meng 6a05d93de5 Fix TestFileStatusWithDefaultECPolicy.
Change-Id: I5980792c534bdbdafab787552c467cf45e9336fe
2021-08-19 22:28:19 -07:00
Siyao Meng 991fd8d746 Fix TestViewFileSystemHdfs.
Change-Id: I026e35eecf45a5f2a0c0ba3c59cfea67a57d1125
2021-08-19 22:26:15 -07:00
Siyao Meng 28dbf672c5 [Check static addition] Fix TestFSMainOperationsWebHdfs.
Change-Id: Id3cd5178cd4b6a212a585f358a489cc50904b548
2021-08-19 22:20:40 -07:00
Siyao Meng 52a0ca301b Fix TestErasureCodingPolicyWithSnapshot.
Change-Id: I8169990a55f8aaa4429cede4d571ad0e3f489a0d
2021-08-19 22:20:26 -07:00
Siyao Meng d5adaac439 Fix TestShortCircuitCache.
Change-Id: Ie6fcec5dde5e19406e243df3bd88b232a5e49d06
2021-08-19 22:20:26 -07:00
Siyao Meng 93e3046bf0 Fix TestScrLazyPersistFiles.
Change-Id: I670fcb9a6429b6011f6ba13b8f716696d064655a
2021-08-19 22:20:26 -07:00
Siyao Meng d11470c05e [Check line removal] Fix TestDFSClientFailover.
Change-Id: Idb57ccbee96be77d6bb2df5ec5e3f2d25e846894
2021-08-19 22:20:26 -07:00
Siyao Meng 800010489a Fix TestBlockReaderLocal.
Change-Id: I3edfec1a5ed087a754ab36e58e4fe901ec6d2345
2021-08-19 17:32:27 -07:00
Siyao Meng fa4dcdcf84 Fix TestDistributedFileSystem.
Change-Id: I96b1cc10371a6a04d026c4bdd2d1f0ff1971714a
2021-08-19 17:31:37 -07:00
Siyao Meng 8ba43d9210 Fix TestDiskBalancerRPC.
Change-Id: Ib55211d6dd15615ff072ec8ba395b7449f0727a2
2021-08-19 17:31:01 -07:00
Siyao Meng 8eeb645af4 Fix TestHDFSContractPathHandle.
Change-Id: I23bf20e1a6ec8f864d5f250335d6b70debc71a44
2021-08-19 17:31:01 -07:00
Akira Ajisaka a8b5d1d648 Test PR: Ran rewrite plugin 2021-08-14 23:00:44 +09:00
Gautham B A 77383a4d55
HDFS-15976. Make mkdtemp cross platform (#2908) 2021-08-10 09:23:28 -07:00
Akira Ajisaka 4972e7a246
Fix potential heap buffer overflow in hdfs.c. Contributed by Igor Chervatyuk. 2021-08-07 11:27:25 +09:00
wangzhaohui e85c44657c
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>
2021-08-06 18:23:00 +08:00
wangzhaohui a73b64f86b
HDFS-16153. Avoid evaluation of LOG.debug statement in QuorumJournalManager (#3269). Contributed by wangzhaohui. 2021-08-06 09:27:05 +01:00
zhangshuyan0 10a2526b0b
HDFS-16146. All three replicas are lost due to not adding a new DataN… (#3247) Contributed by Shuyan Zhang.
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
2021-08-04 00:22:21 +08:00
Viraj Jasani ccfa072dc7
HADOOP-17612. Upgrade Zookeeper to 3.6.3 and Curator to 5.2.0 (#3241)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-08-03 14:44:00 +09:00
Wei-Chiu Chuang 6d77f3b6cd
HDFS-14529. SetTimes to throw FileNotFoundException if inode is not found (#3243)
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
2021-07-30 08:29:56 -07:00
jianghuazhu 6f730fd25c
HDFS-15936.Solve SocketTimeoutException#sendPacket() does not record SocketTimeout exception. (#2836)
Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local>
Reviewed-by: cxorm <lianp964@gmail.com>
Reviewed-by: Viraj Jasani <vjasani@apache.org>
2021-07-28 21:57:28 -07:00
He Xiaoqiao 683feaa1d4
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>
2021-07-29 11:19:17 +08:00
S O'Donnell 4eae284827 HDFS-16144. Revert HDFS-15372 (Files in snapshots no longer see attribute provider permissions). Contributed by Stephen O'Donnell 2021-07-28 14:49:23 +01:00
zhihaixu2012 ae20516ebc
HDFS-16111. Add a configuration to RoundRobinVolumeChoosingPolicy to avoid failed volumes at datanodes. (#3175)
Change-Id: Iead25812d4073e3980893e3e76f7d2b03b57442a

Co-authored-by: Zhihai Xu <zxu@apache.org>
2021-07-27 19:18:44 -07:00
JiaguodongF aecfcf165f
HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx is invalid. (#3185)
* HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx is invalid

* HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx is invalid

* HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx is invalid

* HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx is invalid

* HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx is invalid

Co-authored-by: jiaguodong5 <jiaguodong5@jd.com>
2021-07-27 22:25:21 +05:30
Viraj Jasani b038042ece
HDFS-16139. Update BPServiceActor Scheduler's nextBlockReportTime atomically (#3228). Contributed by Viraj Jasani.
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2021-07-27 14:57:12 +08:00
Akira Ajisaka d710ec8d85
HDFS-16140. TestBootstrapAliasmap fails by BindException. (#3229)
Reviewed-by: Hui Fei <ferhui@apache.org>
2021-07-26 16:46:07 +09:00
litao 5d765497c5
HDFS-16131. Show storage type for failed volumes on namenode web (#3211). Contributed by tomscut.
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2021-07-26 12:45:01 +08:00
Akira Ajisaka 2f2f822488
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
2021-07-26 01:53:39 +09:00
Eric Yin de41ce8a16
HDFS-16087. Fix stuck issue in rbfbalance tool (#3141). Contributed by Eric Yin. 2021-07-21 00:01:55 +08:00
He Xiaoqiao 6ed7670a93
HDFS-16067. Support Append API in NNThroughputBenchmark. Contributed by Renukaprasad C. 2021-07-17 21:57:00 +08:00
Kihwal Lee 47002719f2 HDFS-16127. Improper pipeline close recovery causes a permanent write failure or data loss. Contributed by Kihwal Lee. 2021-07-16 14:22:39 -05:00
crossfire 4bb25c810b
HDFS-15650. Make the socket timeout for computing checksum of striped blocks configurable (#2414) 2021-07-15 19:58:12 -07:00
Abhishek Das 1dd03cc4b5 HADOOP-17028. ViewFS should initialize mounted target filesystems lazily. Contributed by Abhishek Das (#2260) 2021-07-13 18:11:50 -07:00
LeonGao ea90c5117d
HDFS-15785. Datanode to support using DNS to resolve nameservices to IP addresses to get list of namenodes. (#2639)
* Rebase trunk

* Fix to use FQDN and update config name

* Fix javac

* Style and trigger build

* Trigger Build after force push

* Trigger Build

* Fix config names
2021-07-13 14:18:59 -07:00
Artem Smotrakov ba325a8ada
HADOOP-17793. Better token validation (#3189)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-07-10 13:42:31 +09:00
S O'Donnell b6c06c4b76 HDFS-15796. ConcurrentModificationException error happens on NameNode occasionally. Contributed by Daniel Ma 2021-07-09 10:03:57 +01:00
bshashikant 6450c1ea9a
HDFS-16121. Iterative snapshot diff report can generate duplicate records for creates, deletes and Renames. (#3188) 2021-07-09 10:26:42 +05:30
Viraj Jasani 618c9218ee
HADOOP-17788. Replace IOUtils#closeQuietly usages by Hadoop's own utility (#3171)
Reviewed-by: Steve Loughran <stevel@apache.org>
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2021-07-08 16:03:40 +09:00
litao b4c2647d0d
HDFS-16088. Standby NameNode process getLiveDatanodeStorageReport req… (#3140) 2021-07-08 14:10:45 +08:00
JiaguodongF 9381071758
HDFS-16114. the balancer parameters print error (#3179)
Co-authored-by: jiaguodong5 <jiaguodong5@jd.com>
2021-07-07 14:13:05 +05:30
Ayush Saxena c85a18327d HDFS-16101. Remove unuse variable and IoException in ProvidedStorageMap. Contributed by lei w. 2021-07-06 23:26:52 +05:30
litao a447cfd78b
HDFS-16110. Remove unused method reportChecksumFailure in DFSClient (#3174)
Reviewed-by: Takanobu Asanuma <tasanuma@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2021-07-05 19:31:22 -07:00
Viraj Jasani da575a53cf
HDFS-16108. Fix incorrect log placeholders used in JournalNodeSyncer (#3169) 2021-07-05 09:23:24 +08:00
litao b87bac13e4
HDFS-16109. Fix flaky some unit tests since they offen timeout (#3172)
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-07-05 08:14:37 +09:00
litao 390f8603d3
HDFS-16106. Fix flaky unit test TestDFSShell (#3168) 2021-07-02 15:31:25 +08:00
zhangshuyan0 9be17339eb
HDFS-16099. Make bpServiceToActive to be volatile. (#3159)
Co-authored-by: zhangshuyan <zqingchai@gmail.com>
2021-07-01 23:52:21 +08:00