Masatake Iwasaki
00b313d6ff
HDFS-15048. Fix findbug in DirectoryScanner. Contributed by Sean Chow.
2020-04-13 16:00:50 +09:00
Masatake Iwasaki
01ed6832f4
HDFS-14476. lock too long when fix inconsistent blocks between disk and in-memory. Contributed by Sean Chow.
2020-04-13 16:00:50 +09:00
Inigo Goiri
4069d5d438
HDFS-11396. TestNameNodeMetadataConsistency#testGenerationStampInFuture timed out. Contributed by Ayush Saxena
2020-03-13 15:39:25 -07:00
Masatake Iwasaki
40c755d809
HDFS-15077. Fix intermittent failure of TestDFSClientRetries#testLeaseRenewSocketTimeout.
2020-03-12 12:49:38 +09:00
Inigo Goiri
d547630804
HDFS-15204. TestRetryCacheWithHA testRemoveCacheDescriptor fails intermittently. Contributed by Ahmed Hussein.
2020-03-04 10:07:08 -08:00
Wei-Chiu Chuang
024c33384b
Revert "HDFS-15111. stopStandbyServices() should log which service state it is transitioning from. Contributed by Xieming Li."
...
This reverts commit cb6b6b4320
.
2020-03-02 15:43:13 -08:00
Ayush Saxena
cb6b6b4320
HDFS-15111. stopStandbyServices() should log which service state it is transitioning from. Contributed by Xieming Li.
...
(cherry picked from commit b182dd809c
)
(cherry picked from commit 7bfa123d58
)
2020-03-02 15:39:21 -08:00
Kihwal Lee
232e9f8ee1
HDFS-15147. LazyPersistTestCase wait logic is error-prone. Contributed
...
by Ahmed Hussein.
2020-02-27 09:58:44 -06:00
Ayush Saxena
a5c3620bc2
HDFS-15166. Remove redundant field fStream in ByteStringLog. Contributed by Xieming Li.
2020-02-24 20:18:10 +05:30
Konstantin V Shvachko
9c2c14f36d
HDFS-15185. StartupProgress reports edits segments until the entire startup completes. Contributed by Konstantin V Shvachko.
...
(cherry picked from commit 6f84269bcd
)
2020-02-21 11:02:04 -08:00
Masatake Iwasaki
3fc1c44974
HDFS-15052. WebHDFS getTrashRoot leads to OOM due to FileSystem object creation. ( #1758 )
...
(cherry picked from commit 2338d25dc7
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
(cherry picked from commit 610805ec72
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSUtilClient.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/TestWebHDFS.java
2020-02-21 14:27:26 +09:00
Ayush Saxena
ce06503599
HDFS-15115. Namenode crash caused by NPE in BlockPlacementPolicyDefault when dynamically change logger to debug. Contributed by wangzhixiang
2020-02-19 20:56:08 +05:30
Hanisha Koneru
73ab4a42a6
HDFS-10659. Namenode crashes after Journalnode re-installation in an HA cluster due to missing paxos directory. Contributed by star, Hanisha Koneru.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 7217494f40
)
2020-02-19 18:33:10 +09:00
Kihwal Lee
38e97c2061
HDFS-12459. Fix revert: Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API. Contributed by Weiwei Yang.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 3ead525c71
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
2020-02-17 15:49:48 -06:00
Kihwal Lee
e847768c3f
Revert "HDFS-11156. Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API. Contributed by Weiwei Yang."
...
This reverts commit d4ca1c5226
.
-JsonUtil not reverted. A later commit in httpfs uses the new methods.
-jackson databind was introduced in pom.xml. This is not reverted as
later changes are using it.
2020-02-17 15:06:00 -06:00
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 9b8a78d97b
)
(cherry picked from commit f1840669cf
)
(cherry picked from commit bf09bfa2db
)
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 10a60fbe20
)
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 bd03053ea2
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/HeartbeatManager.java
(cherry picked from commit 4842708320
)
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 c675719c3f
)
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 26a969ec73
)
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 dc32f583af
)
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 b98ac2a3af
)
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 fdd96e46d1
)
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 c174d50b30
)
(cherry picked from 3402c87353
)
(cherry picked from b06965ae32
)
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 2b452b4e60
)
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 b2cc8b6b4a
)
(cherry picked from 60655bfe54
)
(cherry picked from 17779adb32
)
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 0b50aa29fd
)
(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 586defe711
)
(cherry picked from dec765b329
)
(cherry picked from 5cf36aa2b1
)
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 a36dbe6f35
.
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 5d2ffcc7aa
)
(cherry picked from commit 4d274f60bc
)
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 c4e27ef773
)
2019-10-21 16:36:42 -05:00