Ayush Saxena
9e34e6a6e8
HDFS-15164. Fix TestDelegationTokensWithHA. Contributed by Ayush Saxena.
2020-02-14 22:08:05 +05:30
Kihwal Lee
2861936228
HDFS-14758. Make lease hard limit configurable and reduce the default.
...
Contributed by hemanthboyina.
(cherry picked from commit 9b8a78d97bfd825ce840c6033371c7f10e49a5b8)
(cherry picked from commit f1840669cfc92c033521bf95989479523e2a649d)
(cherry picked from commit bf09bfa2db7c0790f72d6d7d357e0b80c9eff1f2)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/DfsClientConf.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/LeaseManager.java
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
2020-02-11 15:31:01 -06:00
Chen Liang
b97fdb7b4c
HDFS-15148. dfs.namenode.send.qop.enabled should not apply to primary NN port. Contributed by Chen Liang.
2020-02-04 12:59:31 -08:00
Kihwal Lee
fb8ee3228e
HDFS-12491. Support wildcard in CLASSPATH for libhdfs. Contributed by Muhammad Samir Khan.
...
(cherry picked from commit 10a60fbe20bb08cdd71076ea9bf2ebb3a2f6226e)
2020-02-04 12:38:05 -06:00
Wei-Chiu Chuang
1d0e2ba335
HDFS-15046. Backport HDFS-7060 to branch-2.10. Contributed by Lisheng Sun.
2020-01-31 16:16:31 -08:00
Inigo Goiri
9f7820e729
HDFS-13179. TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas fails intermittently. Contributed by Ahmed Hussein.
2020-01-31 11:37:07 -08:00
Chen Liang
29572686c4
HDFS-15118. [SBN Read] Slow clients when Observer reads are enabled but there are no Observers on the cluster. Contributed by Chen Liang
2020-01-29 12:44:12 -08:00
Kihwal Lee
d9198b2d1b
HDFS-15146. TestBalancerRPCDelay.testBalancerRPCDelay fails
...
intermittently. Contributed by Ahmed Hussein.
2020-01-29 11:07:50 -06:00
Kihwal Lee
0ead38b59a
HDFS-14968. Add ability to log stale datanodes. Contributed by Ahmed Hussein.
...
(cherry picked from commit bd03053ea2f32ef982e37fbf2ffd679cb7dda797)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/HeartbeatManager.java
(cherry picked from commit 484270832064c84122348e663aaf5927ed411ebb)
2020-01-22 09:30:41 -06:00
Kihwal Lee
c5d43b65a9
HDFS-15125. Pull back HDFS-11353, HDFS-13993, HDFS-13945, and HDFS-14324
...
to branch-2.10. Contributed by Jim Brennan.
2020-01-21 09:59:14 -06:00
Wei-Chiu Chuang
d5f7aa2285
HDFS-13339. Volume reference can't be released and may lead to deadlock when DataXceiver does a check volume. Contributed by Jim Brennan, Zsolt Venczel.
...
(cherry picked from commit c675719c3fb0fe5f6b0be624935fdf22bb228e0f)
2020-01-15 11:06:15 -08:00
Chen Liang
6deb6be252
HDFS-15099. [SBN Read] checkOperation(WRITE) should throw ObserverRetryOnActiveException for ObserverNode. Contributed by Chen Liang.
...
(cherry picked from commit 26a969ec734dbdbf1d544f486dfa33f15c291789)
2020-01-10 17:19:59 -08:00
Takanobu Asanuma
01a29f12c0
HDFS-14934. [SBN Read] Standby NN throws many InterruptedExceptions when dfs.ha.tail-edits.period is 0. Contributed by Ayush Saxena.
...
(cherry picked from commit dc32f583afffc372f78fb45211c3e7ce13f6a4be)
2019-12-28 22:24:28 +09:00
Konstantin V Shvachko
199c7cc62c
HDFS-15076. Fix tests that hold FSDirectory lock, without holding FSNamesystem lock. Contributed by Konstantin V Shvachko.
...
(cherry picked from commit b98ac2a3af50ccf2af07790ab0760d4c51820836)
2019-12-24 12:48:10 -08:00
Shashikant Banerjee
abbf2a4446
HDFS-15012. NN fails to parse Edit logs after applying HDFS-13101. Contributed by Shashikant Banerjee.
...
(cherry picked from commit fdd96e46d1f89f0ecdb9b1836dc7fca9fbb954fd)
2019-12-18 23:30:34 +05:30
Ayush Saxena
0927041589
HDFS-14519. NameQuota is not update after concat operation, so namequota is wrong. Contributed by Ranith Sardar.
2019-12-17 21:55:58 +05:30
Erik Krogen
a22698fa52
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)
(cherry picked from 3402c87353c18730cb659ac1d8b43b4e21c634f6)
(cherry picked from b06965ae32c4be2e6923a2f057290fbdbda5f38a)
2019-12-11 09:41:40 -08:00
Jonathan Hung
d74f64aa99
Setting version to 2.10.1-SNAPSHOT after branch-2 to branch-2.10 rename
2019-12-09 11:49:59 -08:00
Chao Sun
9a385e00a4
HDFS-15017. Remove redundant import of AtomicBoolean in NameNodeConnector. Contributed by Chao Sun.
2019-12-07 13:45:17 -08:00
Chao Sun
c6ce4011d7
HDFS-15005. Backport HDFS-12300 to branch-2. Contributed by Chao Sun.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-12-06 15:25:30 -08:00
Yiqun Lin
fc2cdb6cca
HDFS-14986. ReplicaCachingGetSpaceUsed throws ConcurrentModificationException. Contributed by Aiphago.
...
(cherry picked from commit 2b452b4e6063072b2bec491edd3f412eb7ac21f3)
2019-11-28 10:45:25 +08:00
Erik Krogen
403892264b
HDFS-14973. More strictly enforce Balancer/Mover/SPS throttling of getBlocks RPCs to NameNodes. Contributed by Erik Krogen.
...
(cherry picked from b2cc8b6b4a78f31cdd937dc4d1a2255f80c5881e)
(cherry picked from 60655bfe54e138957ef5bbf480a4541bd83152fd)
(cherry picked from 17779adb32569bd689a93802512003b6a6816bd4)
2019-11-26 16:46:38 -08:00
He Xiaoqiao
ae7469cb67
HDFS-14952. Skip safemode if blockTotal is 0 in new NN. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Mukul Kumar Singh <msingh@apache.org>
(cherry picked from commit 0b50aa29fd5dc114b3e0fc54b5c393bbc9f3102e)
(cherry picked from commit 1d383436f09f8e490171c8f6af4605971ad2f904)
(cherry picked from commit 7909c5df572a5cbc729ebc6c7c6e59f17803d50f)
2019-11-19 12:23:01 -08:00
Chen Liang
238781ab98
HDFS-14991. Backport better time precision of configuration#getTimeDuration to branch-2 to support SBN read. Contributed by Chen Liang.
2019-11-18 20:26:27 -08:00
Erik Krogen
792e2aecb3
HDFS-14979 Allow Balancer to submit getBlocks calls to Observer Nodes when possible. Contributed by Erik Krogen.
...
(cherry picked from 586defe7113ed246ed0275bb3833882a3d873d70)
(cherry picked from dec765b329d3947f30273c0e7f0c4eb607ec42c9)
(cherry picked from 5cf36aa2b19aad8677e1a7553ff1f05805f772b7)
2019-11-15 07:40:20 -08:00
Mukul Kumar Singh
594307fe21
HDFS-14884. Add sanity check that zone key equals feinfo key while setting Xattrs. Contributed by Yuval Degani, Mukul Kumar Singh.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: Yuval Degani <ydegani@linkedin.com>
2019-11-14 20:50:51 -08:00
Ayush Saxena
d1b91ede4c
HDFS-14958. TestBalancerWithNodeGroup is not using NetworkTopologyWithNodeGroup. Contributed by Jim Brennan.
2019-11-07 22:32:13 +05:30
Chen Liang
92c9b1de5b
HDFS-14806. Bootstrap standby may fail if with in-progress tailing. Contributed by Chen Liang and Erik Krogen.
2019-11-06 16:23:51 -08:00
Chen Liang
db887f66d8
HDFS-14941. Potential editlog race condition can cause corrupted file. Contributed by Chen Liang and Konstantin Shvachko.
2019-11-06 15:47:57 -08:00
Duo Zhang
e649b30b32
HADOOP-16598. Backport "HADOOP-16558 [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes" to all active branches
...
Reapply but this time with proper patch.
Signed-off-by: stack <stack@apache.org>
2019-11-01 09:22:23 -07:00
stack
e880347d53
Revert "HADOOP-16598. Backport "HADOOP-16558 [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes" to all active branches"
...
Wrong patch applied; missed jdk7 handling
This reverts commit a36dbe6f354b0318c944177833f4952a9136ef58.
2019-11-01 09:21:33 -07:00
Duo Zhang
a36dbe6f35
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 22:33:51 -07:00
Jonathan Hung
915b795358
Make upstream aware of 2.10.0 release
...
(cherry picked from commit 7663db59c097c82eeed2df7a91168a4d7123c96b)
(cherry picked from commit 5d2ffcc7aac608746946dc2ed5711549a01a2055)
(cherry picked from commit 4d274f60bc4bf2800477800ec58b2b2c6f4f656e)
2019-10-30 21:01:40 -07:00
Wei-Chiu Chuang
a805d80ebe
HDFS-13901. INode access time is ignored because of race between open and rename. Contributed by Jinglun.
2019-10-22 16:43:25 -07:00
Kihwal Lee
b634bd225b
HDFS-12749. DN may not send block report to NN after NN restart. Contributed by Xiaoqiao He.
...
(cherry picked from commit c4e27ef7735acd6f91b73d2ecb0227f8dd75a2e4)
2019-10-21 16:36:42 -05:00
Jonathan Hung
108127238b
Preparing for 2.11.0 development
2019-10-15 10:01:45 -07:00
Chen Liang
6566402a1b
HDFS-14509. DN throws InvalidToken due to inequality of password when upgrade NN 2.x to 3.x. Contributed by Yuxuan Wang and Konstantin Shvachko.
2019-10-10 13:29:30 -07:00
Erik Krogen
200c52f78b
HDFS-14245. [SBN read] Enable ObserverReadProxyProvider to work with non-ClientProtocol proxy types. Contributed by Erik Krogen.
...
(cherry picked from 5847e0014343f60f853cb796781ca1fa03a72efd)
(cherry picked from 6630c9b75d65deefb5550e355eef7783909a57bc)
(cherry picked from 9fdb849e034573bb44abd593eefa1e13a3261376)
2019-10-10 09:09:50 -07:00
Erik Krogen
8337d1a489
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.
2019-10-10 09:07:18 -07:00
Ayush Saxena
ca777db3ca
HDFS-14655. [SBN Read] Namenode crashes if one of The JN is down. Contributed by Ayush Saxena.
2019-10-08 13:30:30 +05:30
Shweta Yakkali
56e2ad2dce
HDFS-14262. [SBN read] Make Log.WARN message in GlobalStateIdContext more informative. Contributed by Shweta Yakkali.
2019-10-03 16:43:27 -07:00
Ayush Saxena
a3b9b955be
HDFS-14660. [SBN Read] ObserverNameNode should throw StandbyException for requests not from ObserverProxyProvider. Contributed by Chao Sun.
2019-10-03 16:36:50 -07:00
Shweta Yakkali
c87b1f6f5b
HDFS-14494. Move Server logging of StatedId inside receiveRequestState(). Contributed by Shweta Yakkali.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-10-03 16:25:31 -07:00
Chen Liang
72b37e8833
HDFS-12979. StandbyNode should upload FsImage to ObserverNode after checkpointing. Contributed by Chen Liang.
2019-10-03 12:23:25 -07:00
Chen Liang
ed8f1ae602
HDFS-14858. [SBN read] Allow configurably enable/disable AlignmentContext on NameNode. Contributed by Chen Liang.
2019-10-02 16:51:59 -07:00
Konstantin V Shvachko
dc2b838a8e
HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by Konstantin V Shvachko.
2019-09-30 18:04:16 -07:00
Masatake Iwasaki
9482da7053
HADOOP-16544. update io.netty in branch-2.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-10-01 05:24:32 +09:00
Ayush Saxena
66e60942e9
HDFS-14853. Addendum: NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar.
2019-09-28 09:14:50 +05:30
Ayush Saxena
40becd37d0
HDFS-14853. NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar.
2019-09-28 08:30:55 +05:30
Chen Liang
dc72b2e65a
HDFS-14822. [SBN read] Revisit GlobalStateIdContext locking when getting server state id. Contributed by Chen Liang.
2019-09-18 17:22:49 -07:00