Akira Ajisaka
d26dcf6686
HDFS-15421. IBR leak causes standby NN to be stuck in safe mode.
...
(cherry picked from commit c71ce7ac33
)
2020-06-28 16:43:32 +09:00
Virajith Jalaparti
c4e0098bd6
HDFS-15436. Default mount table name used by ViewFileSystem should be configurable ( #2100 )
...
* HDFS-15436. Default mount table name used by ViewFileSystem should be configurable
* Replace Constants.CONFIG_VIEWFS_DEFAULT_MOUNT_TABLE use in tests
* Address Uma's comments on PR#2100
* Sort lists in test to match without concern to order
* Address comments, fix checkstyle and fix failing tests
* Fix checkstyle
(cherry picked from commit bed0a3a374
)
2020-06-27 16:25:26 -07:00
Uma Maheswara Rao G
30d1d29076
HDFS-15429. mkdirs should work when parent dir is an internalDir and fallback configured. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit d5e1bb6155
)
2020-06-27 16:09:36 -07:00
Uma Maheswara Rao G
81e62613fb
HDFS-15427. Merged ListStatus with Fallback target filesystem and InternalDirViewFS. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 7c02d1889b
)
2020-06-27 16:09:16 -07:00
Uma Maheswara Rao G
e17770dec6
HDFS-15418. ViewFileSystemOverloadScheme should represent mount links as non symlinks. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit b27810aa60
)
2020-06-27 16:08:57 -07:00
Uma Maheswara Rao G
208701329c
HADOOP-17060. Clarify listStatus and getFileStatus behaviors inconsistent in the case of ViewFs implementation for isDirectory. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 93b121a971
)
2020-06-27 16:08:38 -07:00
Ayush Saxena
b720d7770d
HDFS-15396. Fix TestViewFileSystemOverloadSchemeHdfsFileSystemContract#testListStatusRootDir. Contributed by Ayush Saxena.
...
(cherry picked from commit a8610c15c4
)
2020-06-27 16:08:10 -07:00
Abhishek Das
0e9b6b0124
HADOOP-17029. Return correct permission and owner for listing on internal directories in ViewFs. Contributed by Abhishek Das.
...
(cherry picked from commit e7dd02768b
)
2020-06-27 16:07:49 -07:00
Uma Maheswara Rao G
100c13967e
HDFS-15387. FSUsage#DF should consider ViewFSOverloadScheme in processPath. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 785b1def95
)
(cherry picked from commit 120ee793fc
)
2020-06-27 16:07:28 -07:00
Ayush Saxena
f7e590aaff
HDFS-15389. DFSAdmin should close filesystem and dfsadmin -setBalancerBandwidth should work with ViewFSOverloadScheme. Contributed by Ayush Saxena
...
(cherry picked from commit cc671b16f7
)
(cherry picked from commit bee2846bee
)
2020-06-27 16:06:52 -07:00
Uma Maheswara Rao G
64dbb39e71
HDFS-15330. Document the ViewFSOverloadScheme details in ViewFS guide. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 76fa0222f0
)
(cherry picked from commit 418580446b
)
2020-06-27 16:06:25 -07:00
Uma Maheswara Rao G
2e1dfc152b
HDFS-15321. Make DFSAdmin tool to work with ViewFileSystemOverloadScheme. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ed83c865dd
)
(cherry picked from commit 0b5e202614
)
2020-06-27 16:06:04 -07:00
Uma Maheswara Rao G
6ae92962d9
HDFS-15322. Make NflyFS to work when ViewFsOverloadScheme's scheme and target uris schemes are same. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 4734c77b4b
)
(cherry picked from commit 8e71e85af7
)
2020-06-27 16:05:36 -07:00
Abhishek Das
7015589f58
HADOOP-17024. ListStatus on ViewFS root (ls "/") should list the linkFallBack root (configured target root). Contributed by Abhishek Das.
...
(cherry picked from commit ce4ec74453
)
(cherry picked from commit 5b248de42d
)
2020-06-27 16:05:09 -07:00
Uma Maheswara Rao G
c4857bb9c1
HDFS-15306. Make mount-table to read from central place ( Let's say from HDFS). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ac4a2e11d9
)
(cherry picked from commit 544996c857
)
2020-06-27 16:04:23 -07:00
S O'Donnell
9d891f08c2
HDFS-15406. Improve the speed of Datanode Block Scan. Contributed by hemanthboyina
...
(cherry picked from commit 123777823e
)
2020-06-18 12:59:47 +01:00
Eric Yang
a8d3d4a2a8
SPNEGO TLS verification
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 81d8a887b0
)
2020-06-15 11:13:06 +09:00
Takanobu Asanuma
c2f908482f
HDFS-15403. NPE in FileIoProvider#transferToSocketFully. Contributed by hemanthboyina.
...
(cherry picked from commit f41a144077
)
2020-06-15 09:18:55 +09:00
Eric Badger
b669735124
YARN-10312. Add support for yarn logs -logFile to retain backward compatibility.
...
Contributed by Jim Brennan
(cherry picked from commit 7363931942
)
2020-06-12 19:09:37 +00:00
Szilard Nemeth
59b20a1ebf
YARN-10295. CapacityScheduler NPE can cause apps to get stuck without resources. Contributed by Benjamin Teke
2020-06-10 18:15:08 +02:00
Szilard Nemeth
0c209f3f7d
YARN-10296. Make ContainerPBImpl#getId/setId synchronized. Contributed by Benjamin Teke
2020-06-10 18:02:05 +02:00
Eric E Payne
2e4892061a
YARN-10300: appMasterHost not set in RM ApplicationSummary when AM fails before first heartbeat. Contributed by Eric Badger (ebadger).
...
(cherry picked from commit 56247db302
)
(cherry picked from commit 034d458511
)
2020-06-09 21:34:20 +00:00
Ayush Saxena
9f02fea756
HDFS-15211. EC: File write hangs during close in case of Exception during updatePipeline. Contributed by Ayush Saxena.
...
*Added missed test file.
2020-06-09 18:49:17 +05:30
Kihwal Lee
400c5accd9
HADOOP-16255. Add ChecksumFs.rename(path, path, boolean)
...
Contributed by Jungtaek Lim
Change-Id: If00a4d7d30456c08eb2b0f7e2b242197bc4ee05d
(cherry picked from commit bb0b922a71
)
2020-06-08 17:25:15 -05:00
Eric Badger
0799901d48
Revert "MAPREDUCE-7277. IndexCache totalMemoryUsed differs from cache contents. Contributed by Jon Eagles (jeagles)."
...
This reverts commit 7e05577c47
.
2020-06-08 20:12:00 +00:00
Mingliang Liu
ac0e928564
HADOOP-17047. TODO comment exist in trunk while related issue HADOOP-6223 is already fixed. Contributed by Rungroj Maipradit
2020-06-08 11:32:32 -07:00
Mingliang Liu
101ce83f37
HADOOP-17059. ArrayIndexOfboundsException in ViewFileSystem#listStatus. Contributed by hemanthboyina
2020-06-08 10:51:36 -07:00
Toshihiro Suzuki
f701d7bdd1
HDFS-15386. ReplicaNotFoundException keeps happening in DN after removing multiple DN's data directories ( #2052 )
...
Contributed by Toshihiro Suzuki.
(cherry picked from commit 545a0a147c
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java
(cherry picked from commit e5a02a7499
)
2020-06-05 12:36:05 +01:00
Akira Ajisaka
f30abb3e73
HADOOP-17056. Addendum patch: Fix typo
...
(cherry picked from commit 5157118bd7
)
(cherry picked from commit 59e7275beb
)
2020-06-04 16:43:23 +09:00
Akira Ajisaka
de4f1aabfa
HADOOP-17056. shelldoc fails in hadoop-common. ( #2045 )
...
In the docker build image, skip GPG verification when downloading
Yetus tarball via yetus-wrapper.
(cherry picked from commit 9c290c08db
)
Conflicts:
dev-support/docker/Dockerfile
dev-support/docker/Dockerfile_aarch64
(cherry picked from commit aa19a2af17
)
2020-06-04 16:41:22 +09:00
Akira Ajisaka
30c639a025
HADOOP-17062. Fix shelldocs path in Jenkinsfile ( #2049 )
...
(cherry picked from commit 704409d53b
)
2020-06-04 06:07:54 +09:00
Dhiraj
2c40f20deb
HADOOP-17052. NetUtils.connect() throws unchecked exception (UnresolvedAddressException) causing clients to abort ( #2036 )
...
Contributed by Dhiraj Hegde.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2020-06-01 11:07:25 -07:00
Jonathan Hung
aa19cb20ea
YARN-6492. Generate queue metrics for each partition. Contributed by Manikandan R
...
(cherry picked from commit c30c23cb66
)
(cherry picked from commit 7a323a45aa
)
(cherry picked from commit a80595a6deb3124a3d6d99057e9d5298cd7237d8)
2020-05-29 10:56:31 -07:00
S O'Donnell
0cd4459f4e
HADOOP-7002. Wrong description of copyFromLocal and copyToLocal in documentation. Contributed by Andras Bokor.
...
(cherry picked from commit 19f26a020e
)
2020-05-29 14:53:59 +01:00
S O'Donnell
1f674e26ba
HADOOP-14698. Make copyFromLocals -t option available for put as well. Contributed by Andras Bokor.
2020-05-29 12:25:35 +01:00
Wilfred Spiegelenburg
0e0d88ca97
MAPREDUCE-7278. Speculative execution behavior is observed even when mapreduce.map.speculative and mapreduce.reduce.speculative are false
...
Contributed by Tarun Parimi.
(cherry picked from commit 10db97df1c
)
2020-05-28 16:38:34 +10:00
Takanobu Asanuma
7168938223
HDFS-15363. BlockPlacementPolicyWithNodeGroup should validate if it is initialized by NetworkTopologyWithNodeGroup. Contributed by hemanthboyina.
...
(cherry picked from commit 4d22d1c58f
)
2020-05-23 17:35:30 +09:00
Chen Liang
8f53545f9d
HDFS-15293. Relax the condition for accepting a fsimage when receiving a checkpoint. Contributed by Chen Liang
2020-05-18 12:08:08 -07:00
Akira Ajisaka
533e51f97e
HADOOP-17042. Hadoop distcp throws 'ERROR: Tools helper ///usr/lib/hadoop/libexec/tools/hadoop-distcp.sh was not found'. Contributed by Aki Tanaka.
...
(cherry picked from commit 27601fc79e
)
2020-05-18 15:38:01 +09:00
Steve Loughran
31755c91ff
Revert "HADOOP-8143. Change distcp to have -pb on by default."
...
This reverts commit dd65eea74b
.
Change-Id: I74180cf59d5bbad8c9f66cb331535addcbea863e
2020-05-15 13:49:25 +01:00
Steve Loughran
eebd96636e
Revert "HADOOP-14557. Document HADOOP-8143 (Change distcp to have -pb on by default)."
...
This reverts commit 44350fdf49
.
It is related to the rollback of HADOOP-8143.
Change-Id: If48e3dd670c920ada702dc36461ff398fe9d35cc
2020-05-15 13:49:13 +01:00
Akira Ajisaka
de4ac41528
Revert "SPNEGO TLS verification"
...
This reverts commit 4b7d6667fd
.
2020-05-13 17:16:15 +09:00
Uma Maheswara Rao G
fda93334dc
HDFS-15305. Extend ViewFS and provide ViewFileSystemOverloadScheme implementation with scheme configurable. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 9c8236d04d
)
2020-05-12 21:33:49 -07:00
Virajith Jalaparti
bec5d7baa0
HADOOP-15565. Add an inner FS cache to ViewFileSystem, separate from the global cache, to avoid file system leaks. Contributed by Jinglun.
2020-05-12 19:37:40 -07:00
Jonathan Hung
b3e9aff5f7
YARN-10260. Allow transitioning queue from DRAINING to RUNNING state. Contributed by Bilwa S T
...
(cherry picked from commit fff1d2c122
)
(cherry picked from commit 564d3211f2
)
(cherry picked from commit a7ea55e015
)
2020-05-12 10:53:23 -07:00
Ayush Saxena
d24e1bc388
HDFS-14367. EC: Parameter maxPoolSize in striped reconstruct thread pool isn't affecting number of threads. Contributed by Guo Lei.
2020-05-12 18:45:52 +05:30
Babneet Singh
42997d14a9
HDFS-15270. Account for *env == NULL in hdfsThreadDestructor ( #1951 )
...
OpenJ9 JVM properly terminates the thread before hdfsThreadDestructor is
invoked. JNIEnv is a mirror of J9VMThread in OpenJ9. After proper thread
termination, accessing JNIEnv in hdfsThreadDestructor (*env)->GetJavaVM,
yields a SIGSEGV since *env is NULL after thread cleanup is performed.
The main purpose of hdfsThreadDestructor is to invoke
DetachCurrentThread, which performs thread cleanup in OpenJ9. Since
OpenJ9 performs thread cleanup before hdfsThreadDestructor is invoked,
hdfsThreadDestructor should account for *env == NULL and skip
DetachCurrentThread.
Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
(cherry picked from commit 1996351b0b
)
(cherry picked from commit d1e5e393c3
)
(cherry picked from commit 44fdee351d
)
2020-05-11 10:46:21 -07:00
Ayush Saxena
86c15b8287
HDFS-15250. Setting `dfs.client.use.datanode.hostname` to true can crash the system because of unhandled UnresolvedAddressException. Contributed by Ctest.
2020-05-10 11:45:13 +05:30
Ayush Saxena
8988f33ac3
HDFS-15339. TestHDFSCLI fails for user names with the dot/dash character. Contributed by Yan Xiaole.
2020-05-08 00:57:41 +05:30
Szilard Nemeth
7e6c5e5ad2
YARN-9444. YARN API ResourceUtils's getRequestedResourcesFromConfig doesn't recognize yarn.io/gpu as a valid resource. Contributed by Gergely Pollak
...
(cherry picked from commit 52e9ee39a1
)
2020-05-07 18:37:02 +00:00