jianghuazhu
6854f7502f
HADOOP-18063. Remove unused import AbstractJavaKeyStoreProvider in Shell class. ( #3846 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 7398a0f1b2ca434f41d1414f884731637b9855bf)
2022-01-04 11:27:35 +09: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 caab29ec889a0771191b58714c306439b2415d91)
(cherry picked from commit 6535a183b22dc8915cea9a93ab8c0370ef9bd2f0)
2021-12-28 22:03:10 +09: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 4483607a4edc0f13264f4ea37abd90aba97e1ef0)
2021-12-17 16:13:25 +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 9b9e2ef87ffe7b33dc01699892acf62965fb3550)
Conflicts:
hadoop-tools/hadoop-federation-balance/pom.xml
(cherry picked from commit 35c5c6bb83beb4f68e1ff18907589b062a0467e8)
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
smarthan
2f3e186978
HADOOP-18023. Allow cp command to run with multi threads. ( #3721 )
...
(cherry picked from commit 932a78fe38b34a923f6852a1a19482075806ecba)
2021-11-29 15:06:29 +00: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
Istvan Fajth
dbcadcc21e
HADOOP-17975. Fallback to simple auth does not work for a secondary DistributedFileSystem instance. ( #3579 )
...
(cherry picked from commit ae3ba45db58467ce57b0a440e236fd80f6be9ec6)
2021-11-24 11:20:27 +00:00
smarthan
6e179d421d
HADOOP-17998. Allow get command to run with multi threads. ( #3645 )
...
(cherry picked from commit 63018dc73f4d29632e93be08d035ab9a7e73531c)
Conflicts:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CopyCommands.java
(cherry picked from commit cbb3ba135cfa3a9bc9f444e8b4a7875758721a3c)
2021-11-22 13:39:34 +00:00
Abhishek Das
0e02f03eae
HADOOP-17999. No-op implementation of setWriteChecksum and setVerifyChecksum in ViewFileSystem. Contributed by Abhishek Das. ( #3639 )
...
(cherry picked from commit 54a1d78e16533e286455de62a545ee75cbc1eff5)
2021-11-16 22:21:14 -08:00
litao
81f6cbc715
HDFS-16315. Add metrics related to Transfer and NativeCopy for DataNode ( #3666 )
...
(cherry picked from commit 026d5860cbf3acd701437bfd7c8084aba3d43881)
2021-11-17 13:53:33 +09:00
Ananya Singh
df9c07fc04
HADOOP-17972. Backport HADOOP-17683 for branch-3.2 ( #3573 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2021-10-28 11:46:12 +09:00
Szilard Nemeth
7ebc18e8fe
HADOOP-17857. Check real user ACLs in addition to proxied user ACLs. Contributed by Eric Payne
...
(cherry picked from commit 5428d36b56fab319ab68258139d6133ded9bbafc)
2021-10-21 17:15:39 +00:00
Xing Lin
c8f22fe737
HADOOP-16532. Fix TestViewFsTrash to use the correct homeDir. Contributed by Xing Lin. ( #3514 )
...
(cherry picked from commit 97c0f968792e1a45a1569a3184af7b114fc8c022)
2021-10-13 14:56:53 -07:00
Ahmed Hussein
e99af5cf81
HADOOP-17930. implement non-guava Precondition checkState ( #3522 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit c36f9402dc082a8903cf6e7fdca128658b11c59d)
2021-10-07 11:02:51 +09:00
Ahmed Hussein
4b6316a7fd
HADOOP-17929. implement non-guava Precondition checkArgument ( #3473 )
...
Reviewed-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 0c498f21dee7a5bbf91ad8afbfb372d08bacce6c)
2021-10-07 11:02:45 +09:00
Rintaro Ikeda
a777264c7f
HADOOP-17919. Fix command line example in Hadoop Cluster Setup documentation. ( #3453 )
...
(cherry picked from commit 607c20c6122238ee579a3ad5da882128e7203fad)
2021-09-17 13:35:54 +00:00
Steve Loughran
5094dede8e
HADOOP-17126. implement non-guava Precondition checkNotNull
...
This adds a new class org.apache.hadoop.util.Preconditions which is
* @Private/@Unstable
* Intended to allow us to move off Google Guava
* Is designed to be trivially backportable
(i.e contains no references to guava classes internally)
Please use this instead of the guava equivalents, where possible.
Contributed by: Ahmed Hussein
Change-Id: Ic392451bcfe7d446184b7c995734bcca8c07286e
2021-09-17 11:37:29 +01: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 d7c136b9ed6d99e1b03f5b89723b3a20df359ba8)
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 318bc5ff69bc578db1ce95198aa7fa7bc7199320.
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 d7c136b9ed6d99e1b03f5b89723b3a20df359ba8)
* 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 2a67e2b1a0e3a5f91056f5b977ef9c4c07ba6718)
* HDFS-15457. TestFsDatasetImpl fails intermittently (#2407 )
(cherry picked from commit 98097b8f19789605b9697f6a959da57261e0fe19)
* HDFS-15818. Fix TestFsDatasetImpl.testReadLockCanBeDisabledByConfig. Contributed by Leon Gao (#2679 )
(cherry picked from commit 9434c1eccc255a25ea5e11f6d8c9e1f83996d6b4)
* 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
Chris Nauroth
736367e578
HADOOP-15129. Datanode caches namenode DNS lookup failure and cannot startup ( #3348 )
...
Co-authored-by: Karthik Palaniappan
Change-Id: Id079a5319e5e83939d5dcce5fb9ebe3715ee864f
2021-09-03 19:19:44 +00:00
Viraj Jasani
25fe54b890
HADOOP-17874. ExceptionsHandler to add terse/suppressed Exceptions in thread-safe manner ( #3343 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 99a157fa4ad174c4ff979414af2edb67a98eb9fe)
2021-09-03 11:06:19 +09:00
jianghuazhu
dac74b0e11
HDFS-16173.Improve CopyCommands#Put#executor queue configurability. ( #3302 )
...
Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local>
Reviewed-by: Hui Fei <ferhui@apache.org>
Reviewed-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 4c94831364e9258247029c22a222a665771ab4c0)
(cherry picked from commit 7c663043b2c1e207dd8c05e09e17811d68badfac)
2021-08-27 12:50:22 +08:00
jianghuazhu
3b38d011a8
HDFS-16175.Improve the configurable value of Server #PURGE_INTERVAL_NANOS. ( #3307 )
...
Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit ad54f5195c8c01f333703c55cd70703109d75f29)
(cherry picked from commit 2b2f8f575bffb18df53a3cf70cc45ba6384798e2)
2021-08-25 17:36:07 +08:00
Brahma Reddy Battula
3cf2479c04
Preparing for 3.2.4 development.
2021-08-08 18:35:16 +05:30
Bryan Beaudreault
dab829063d
HADOOP-17840: Backport HADOOP-17837 to branch-3.2 ( #3275 )
...
Reviewed-by: Brahma Reddy Battula <brahma@apache.org>
2021-08-07 09:49:46 +05:30
Viraj Jasani
2f5e527910
HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) ( #3267 )
...
(cherry picked from commit 9fe1f24ec11c3e1c2ed5ee9db801d40a2f7a2ed6)
2021-08-06 09:54:34 +08:00
Akira Ajisaka
b838647b16
HADOOP-16768. SnappyCompressor test cases wrongly assume that the compressed data is always smaller than the input data. ( #3264 )
...
* HADOOP-16768. SnappyCompressor test cases wrongly assume that the compressed data is always smaller than the input data. (#2003 )
(cherry picked from commit 328eae9a146b2dd9857a17a0db6fcddb1de23a0d)
* Add assertj-core dependency to hadoop-common for test
* Bump assertj-core version to 3.12.2 to use assertThat.hasSizeGreaterThan
2021-08-04 15:46:00 +09:00
hchaverr
4f602cb17b
HADOOP-17819. Add extensions to ProtobufRpcEngine RequestHeaderProto. Contributed by Hector Sandoval Chaverri. ( #3242 )
...
(cherry picked from commit 3c8a48e681babe4038e49205624e7be183b3466e)
2021-07-28 15:59:45 -07:00
Viraj Jasani
1df581a20c
HADOOP-17808. ipc.Client to set interrupt flag after catching InterruptedException ( #3219 )
...
(cherry picked from commit 3a52bfc5db1b13a71d5a5c6ee0cd689fb8b27895)
2021-07-23 12:57:36 +08:00
Abhishek Das
f9832031c2
HADOOP-17028. ViewFS should initialize mounted target filesystems lazily. Contributed by Abhishek Das ( #2260 )
...
(cherry picked from commit 1dd03cc4b573270dc960117c3b6c74bb78215caa)
2021-07-13 18:25:03 -07:00
Akira Ajisaka
a9505cf5d1
HADOOP-12665. Document hadoop.security.token.service.use_ip. ( #3187 )
...
Reviewed-by: Masatake Iwasaki <iwasakims@apache.org>
Reviewed-by: Chris Nauroth <cnauroth@apache.org>
(cherry picked from commit c81f82e21d137b6d45c20c481e7bbc6160d72f94)
2021-07-12 10:18:44 +09:00
Artem Smotrakov
6c7f192f0f
HADOOP-17793. Better token validation ( #3189 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ba325a8ada573291266c4d6447862072fdf88af5)
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
liangxs
b7108cfcee
HADOOP-17749. Remove lock contention in SelectorPool of SocketIOWithTimeout ( #3080 )
...
(cherry picked from commit a5db6831bc674a24a3251cf1b20f22a4fd4fac9f)
2021-07-07 09:54:16 +08:00
Takanobu Asanuma
2f29784293
HADOOP-17760. Delete hadoop.ssl.enabled and dfs.https.enable from docs and core-default.xml ( #3099 )
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 9e7c7ad129fcf466d9647e0672ecf7dd72213e72)
2021-06-17 10:01:28 +09:00
Mingliang Liu
d92af85045
Revert "HDFS-16033 Fix issue of the StatisticsDataReferenceCleaner cleanUp ( #3042 )"
...
This reverts commit 20a4cb0c67b413e7b9bc2b3213b5b592bfaa99d5.
2021-06-11 00:38:36 -07:00
July
20a4cb0c67
HDFS-16033 Fix issue of the StatisticsDataReferenceCleaner cleanUp ( #3042 )
...
Contributed by kaifeiYi (yikf).
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Reviewed-by: Steve Loughran <stevel@apache.org>
2021-06-04 13:59:26 -07:00
Konstantin V Shvachko
549987ed87
HDFS-16040. RpcQueueTime metric counts requeued calls as unique events. Contributed by Simbarashe Dzinamarira.
...
(cherry picked from commit 8ce30f51f999c0a80db53a2a96b5be5505d4d151)
2021-05-27 18:55:35 -07:00
Viraj Jasani
3c1f3b87fa
HADOOP-17700. ExitUtil#halt info log should log HaltException ( #3015 )
...
Reviewed-by: Steve Loughran <stevel@apache.org>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c70ee2d548feb9ec9a957e120045983dd21d9964)
2021-05-22 19:12:23 +09:00
hchaverr
f6af5bff9e
HADOOP-17680. Allow ProtobufRpcEngine to be extensible ( #2905 ) Contributed by Hector Chaverri.
...
(cherry picked from commit f40e3eb0590f85bb42d2471992bf5d524628fdd6)
2021-05-06 18:04:25 -07:00
Eric Badger
7ad844ee9e
MAPREDUCE-7302. Upgrading to JUnit 4.13 causes testcase TestFetcher.testCorruptedIFile() to fail. Contributed by Peter Bacsko. Reviewed by Akira Ajisaka.
...
(cherry picked from commit da93cd962c8d19874d09360726628cdde8595a7d)
Conflicts:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/ReadaheadPool.java
2021-04-23 18:53:09 +00: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 66ee0a6df0dc0dd8242018153fd652a3206e73b5)
(cherry picked from commit 6340ac857b7ff3f73bbcf95b59b98aac134f33af)
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 dac60b8282013d7776667415a429e7ca35efba66)
(cherry picked from commit 1110b03752b45bc4695baaa6d9655e18de67303a)
* HADOOP-17625. Update to Jetty 9.4.39. (#2870 )
Reviewed-by: cxorm <lianp964@gmail.com>
(cherry picked from commit 6040e86e99aae5e29c17b03fddb0a805da8fcae8)
(cherry picked from commit 7f7535534d5541e10b6b14dee3aa38a00058f201)
2021-04-19 20:12:27 -07:00
Eric Badger
bf0d058b69
YARN-10460. Upgrading to JUnit 4.13 causes tests in TestNodeStatusUpdater to fail. Contributed by Peter Bacsko.
2021-04-19 20:06:36 +00:00
Masatake Iwasaki
08cc11cd28
HADOOP-17569. Building native code fails on Fedora 33. ( #2886 )
...
(cherry picked from commit 2717203f858ff654de0fc01cfb9afef2e705e33c)
2021-04-15 13:35:49 +00:00
Akira Ajisaka
d9858a4663
HADOOP-17630. [JDK 15] TestPrintableString fails due to Unicode 13.0 support. ( #2890 )
...
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 156ecc89be3ae1f42bde9c22ab5ba96cf60df3c6)
2021-04-13 17:10:26 +09:00
Wei-Chiu Chuang
0faa626bd8
HDFS-15759. EC: Verify EC reconstruction correctness on DataNode ( #2585 ) ( #2868 )
...
(cherry picked from commit 95e68926750b55196cf9da53c25359c98ef58a4f)
(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
litao
d566e4e41d
HDFS-15892. Add metric for editPendingQ in FSEditLogAsync ( #2770 )
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 4bd04126d64595ab0831626c80d8d1b788a35cd4)
2021-04-02 11:00:33 +09:00
He Xiaoqiao
eb10bd8ffd
HDFS-15932. Improve the balancer error message when process exits abnormally. Contributed by Renukaprasad C.
2021-03-31 12:24:29 +08:00
Takanobu Asanuma
46b2e9634b
HDFS-15902. Improve the log for HTTPFS server operation. Contributed by Bhavik Patel.
...
(cherry picked from commit b4d97a8dc75e4dc823d092f5bac37d6096dc6dc4)
2021-03-24 17:54:07 +09:00