Da Zhou
e5bb8498df
HADOOP-16242. ABFS: add bufferpool to AbfsOutputStream.
...
Contributed by Da Zhou.
2019-08-28 22:42:28 +00:00
Eric E Payne
8e8c16dbc6
YARN-9756: Create metric that sums total memory/vcores preempted per round. Contributed by Manikandan R (manirajv06).
...
(cherry picked from commit d562050cec83a2bc2ffb6d109ed3d64b394b870d)
2019-08-28 21:26:03 +00:00
Jonathan Hung
b6be5f869a
YARN-9438. launchTime not written to state store for running applications
...
(cherry picked from commit 9568656cd21d9c02168e18ce35c6726077bbf3a1)
(cherry picked from commit 0c498de6e87c6bdc959afa31deb03d0907e0e1a1)
(cherry picked from commit f73842780e3e5daff2db4d30771a194f3bc47d6d)
2019-08-27 15:49:58 -07:00
Jonathan Hung
f083f7fef1
YARN-9775. RMWebServices /scheduler-conf GET returns all hadoop configurations for ZKConfigurationStore. Contributed by Prabhu Joseph
...
(cherry picked from commit 8660e48ca15098e891c560beb3181c22ef3f80ff)
(cherry picked from commit e4249c320257586384035ea3fc286fe54cc699a1)
(cherry picked from commit 6baa0d1e4d78c15833257d98bdd2b38806faed9f)
2019-08-26 16:05:25 -07:00
Chen Liang
e786147096
HDFS-13977. NameNode can kill itself if it tries to send too many txns to a QJM simultaneously. Contributed by Erik Krogen.
2019-08-26 14:32:27 -07:00
Weiwei Yang
97f207d1a9
YARN-8025. UsersManangers#getComputedResourceLimitForActiveUsers throws NPE due to preComputedActiveUserLimit is empty. Contributed by Tao Yang.
...
(Cherry picked from commit 67f239c42f676237290d18ddbbc9aec369267692)
(cherry picked from commit a0b7abf278c147d3ae7821c6783a85cb972c6ec2)
2019-08-23 09:59:47 -07:00
Akira Ajisaka
786df37429
HADOOP-16494. Add SHA-512 checksum to release artifact to comply with the release distribution policy.
...
This closes #1243
(cherry picked from commit 34dd9ee36674be670013d4fc3d9b8f5b36886812)
2019-08-22 11:04:05 +09:00
Wei-Chiu Chuang
69b80f1ee8
Revert "HDFS-14476. lock too long when fix inconsistent blocks between disk and in-memory. Contributed by Sean Chow."
...
This reverts commit 8755de108d0e711cbfa784a20bd89e28fe79266b.
2019-08-21 09:04:07 -07:00
Wei-Chiu Chuang
bdab03cf71
HDFS-14311. Multi-threading conflict at layoutVersion when loading block pool storage. Contributed by Yicong Cai.
2019-08-20 10:38:52 -07:00
Shashikant Banerjee
ab7509efe7
HDFS-13101. Yet another fsimage corruption related to snapshot. Contributed by Shashikant Banerjee.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-08-18 19:01:12 -07:00
Wei-Chiu Chuang
8755de108d
HDFS-14476. lock too long when fix inconsistent blocks between disk and in-memory. Contributed by Sean Chow.
2019-08-18 17:51:44 -07:00
He Xiaoqiao
b020c5ccfd
HDFS-14725. Backport HDFS-12914 to branch-2 (Block report leases cause missing blocks until next report). Contributed by He Xiaoqiao.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-08-16 17:53:45 -07:00
Masatake Iwasaki
61bd868e80
HDFS-14707. Add JAVA_LIBRARY_PATH to HTTPFS startup options in branch-2.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-08-15 11:21:17 +09:00
Masatake Iwasaki
670de354b3
HDFS-14423. Percent (%) and plus (+) characters no longer work in WebHDFS.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit da0006fe0473e353ee2d489156248a01aa982dfd)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java
(cherry picked from commit d7ca016d63d89e5c8377a035f93485a7c77c3430)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java
2019-08-14 12:35:14 +09:00
Christopher Gregorian
99cd181a78
HADOOP-16459. Backport of HADOOP-16266. Add more fine-grained processing time metrics to the RPC layer. Contributed by Christopher Gregorian.
...
This commit also includes the follow-on commit 827a84778a4e3b8f165806dfd2966f0951a5e575.
(cherry-picked from f96a2df38d889f29314c57f4d94227b2e419a11f)
(cherry-picked from d4492bdd9edec60c236aff85de50b963097e5a7f)
(cherry-picked from 7b8f08f59e5c8906930ccc67b967b7cfcbd41768)
(cherry picked from ec00431eaaa25eff5bb5e0cafb52de685187a159)
2019-08-13 14:28:18 -07:00
Eric Badger
afa9a4084d
YARN-9442. container working directory has group read permissions. Contributed by Jim Brennan.
...
(cherry picked from commit 2ac029b949f041da2ee04da441c5f9f85e1f2c64)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/test-container-executor.c
(cherry picked from commit cec71691be76577718b22f936aea9e2b2cd100ea)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c
(cherry picked from commit db88224e8f9d164ac811fcca9efe4a350cebecd1)
2019-08-13 17:27:43 +00:00
Erik Krogen
719214ff30
HDFS-14370. Add exponential backoff to the edit log tailer to avoid spinning on empty edit tail requests. Contributed by Erik Krogen.
...
(cherry picked from 827dbb11e24be294b40088a8aa46086ba8ca4ba8)
(cherry picked from 016aa139406d1a151fbec3fb8912eb08e0f638d7)
(cherry picked from f6ce2f4a50898b16556089fe18a6717a15570d85)
(cherry picked from 5657e45fb2b904bb31a4e3b70a360477ba288c15)
2019-08-13 08:30:33 -07:00
Chen Liang
885b7f4c98
Fix JDK7 compatibility in branch-2.
2019-08-12 17:42:01 -07:00
Chen Liang
0d153dcb8c
HDFS-13898 Addendum: add a missing test helper method
2019-08-12 10:31:37 -07:00
Wei-Chiu Chuang
585b6de637
Revert "HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao."
...
This reverts commit 567e1178d88ccfc258ce2ade4f8af66cc5a4daa7.
2019-08-09 18:29:00 -07:00
Chen Liang
097710131a
[SBN read] Addendum: Misc fix of issues, javadoc, whitespace unused backported fields etc
2019-08-09 15:49:58 -07:00
Wei-Chiu Chuang
12dc7ff566
HDFS-12836. startTxId could be greater than endTxId when tailing in-progress edit log. Contributed by Chao Sun.
2019-08-09 15:49:58 -07:00
Wei-Chiu Chuang
9599c91518
HDFS-14537. Journaled Edits Cache is not cleared when formatting the JN. Contributed by Ranith Sardar.
2019-08-09 15:49:58 -07:00
Erik Krogen
2fe15053ab
HDFS-14279. [SBN read] Fix race condition in ObserverReadProxyProvider. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
c377540704
HDFS-14435. [SBN Read] Enable ObserverReadProxyProvider to gracefully handle StandbyException when fetching HAServiceState. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
5190fd64be
HDFS-14211. [SBN Read]. Add a configurable flag to enable always-msync mode to ObserverReadProxyProvider. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
c055e7812c
HDFS-14272. [SBN read] Make ObserverReadProxyProvider initialize its state ID against the active NN on startup. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
3b2b97a6e6
HDFS-14317. Ensure checkpoints are created when in-progress edit log tailing is enabled with a period shorter than the log roll period. Contributed by Ekanth Sethuramalingam.
...
(cherry-picked from commit 1bc282e0b3f74968c92751f0972746b012e72810)
(cherry-picked from commit 6d076dd5e8be8fee5062a04d4cd2aa0c5da0ea56)
2019-08-09 15:49:58 -07:00
Erik Krogen
a0327f58cb
HDFS-14250. [SBN read]. msync should always direct to active NameNode to get latest stateID. Contributed by Chao Sun.
2019-08-09 15:49:58 -07:00
Chen Liang
b247a8b0de
[SBN read] Addendum: Misc fix to be Java 7 compatible
2019-08-09 15:49:58 -07:00
Konstantin V Shvachko
3804b8e7be
HDFS-14170. [SBN read] Fix checkstyle warnings related to SBN reads. Contributed by Konstantin V Shvachko.
2019-08-09 15:49:57 -07:00
Chao Sun
8cf1c0b91b
HDFS-14154. [SBN read] Document dfs.ha.tail-edits.period in user guide. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
3ec2ff756d
HDFS-14160. [SBN read] ObserverReadInvocationHandler should implement RpcInvocationHandler. Contributed by Konstantin V Shvachko.
2019-08-09 15:49:57 -07:00
Chao Sun
41e85ccf44
HDFS-14149. [SBN read] Fix annotations on new interfaces/classes for SBN reads. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chao Sun
705e1c8d96
HDFS-14116. [SBN read] Fix class cast error in NNThroughputBenchmark with ObserverReadProxyProvider. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Erik Krogen
7b1a3b5619
HDFS-14146. [SBN read] Handle exceptions from and prevent handler threads from blocking within internalQueueCall. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chen Liang
49bdc53b66
HDFS-14138. [SBN read] Description errors in the comparison logic of transaction ID. Contributed by xiangheng.
2019-08-09 15:49:57 -07:00
Erik Krogen
a86d955aa7
HDFS-13873. [SBN read] ObserverNode should reject read requests when it is too far behind. Contributed by Konstantin Shvachko.
2019-08-09 15:49:57 -07:00
Chen Liang
68da1e48f9
HDFS-14142. Move ipfailover config key out of HdfsClientConfigKeys. Contributed by Chen Liang.
2019-08-09 15:49:57 -07:00
Erik Krogen
0705e83bdb
HDFS-14131. [SBN read] Create user guide for Consistent Reads from Observer feature. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chen Liang
3c73819a63
HDFS-14120. [SBN read] ORFPP should also clone DT for the virtual IP. Contributed by Chen Liang.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
3518767ce7
HDFS-14094. [SBN read] Fix the order of logging arguments in ObserverReadProxyProvider. Contributed by Ayush Saxena.
2019-08-09 15:49:57 -07:00
Chao Sun
52d066a9d3
HDFS-14067. [SBN read] Allow manual failover between standby and observer. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chen Liang
c6267bb5ba
HDFS-14017. [SBN read] ObserverReadProxyProviderWithIPFailover should work with HA configuration. Contributed by Chen Liang.
2019-08-09 15:49:57 -07:00
Chen Liang
17fac44040
HDFS-14035. NN status discovery does not leverage delegation token. Contributed by Chen Liang.
2019-08-09 15:49:57 -07:00
Chao Sun
697207c487
HDFS-14016. [SBN read] ObserverReadProxyProvider should enable observer read by default. Contributed by Chen Liang.
2019-08-09 15:49:57 -07:00
Chao Sun
40d5cc15b2
HDFS-13924. [SBN read] Handle BlockMissingException when reading from observer. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
37dfd294e2
HDFS-13925. Unit Test for transitioning between different states. Contributed by Sherwood Zheng.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
63cf9801e8
HDFS-13523. Support observer nodes in MiniDFSCluster. Contributed by Konstantin Shvachko.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
ae559db6fd
HDFS-13961. [SBN read] TestObserverNode refactoring. Contributed by Konstantin Shvachko.
2019-08-09 15:49:57 -07:00