Neil
9700d98eac
HADOOP-17893. Improve PrometheusSink for Namenode TopMetrics ( #3426 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ae2c5ccfcf75a89c60ec6e4a339b46131f9134be)
2021-09-21 10:44:51 +09:00
Rintaro Ikeda
92af6cd3bc
HADOOP-17919. Fix command line example in Hadoop Cluster Setup documentation. ( #3453 )
...
(cherry picked from commit 607c20c6122238ee579a3ad5da882128e7203fad)
2021-09-17 13:34:07 +00:00
Steve Loughran
9188fa8cce
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:06:59 +01:00
Adam Binford
59a955dfa0
HADOOP-17804. Expose prometheus metrics only after a flush and dedupe with tag values ( #3369 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 4ced012f3301d0848680fdf0ef2972da9b3e1298)
2021-09-09 16:51:04 +09:00
Steve Loughran
a2242df10a
HADOOP-17894. CredentialProviderFactory.getProviders() recursion loading JCEKS file from S3A ( #3393 )
...
* CredentialProviderFactory to detect and report on recursion.
* S3AFS to remove incompatible providers.
* Integration Test for this.
Contributed by Steve Loughran.
Change-Id: Ia247b3c9fe8488ffdb7f57b40eb6e37c57e522ef
2021-09-08 17:00:20 +01:00
Masatake Iwasaki
76393e1359
HADOOP-17899. Avoid using implicit dependency on junit-jupiter-api. ( #3399 )
...
(cherry picked from commit ce7a5bfbd3cb55afda265d105ff10ba2e2874a3f)
2021-09-08 09:11:39 +00:00
Yellow Flash
09e8e5c5cb
HADOOP-17870. Http Filesystem to qualify relative paths. ( #3338 )
...
Contributed by Yellowflash
Change-Id: I217da06a1a2e5c0ca2b324f8e21baa0846f64858
2021-09-07 10:54:35 +01:00
Chris Nauroth
cc90b4f987
HADOOP-15129. Datanode caches namenode DNS lookup failure and cannot startup ( #3348 )
...
Co-authored-by: Karthik Palaniappan
Change-Id: Id079a5319e5e83939d5dcce5fb9ebe3715ee864f
2021-09-03 18:48:07 +00:00
Viraj Jasani
7a4eaeb8bf
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 10:27:06 +09:00
Uma Maheswara Rao G
580b6c400b
HDFS-16192: ViewDistributedFileSystem#rename wrongly using src in the place of dst. ( #3353 )
...
Co-authored-by: Uma Maheswara Rao G <umagangumalla@cloudera.com>
(cherry picked from commit 164608b5465ebc6a2d296376aafbf4b272d9cff0)
2021-08-31 12:27:43 +08:00
Dongjoon Hyun
8606b2cddd
HADOOP-17869. fs.s3a.connection.maximum
should be bigger than fs.s3a.threads.max
( #3337 ).
...
The value of `fs.s3a.connection.maximum` has been increased to 96
Contributed by Dongjoon Hyun
Change-Id: I9020a2bfd2a67fa7a2ec0598ed9d63e78ee99c73
2021-08-30 18:31:57 +01:00
jianghuazhu
7c663043b2
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)
2021-08-27 12:06:26 +08:00
jianghuazhu
2b2f8f575b
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)
2021-08-25 17:35:50 +08:00
Viraj Jasani
fc6b1cafd4
HADOOP-17858. Avoid possible class loading deadlock with VerifierNone initialization ( #3321 )
...
(cherry picked from commit fc566ad9b0e1336381c5f6b321cdcff81768f47a)
2021-08-24 22:44:11 +09:00
Szilard Nemeth
224b42108d
YARN-10814. Fallback to RandomSecretProvider if the secret file is empty. Contributed by Tamas Domok
2021-08-24 14:16:15 +02:00
jianghuazhu
0a5f76b814
HDFS-16151. Improve the parameter comments related to ProtobufRpcEngine2#Server(). ( #3256 )
...
Co-authored-by: zhujianghua <zhujianghua@zhujianghuadeMacBook-Pro.local>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 0c7b951e031d60310acc7b4b1aa5052624fcfb95)
2021-08-08 14:57:08 +09:00
Bryan Beaudreault
2fda130260
HADOOP-17837: Add unresolved endpoint value to UnknownHostException (ADDENDUM) ( #3276 )
...
(cherry picked from commit b0b867e977ab853d1dfc434195c486cf0ca32dab)
2021-08-06 21:57:46 +05:30
Bryan Beaudreault
7659b62682
HADOOP-17837: Add unresolved endpoint value to UnknownHostException ( #3272 )
...
(cherry picked from commit 5e54d92e6ec866dc49a750110863a3fa8b2bcf7c)
2021-08-06 17:32:01 +08:00
Viraj Jasani
b3077543cf
HADOOP-17808. Avoid excessive logging for interruption (ADDENDUM) ( #3267 )
...
(cherry picked from commit 9fe1f24ec11c3e1c2ed5ee9db801d40a2f7a2ed6)
2021-08-06 09:30:43 +08:00
Steve Loughran
c1ad91e72d
HADOOP-17822. fs.s3a.acl.default not working after S3A Audit feature ( #3249 )
...
Fixes the regression caused by HADOOP-17511 by moving where the
option fs.s3a.acl.default is read -doing it before the RequestFactory
is created.
Adds
* A unit test in TestRequestFactory to verify the ACLs are set
on all file write operations.
* A new ITestS3ACannedACLs test which verifies that ACLs really
do get all the way through.
* S3A Assumed Role delegation tokens to include the IAM permission
s3:PutObjectAcl in the generated role.
Contributed by Steve Loughran
Change-Id: I3abac6a1b9e150b6b6df0af7c2c70093f8f518cb
2021-08-02 15:33:34 +01:00
Steve Loughran
26514b6534
HADOOP-17628. Distcp contract test is really slow with ABFS and S3A; timing out. ( #3240 )
...
This patch cuts down the size of directory trees used for
distcp contract tests against object stores, so making
them much faster against distant/slow stores.
On abfs, the test only runs with -Dscale (as was the case for s3a already),
and has the larger scale test timeout.
After every test case, the FileSystem IOStatistics are logged,
to provide information about what IO is taking place and
what it's performance is.
There are some test cases which upload files of 1+ MiB; you can
increase the size of the upload in the option
"scale.test.distcp.file.size.kb"
Set it to zero and the large file tests are skipped.
Contributed by Steve Loughran.
2021-08-02 12:58:37 +01:00
Petre Bogdan Stolojan
f2cec5cb88
HADOOP-17139 Re-enable optimized copyFromLocal implementation in S3AFileSystem ( #3101 )
...
This work
* Defines the behavior of FileSystem.copyFromLocal in filesystem.md
* Implements a high performance implementation of copyFromLocalOperation
for S3
* Adds a contract test for the operation: AbstractContractCopyFromLocalTest
* Implements the contract tests for Local and S3A FileSystems
Contributed by: Bogdan Stolojan
Change-Id: I25d502102775c3626c4264e5a14c649879730050
2021-08-02 11:58:36 +01:00
hchaverr
6cc1426b63
HADOOP-17819. Add extensions to ProtobufRpcEngine RequestHeaderProto. Contributed by Hector Sandoval Chaverri. ( #3242 )
...
(cherry picked from commit 3c8a48e681babe4038e49205624e7be183b3466e)
2021-07-28 15:48:51 -07:00
Viraj Jasani
5ea1337167
HADOOP-17808. ipc.Client to set interrupt flag after catching InterruptedException ( #3219 )
...
(cherry picked from commit 3a52bfc5db1b13a71d5a5c6ee0cd689fb8b27895)
2021-07-23 12:42:52 +08:00
Viraj Jasani
ec3311975c
HADOOP-16290. Enable RpcMetrics units to be configurable ( #3198 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit e1d00addb5b6d7240884536aaa57846af34a0dd5)
2021-07-20 14:56:28 +08:00
Abhishek Das
450dae7383
HADOOP-17028. ViewFS should initialize mounted target filesystems lazily. Contributed by Abhishek Das ( #2260 )
...
(cherry picked from commit 1dd03cc4b573270dc960117c3b6c74bb78215caa)
2021-07-13 18:23:27 -07:00
Akira Ajisaka
a1f90883f0
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:19 +09:00
Artem Smotrakov
c18ad9a007
HADOOP-17793. Better token validation ( #3189 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ba325a8ada573291266c4d6447862072fdf88af5)
2021-07-10 13:43:31 +09:00
Akira Ajisaka
6cc9549499
HADOOP-17794. Add a sample configuration to use ZKDelegationTokenSecretManager in Hadoop KMS ( #3190 )
...
(cherry picked from commit 6ac5d8a1ed6ec3f6de7af3b8a79869830a4377ee)
2021-07-09 22:50:18 +09:00
Rafal Wojdyla
e3fb63f33f
HADOOP-17402. Add GCS config to the core-site ( #2638 )
...
Contributed by Rafal Wojdyla
2021-07-07 22:43:31 +01:00
liangxs
24b780820c
HADOOP-17749. Remove lock contention in SelectorPool of SocketIOWithTimeout ( #3080 )
...
(cherry picked from commit a5db6831bc674a24a3251cf1b20f22a4fd4fac9f)
2021-07-07 09:41:11 +08:00
Viraj Jasani
b8a98e4f82
HDFS-16075. Use empty array constants present in StorageType and DatanodeInfo to avoid creating redundant objects ( #3115 )
...
Reviewed-by: Hui Fei <ferhui@apache.org>
(cherry picked from commit c488abbc79cc1ad2596cbf509a0cde14acc5ad6b)
2021-06-21 10:28:05 +09:00
Takanobu Asanuma
25138c98bf
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:00:36 +09:00
Mingliang Liu
91bcfbd72e
Revert "HDFS-16033 Fix issue of the StatisticsDataReferenceCleaner cleanUp ( #3042 )"
...
This reverts commit 8c0f9480549a4e7fa7de02c9bf73bccb0381f22a.
2021-06-11 00:35:41 -07:00
Steve Loughran
4ac9123619
HADOOP-17631. Configuration ${env.VAR:-FALLBACK} to eval FALLBACK when restrictSystemProps=true ( #2977 )
...
Contributed by Steve Loughran.
Change-Id: I9b82109eddeb659c01896152cf603d458e2a04cd
2021-06-08 22:05:00 +01:00
July
8c0f948054
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:37:24 -07:00
Konstantin V Shvachko
c5535caf6e
HDFS-16040. RpcQueueTime metric counts requeued calls as unique events. Contributed by Simbarashe Dzinamarira.
...
(cherry picked from commit 8ce30f51f999c0a80db53a2a96b5be5505d4d151)
2021-05-27 18:53:46 -07:00
Steve Loughran
464bbd5b7c
HADOOP-17511. Add audit/telemetry logging to S3A connector ( #2807 )
...
The S3A connector supports
"an auditor", a plugin which is invoked
at the start of every filesystem API call,
and whose issued "audit span" provides a context
for all REST operations against the S3 object store.
The standard auditor sets the HTTP Referrer header
on the requests with information about the API call,
such as process ID, operation name, path,
and even job ID.
If the S3 bucket is configured to log requests, this
information will be preserved there and so can be used
to analyze and troubleshoot storage IO.
Contributed by Steve Loughran.
Change-Id: Ic0a105c194342ed2d529833ecc42608e8ba2f258
2021-05-25 12:55:38 +01:00
Mehakmeet Singh
a786847b8f
HADOOP-17670. S3AFS and ABFS to log IOStats at DEBUG mode or optionally at INFO level in close() ( #2963 )
...
When the S3A and ABFS filesystems are closed,
their IOStatistics are logged at debug in the log:
org.apache.hadoop.fs.statistics.IOStatisticsLogging
Set `fs.iostatistics.logging.level` to `info` for the statistics
to be logged at info. (also: `warn` or `error` for even higher
log levels).
Contributed by: Mehakmeet Singh
Change-Id: I56d44ad89fc1c0dd4baf701681834e7fd96c544f
2021-05-24 13:04:20 +01:00
Vinayakumar B
dbf1ef4aff
HDFS-15790. Make ProtobufRpcEngineProtos and ProtobufRpcEngineProtos2 Co-Exist ( #2767 )
...
(cherry picked from commit 2bbeae324029d7ad19aa21a9b8a663c7890776f9)
Conflicts:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngine.java
2021-05-24 18:00:38 +08:00
Wei-Chiu Chuang
86c28f0639
Revert "HADOOP-17669. Backport HADOOP-17079, HADOOP-17505 to branch-3.3 ( #2959 )"
...
This reverts commit 4ffe5eb1ddb4aa260134005335a003ed6d270685.
2021-05-24 17:37:18 +08:00
Viraj Jasani
87e32fbb8d
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:10:28 +09:00
Wei-Chiu Chuang
fa4915fdbb
Preparing for 3.3.2 development
2021-05-19 21:52:37 +08:00
Wei-Chiu Chuang
4ffe5eb1dd
HADOOP-17669. Backport HADOOP-17079, HADOOP-17505 to branch-3.3 ( #2959 )
...
* HADOOP-17079. Optimize UGI#getGroups by adding UGI#getGroupsSet.
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
Change-Id: I0f31409923ece24a82dfba4c4610d8a38c52d9fb
* HADOOP-17505. public interface GroupMappingServiceProvider needs default impl for getGroupsSet() (#2661 ). Contributed by Vinayakumar B.
(cherry picked from commit c4c0683dff577a91ca978939e182ec0fee65b7c3)
Co-authored-by: Xiaoyu Yao <xyao@apache.org>
Co-authored-by: Vinayakumar B <vinayakumarb@apache.org>
2021-05-17 18:57:46 -07:00
Xiaoyu Yao
3f9c9ccf46
HADOOP-17284. Support BCFKS keystores for Hadoop Credential Provider.… ( #3010 )
...
* HADOOP-17284. Support BCFKS keystores for Hadoop Credential Provider. (#2334 )
(cherry picked from commit 4c5ad57818a7e894b5bf430358e02a0bb8618769)
2021-05-13 16:57:58 -07:00
dependabot[bot]
b2897fdd66
HADOOP-17683. Update commons-io to 2.8.0 ( #2974 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Akira Ajisaka <aajisaka@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 29105ffb634ceb44a331ba65280d418544b902a6)
2021-05-12 10:58:39 +09:00
Borislav Iordanov
f5ef78d46f
HADOOP-17665 Ignore missing keystore configuration in reloading mechanism
2021-05-10 15:41:56 -05:00
Ayush Saxena
2a95ba29bb
HADOOP-17644. Add back the exceptions removed by HADOOP-17432 for compatibility. Contributed by Quan Li.
2021-05-09 04:00:30 +05:30
Mike
0f12f3e125
HADOOP-17036. TestFTPFileSystem failing as ftp server dir already exists.
...
Contributed by Mikhail Pryakhin.
(cherry picked from commit 017d24e9703e9447f88ba94df3a8aa0800de770b)
2021-05-07 14:20:29 +09:00
hchaverr
cedebf1c27
HADOOP-17680. Allow ProtobufRpcEngine to be extensible ( #2905 ) Contributed by Hector Chaverri.
...
(cherry picked from commit f40e3eb0590f85bb42d2471992bf5d524628fdd6)
2021-05-06 17:50:32 -07:00