sunlisheng
c36fbcbf17
Remove WARN log when ipc connection interrupted in Client#handleSaslConnectionFailure()
...
Signed-off-by: sunlisheng <sunlisheng@xiaomi.com>
(cherry picked from commit d887e49dd4
)
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
Wei-Chiu Chuang
aa3c96474f
HDFS-15097. Purge log in KMS and HttpFS. Contributed by Doris Gu.
...
(cherry picked from commit 6b86a5110e
)
2020-01-13 10:49:26 -08:00
Chen Liang
1ee90d6731
HDFS-15099. [SBN Read] checkOperation(WRITE) should throw ObserverRetryOnActiveException for ObserverNode. Contributed by Chen Liang.
...
(cherry picked from commit 26a969ec73
)
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 c4fb43c942
)
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 d79cce20ab
)
2020-01-02 11:57:02 +05:30
Chandra Sanivarapu
8ec1461b25
HADOOP-16042. Update the link to HadoopJavaVersion ( #1784 )
...
(cherry picked from commit d80d86264d
)
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 c174d50b30
)
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 f1ab7f18c4
)
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 be77231452
)
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 3161813482
)
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
Wei-Chiu Chuang
bd2f79cfd8
HADOOP-15686. Supress bogus AbstractWadlGeneratorGrammarGenerator in KMS stderr. Contributed by Wei-Chiu Chuang.
...
Reviewed-by: Xiaoyu Yao <xyao@apache.org>
(cherry picked from commit 9664b9c7a6
)
2019-11-20 13:08:40 -08: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 c73334a924
)
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 92c28c100e
)
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 df6b3162c1
)
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
Chen Liang
a58f466d07
HADOOP-16013. DecayRpcScheduler decay thread should run as a daemon. Contributed by Erik Krogen.
...
(cherry picked from commit 01cb958af4
)
2019-11-04 17:18:27 -08:00
Jonathan Hung
9ccfc2d6d3
Add 2.10.0 release notes for HDFS-12943
...
(cherry picked from commit ef9d12df24
)
2019-10-31 20:34:36 -07:00
Jonathan Hung
5d2ffcc7aa
Make upstream aware of 2.10.0 release
...
(cherry picked from commit 7663db59c097c82eeed2df7a91168a4d7123c96b)
2019-10-30 20:59:20 -07:00
Duo Zhang
a37a4bc62f
HADOOP-16598. Backport "HADOOP-16558 [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes" to all active branches
...
Signed-off-by: stack <stack@apache.org>
2019-10-30 20:26:54 -07:00
Steve Loughran
1932499eaf
HADOOP-16669. TestRawLocalFileSystemContract.testPermission fails if no native library.
...
Contributed by Steve Loughran.
Change-Id: I622e36f17a63c775c5e33e93b8b26e461d0bc451
2019-10-29 17:10:46 +00:00
Rakesh Radhakrishnan
a6cdcf676e
HDFS-14818. Check native pmdk lib by 'hadoop checknative' command. Contributed by Feilong He.
...
(cherry picked from commit 659c88801d
)
2019-10-28 10:41:40 +05:30
Sammi Chen
6eb5fb596f
HDFS-14356. Implement HDFS cache on SCM with native PMDK libs. Contributed by Feilong He.
...
(cherry picked from commit d1aad44490
)
2019-10-28 10:40:46 +05:30
Fei Hui
54d3e212bf
HDFS-14923. Remove dead code from HealthMonitor. Contributed by Fei Hui.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 7be5508d9b
)
2019-10-25 15:06:46 -07:00
Ayush Saxena
ae4b1325d1
HADOOP-16662. Remove unnecessary InnerNode check in NetworkTopology#add(). Contributed by Lisheng Sun.
2019-10-20 11:55:43 +05:30
Szilard Nemeth
0bbd48c7a8
HADOOP-16580. Disable retry of FailoverOnNetworkExceptionRetry in case of AccessControlException. Contributed by Adam Antal
...
(cherry picked from commit c79a5f2d99
)
2019-10-16 14:11:30 +02:00
Akira Ajisaka
eb4bd54938
YARN-7243. Moving logging APIs over to slf4j in hadoop-yarn-server-resourcemanager. ( #1634 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit e40e2d6ad5
)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmnode/RMNodeImpl.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/AbstractYarnScheduler.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/volume/csi/VolumeManagerImpl.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/volume/csi/lifecycle/VolumeImpl.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/ApplicationMasterServiceTestBase.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestApplicationMasterLauncher.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestApplicationMasterServiceInterceptor.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestResourceManager.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/TestRMAppTransitions.java
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairSchedulerConfiguration.java
2019-10-10 15:27:54 +09:00
Jonathan Hung
ad3c98456d
YARN-9760. Support configuring application priorities on a workflow level. Contributed by Varun Saxena
...
(cherry picked from commit eebd313d76ed742fe82292bd8c0184970cdc5692)
2019-10-08 11:17:05 -07:00
Szilard Nemeth
9b4aba49d1
YARN-6715. Fix documentation about NodeHealthScriptRunner. Contributed by Peter Bacsko
2019-10-08 17:41:46 +02:00
Erik Krogen
69b0c513a9
HDFS-14162. [SBN read] Allow Balancer to work with Observer node. Add a new ProxyCombiner allowing for multiple related protocols to be combined. Allow AlignmentContext to be passed in NameNodeProxyFactory. Contributed by Erik Krogen.
...
(cherry picked from 64f28f9efa
)
2019-10-04 10:48:33 -07:00
Tsz Wo Nicholas Sze
8acd9ab695
HADOOP-16127. In ipc.Client, put a new connection could happen after stop.
...
(cherry picked from commit 9192f71e21
)
2019-10-03 18:28:21 -07:00
Wei-Chiu Chuang
6facb3f7c6
HADOOP-12282. Connection thread's name should be updated after address changing is detected. Contributed by Lisheng Sun.
...
(cherry picked from commit b94eba9f11
)
2019-10-03 17:30:08 -07:00
Tsz Wo Nicholas Sze
824f717882
HADOOP-16126. ipc.Client.stop() may sleep too long to wait for all connections.
...
(cherry picked from commit 0edb0c51dc
)
2019-10-02 16:32:53 -07:00
Wei-Chiu Chuang
28c11ff154
HDFS-14523. Remove excess read lock for NetworkToplogy. Contributed by Wu Weiwei.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Chen Liang <cliang@apache.org>
(cherry picked from commit 971a4c8e83
)
2019-10-02 16:27:07 -07:00
Inigo Goiri
d2a7a128d9
HADOOP-16161. NetworkTopology#getWeightUsingNetworkLocation return unexpected result. Contributed by He Xiaoqiao.
...
(cherry picked from commit 389e640f0c
)
2019-10-01 17:33:14 -07:00
Yiqun Lin
c74027d9d3
HDFS-14313. Get hdfs used space from FsDatasetImpl#volumeMap#ReplicaInfo in memory instead of df/du. Contributed by Lisheng Sun.
...
(cherry picked from commit a5bb1e8ee8
)
Conflicts:
hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
2019-10-01 17:14:46 -07:00
Surendra Singh Lilhore
a131611b4b
HDFS-14175. EC: Native XOR decoder should reset the output buffer before using it. Contributed by Ayush Saxena.
...
(cherry picked from commit dacc1a759e
)
2019-10-01 09:47:18 -07:00
Wei-Chiu Chuang
ab3fb28d47
HADOOP-15418. Hadoop KMSAuthenticationFilter needs to use getPropsByPrefix instead of iterator to avoid ConcurrentModificationException. Contributed by lqjack and Suma Shivaprasad
...
(cherry picked from commit cd2158456d
)
2019-10-01 09:02:48 -07:00
Kihwal Lee
ca18ae3bc1
HADOOP-15909. KeyProvider class should implement Closeable. Contributed
...
by Kuhu Shukla.
(cherry picked from commit 33c009a45d
)
2019-10-01 08:53:55 -07:00
Erik Krogen
f5fb7d8c18
HADOOP-16531. Log more timing information for slow RPCs. Contributed by Chen Zhang.
...
(cherry picked from commit a23417533e
)
2019-09-30 17:35:45 -07:00
Wei-Chiu Chuang
46e72775f5
HADOOP-15865. ConcurrentModificationException in Configuration.overlay() method. Contributed by Oleksandr Shevchenko.
...
(cherry picked from commit e872ceb810
)
2019-09-30 17:25:02 -07:00
Zsombor Gegesy
f42c8a44ae
HADOOP-15014. Addendum: KMS should log the IP address of the clients. Contributed by Zsombor Gegesy.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit b0131bc265
)
2019-09-30 17:16:10 -07:00
Zsombor Gegesy
85aff9facc
HADOOP-15014. KMS should log the IP address of the clients. Contributed by Zsombor Gegesy.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 008766c119
)
2019-09-30 17:16:05 -07:00
Gopal V
79359e2091
HADOOP-16461. Regression: FileSystem cache lock parses XML within the lock.
...
Contributed by Gopal V.
Change-Id: If6654f850e9c24ee0d9519a46fd6269b18e1a7a4
(cherry picked from commit aebac6d2d2
)
2019-09-30 17:05:29 -07:00