Uma Maheswara Rao G
4a9ec4d143
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 93b121a9717bb4ef5240fda877ebb5275f6446b4)
2020-06-27 15:54:37 -07:00
Ayush Saxena
fc9445abbd
HDFS-15396. Fix TestViewFileSystemOverloadSchemeHdfsFileSystemContract#testListStatusRootDir. Contributed by Ayush Saxena.
...
(cherry picked from commit a8610c15c498531bf3c011f1b0ace8eddddf61f2)
2020-06-27 15:54:13 -07:00
Abhishek Das
db5c32d2a5
HADOOP-17029. Return correct permission and owner for listing on internal directories in ViewFs. Contributed by Abhishek Das.
...
(cherry picked from commit e7dd02768b658b2a1f216fbedc65938d9b6ca6e9)
2020-06-27 15:53:38 -07:00
Uma Maheswara Rao G
aa8de2f43b
HDFS-15387. FSUsage#DF should consider ViewFSOverloadScheme in processPath. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 785b1def959fab6b8b7ffff66410bcd240feee13)
(cherry picked from commit 120ee793fc4bcbf9d1945d5e38e3ad5b2b290a0e)
2020-06-27 15:53:07 -07:00
Uma Maheswara Rao G
852ee71354
HDFS-15321. Make DFSAdmin tool to work with ViewFileSystemOverloadScheme. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ed83c865dd0b4e92f3f89f79543acc23792bb69c)
(cherry picked from commit 0b5e202614f0bc20a0db6656f924fa4d2741d00c)
2020-06-27 15:51:51 -07:00
Uma Maheswara Rao G
84ceb6d520
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 4734c77b4b64b7c6432da4cc32881aba85f94ea1)
(cherry picked from commit 8e71e85af70c17f2350f794f8bc2475eb1e3acea)
2020-06-27 15:51:28 -07:00
Abhishek Das
7cf9601987
HADOOP-17024. ListStatus on ViewFS root (ls "/") should list the linkFallBack root (configured target root). Contributed by Abhishek Das.
...
(cherry picked from commit ce4ec7445345eb94c6741d416814a4eac319f0a6)
(cherry picked from commit 5b248de42d2ae42710531a1514a21d60a1fca4b2)
2020-06-27 15:50:41 -07:00
Uma Maheswara Rao G
3dcc9aed4d
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 ac4a2e11d98827c7926a34cda27aa7bcfd3f36c1)
(cherry picked from commit 544996c85702af7ae241ef2f18e2597e2b4050be)
2020-06-27 15:49:48 -07:00
Mingliang Liu
61106467e3
HADOOP-17047. TODO comment exist in trunk while related issue HADOOP-6223 is already fixed. Contributed by Rungroj Maipradit
2020-06-08 11:32:07 -07:00
Mingliang Liu
0eee1c88ec
HADOOP-17059. ArrayIndexOfboundsException in ViewFileSystem#listStatus. Contributed by hemanthboyina
2020-06-08 10:39:09 -07:00
Dhiraj
462a68a69f
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:06:32 -07:00
S O'Donnell
d245a4d7fe
HADOOP-7002. Wrong description of copyFromLocal and copyToLocal in documentation. Contributed by Andras Bokor.
...
(cherry picked from commit 19f26a020e2e5cec2ceb28d796c63c83bc8ac506)
2020-05-29 14:51:45 +01:00
S O'Donnell
5b6c2b366e
HADOOP-14698. Make copyFromLocals -t option available for put as well. Contributed by Andras Bokor.
2020-05-29 12:10:50 +01:00
Akira Ajisaka
777e36448c
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 27601fc79ed053ce978ac18a2c5706d32e58019f)
2020-05-18 15:37:42 +09:00
Uma Maheswara Rao G
0d0aac1a2a
HDFS-15305. Extend ViewFS and provide ViewFileSystemOverloadScheme implementation with scheme configurable. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 9c8236d04dfc3d4cefe7a00b63625f60ee232cfe)
2020-05-11 15:29:26 -07:00
Virajith Jalaparti
e5e824bd6f
HADOOP-15565. Add an inner FS cache to ViewFileSystem, separate from the global cache, to avoid file system leaks. Contributed by Jinglun.
2020-05-11 12:50:14 -07:00
Ayush Saxena
50ba1949ee
HADOOP-16886. Add hadoop.http.idle_timeout.ms to core-default.xml. Contributed by Lisheng Sun.
2020-05-01 14:27:24 +05:30
Dhiraj
6225fce50d
HDFS-15281. Make sure ZKFC uses dfs.namenode.rpc-address to bind to host address ( #1964 )
...
Contributed by Dhiraj Hegde.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Inigo Goiri <inigoiri@apache.org>
2020-04-25 13:08:32 -07:00
Masatake Iwasaki
5ebfb7203a
HADOOP-16647. Support OpenSSL 1.1.1 LTS. Contributed by Rakesh Radhakrishnan.
...
(cherry picked from commit 8f8be6b92a32982c2fd5be4647ebe1610a533dc3)
2020-04-24 15:38:11 +09:00
Mingliang Liu
36bcbce2cd
HADOOP-17001. The suffix name of the unified compression class. Contributed by bianqi
2020-04-22 13:07:18 -07:00
Eric Badger
17fc8e4a64
Revert "HDFS-14986. ReplicaCachingGetSpaceUsed throws ConcurrentModificationException. Contributed by Aiphago."
...
This reverts commit 26b51f3e2295b9a85ee1fc9a7f475cb3dc181933.
2020-04-02 19:24:42 +00:00
Yiqun Lin
26b51f3e22
HDFS-14986. ReplicaCachingGetSpaceUsed throws ConcurrentModificationException. Contributed by Aiphago.
...
(cherry picked from commit 2b452b4e6063072b2bec491edd3f412eb7ac21f3)
2020-03-25 16:31:42 -07:00
Kihwal Lee
27cfda708e
HDFS-15147. LazyPersistTestCase wait logic is error-prone. Contributed
...
by Ahmed Hussein.
2020-02-27 09:17:44 -06:00
Kihwal Lee
de7edf58bd
Revert "HADOOP-16888. [JDK11] Support JDK11 in the precommit job. Contributed by"
...
Incorrect commit message
This reverts commit 749d7c0027b8978f9c07af04031a8fad6d7c18e1.
2020-02-27 09:16:55 -06:00
Kihwal Lee
749d7c0027
HADOOP-16888. [JDK11] Support JDK11 in the precommit job. Contributed by
...
Ahmed Hussein.
2020-02-27 09:13:20 -06:00
Takanobu Asanuma
fb0aba8521
HADOOP-16841. The description of hadoop.http.authentication.signature.secret.file contains outdated information. Contributed by Xieming Li.
...
(cherry picked from commit 5cbc4c54611f062690c3bfcf78d09d37c78ffd12)
2020-02-25 11:09:39 +09:00
Wei-Chiu Chuang
d411a849e1
HADOOP-16868. ipc.Server readAndProcess threw NullPointerException. Contributed by Tsz-wo Sze.
...
(cherry picked from commit cb3f3cca01d6ab9f4befb1bcd31f384c37c0231a)
2020-02-18 21:53:50 -08:00
testfixer
edad6f1d0f
HADOOP-16847. Test can fail if HashSet iterates in a different order.
...
Contributed by Testfixer
2020-02-11 11:24:36 +00:00
Kihwal Lee
0b19c8e086
HADOOP-15787. TestIPC.testRTEDuringConnectionSetup fails with jdk8u242. Contributed by Zsolt Venczel.
...
(cherry picked from commit a463cf75a0ab1f0dbb8cfa16c39a4e698bc1a625)
2020-02-05 13:02:21 -06:00
Chen Liang
226cd3977b
HDFS-15148. dfs.namenode.send.qop.enabled should not apply to primary NN port. Contributed by Chen Liang.
2020-02-04 12:34:19 -08:00
sunlisheng
c36fbcbf17
Remove WARN log when ipc connection interrupted in Client#handleSaslConnectionFailure()
...
Signed-off-by: sunlisheng <sunlisheng@xiaomi.com>
(cherry picked from commit d887e49dd4ed2b94bbb53b7608586f5da6cee037)
2020-01-21 18:24:00 +09:00
David Mollitor
8c150ed484
HADOOP-16790. Add Write Convenience Methods.
...
Contributed by David Mollitor.
This adds operations in FileUtil to write text to a file via
either a FileSystem or FileContext instance.
Change-Id: I5fe8fcf1bdbdbc734e137f922a75a822f2b88410
2020-01-16 11:27:13 +00:00
Szilard Nemeth
1d2c5dffa8
HADOOP-16683. Disable retry of FailoverOnNetworkExceptionRetry in case of wrapped AccessControlException. Contributed by Adam Antal
2020-01-14 11:18:54 +01:00
Chen Liang
1ee90d6731
HDFS-15099. [SBN Read] checkOperation(WRITE) should throw ObserverRetryOnActiveException for ObserverNode. Contributed by Chen Liang.
...
(cherry picked from commit 26a969ec734dbdbf1d544f486dfa33f15c291789)
2020-01-10 17:17:11 -08:00
Daryn Sharp
57cb180267
HADOOP-16749. Configuration parsing of CDATA values are blank
...
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit c4fb43c94259546f2c96b50ceae9cd3adb726166)
2020-01-10 10:32:42 -06:00
Steve Loughran
e21cb8f96e
HADOOP-16785. Improve wasb and abfs resilience on double close() calls.
...
This hardens the wasb and abfs output streams' resilience to being invoked
in/after close().
wasb:
Explicity raise IOEs on operations invoked after close,
rather than implicitly raise NPEs.
This ensures that invocations which catch and swallow IOEs will perform as
expected.
abfs:
When rethrowing an IOException in the close() call, explicitly wrap it
with a new instance of the same subclass.
This is needed to handle failures in try-with-resources clauses, where
any exception in closed() is added as a suppressed exception to the one
thrown in the try {} clause
*and you cannot attach the same exception to itself*
Contributed by Steve Loughran.
Change-Id: Ic44b494ff5da332b47d6c198ceb67b965d34dd1b
2020-01-08 12:04:11 +00:00
Rakesh Radhakrishnan
a27f9bd28e
HDFS-14740. Recover data blocks from persistent memory read cache during datanode restarts. Contributed by Feilong He.
...
(cherry picked from commit d79cce20abbbf321f6dcce03f4087544124a7cd2)
2020-01-02 11:57:02 +05:30
Chandra Sanivarapu
8ec1461b25
HADOOP-16042. Update the link to HadoopJavaVersion ( #1784 )
...
(cherry picked from commit d80d86264d8e4b1a5cfc6fc12eec8f9dfcd76b3f)
2019-12-27 17:20:26 +09:00
Erik Krogen
3402c87353
HDFS-15032. Properly handle InvocationTargetExceptions in the proxy created by ProxyCombiner. This fixes a bug encountered by the HDFS balancer when used with Observer Nodes. Contributed by Erik Krogen.
...
(cherry picked from c174d50b30abc08a4642614fb35165e79792608b)
2019-12-11 09:40:36 -08:00
Mingliang Liu
8a60429e0b
HADOOP-16735. Make it clearer in config default that EnvironmentVariableCredentialsProvider supports AWS_SESSION_TOKEN. Contributed by Mingliang Liu
...
This closes #1733
2019-12-05 17:50:28 -08:00
Aravindan Vijayan
f0c1403ec3
HADOOP-16718. Allow disabling Server Name Indication (SNI) for Jetty. Contributed by Aravindan Vijayan.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Siyao Meng <smeng@cloudera.com>
(cherry picked from commit f1ab7f18c423a9cfc59292d25fa178e73715b85b)
2019-12-03 15:48:15 -08:00
Erik Krogen
c1ed247459
HADOOP-16700. Track response time separately in Server.Call to avoid negative RpcQueueTime values. Contributed by xuzq.
...
(cherry picked from be77231452baee2c3dd68f7c0991411cae2eea1b)
2019-12-03 14:01:16 -08:00
Sahil Takiar
c47d4d9c3f
HADOOP-16685: FileSystem#listStatusIterator does not check if given path exists ( #1695 )
...
(cherry picked from commit 3161813482868e42befb618d6f5687d8ffed0e5c)
2019-12-03 13:34:41 -08:00
Szilard Nemeth
3fc8930129
YARN-9011. Race condition during decommissioning. Contributed by Peter Bacsko
2019-11-26 14:26:58 +01:00
Ayush Saxena
bcca7120e0
HADOOP-16712. Config ha.failover-controller.active-standby-elector.zk.op.retries is not in core-default.xml. Contributed by Xieming Li.
2019-11-18 19:52:36 +05:30
Lukas Majercak
b914f385a0
HADOOP-16705. MBeanInfoBuilder puts unnecessary memory pressure on the system with a debug log.
...
MBeanInfoBuilder's get() method DEBUG logs all the MBeanAttributeInfo attributes that it gathered. This can have a high memory churn that can be easily avoided.
(cherry picked from commit c73334a924d2009d136a8ee62278aaac53418a24)
2019-11-15 13:30:11 -08:00
Akira Ajisaka
ea9c74d9c1
HADOOP-15097. AbstractContractDeleteTest::testDeleteNonEmptyDirRecursive with misleading path. Contributed by Xieming Li.
...
(cherry picked from commit 92c28c100ee1aa414948cd510321ad13cb8639bc)
2019-11-15 13:51:09 +09:00
Xudong Cao
975f669141
HADOOP-16677. Recalculate the remaining timeout millis correctly while throwing an InterupptedException in SocketIOWithTimeout. ( #1687 )
...
(cherry picked from commit df6b3162c11987ba5299c69cb251332228dacf36)
2019-11-12 14:21:50 -08:00
Siyao Meng
e0cf1735e1
HADOOP-16676. Backport HADOOP-16152 to branch-3.2. Contributed by Siyao Meng.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-11-12 11:38:42 -08:00
Chen Liang
431edfcbe4
HDFS-14941. Potential editlog race condition can cause corrupted file. Contributed by Chen Liang and Konstantin Shvachko.
2019-11-06 15:00:15 -08:00