Yiqun Lin
c63068be5f
HDFS-11696. Fix warnings from Spotbugs in hadoop-hdfs. Contributed by Yiqun Lin.
...
(cherry picked from commit 2e43c28e01
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
2020-07-10 15:16:51 +09:00
Eric Yang
e81002bcb1
SPNEGO TLS verification
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 81d8a887b0
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
2020-06-15 11:15:03 +09:00
Yiqun Lin
e6374f031a
HDFS-15264. Backport Datanode detection to branch-2.10. Contributed by Lisheng Sun.
2020-05-17 11:59:10 +08:00
Akira Ajisaka
14bd270ca0
Revert "SPNEGO TLS verification"
...
This reverts commit 28715b584a
.
2020-05-13 17:17:07 +09:00
Eric Yang
28715b584a
SPNEGO TLS verification
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ba66f3b454
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
2020-05-02 22:03:53 +09:00
Ayush Saxena
5854aa4ddc
HDFS-15197. [SBN read] Change ObserverRetryOnActiveException log to debug. Contributed by Chen Liang.
2020-03-15 16:32:29 +05:30
Masatake Iwasaki
40c755d809
HDFS-15077. Fix intermittent failure of TestDFSClientRetries#testLeaseRenewSocketTimeout.
2020-03-12 12:49:38 +09: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
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
1f3c11276e
HDFS-15161. When evictableMmapped or evictable size is zero, do not throw NoSuchElementException in ShortCircuitCache#close(). Contributed by Lisheng Sun
2020-02-12 20:34:54 +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
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
He Xiaoqiao
b91fda7f1d
HDFS-15050. Optimize log information when DFSInputStream meet CannotObtainBlockLengthException. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 99af49878cc47f5750b6c0edadc8a4c2fcd7a7c6)
(cherry picked from commit 8ba4e13dcc
)
(cherry picked from commit 974706c5fd
)
2019-12-12 03:25:28 -08:00
Xiao Chen
ba4de45e75
HDFS-13511. Provide specialized exception when block length cannot be obtained. Contributed by Gabor Bota.
...
(cherry picked from commit 774c1f199e
)
(cherry picked from commit 3b646a9836
)
2019-12-12 03:25:28 -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
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
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 5847e00143
)
(cherry picked from 6630c9b75d
)
(cherry picked from 9fdb849e03
)
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
Chen Liang
071d199774
HDFS-14785. [SBN read] Change client logging to be less aggressive. Contributed by Chen Liang.
2019-09-26 16:06:35 -07:00
Chen Liang
1ff68d0e47
HDFS-14611. Move handshake secret field from Token to BlockAccessToken. Contributed by Chen Liang
2019-09-03 17:18:41 -07:00
Chen Liang
163cb4d5ae
HDFS-13699. Add DFSClient sending handshake token to DataNode, and allow DataNode overwrite downstream QOP. Contributed by Chen Liang.
2019-09-03 17:11:29 -07:00
Chen Liang
e63619a6dd
HDFS-13617. Allow wrapping NN QOP into token in encrypted message. Contributed by Chen Liang
2019-09-03 17:11:29 -07:00
Chen Liang
a06e35a197
HDFS-13566. Add configurable additional RPC listener to NameNode. Contributed by Chen Liang.
2019-09-03 17:11:28 -07: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 da0006fe04
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java
(cherry picked from commit d7ca016d63
)
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
Chen Liang
097710131a
[SBN read] Addendum: Misc fix of issues, javadoc, whitespace unused backported fields etc
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
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
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
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
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
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
Erik Krogen
a7d551efd5
HDFS-13749. [SBN read] Use getServiceStatus to discover observer namenodes. Contributed by Chao Sun.
2019-08-09 15:49:56 -07:00
Chen Liang
bf9d8ba66b
HDFS-13880. Add mechanism to allow certain RPC calls to bypass sync. Contributed by Chen Liang.
2019-08-09 15:49:56 -07:00
Erik Krogen
7ccb2a48ff
HDFS-13779. [SBN read] Implement proper failover and observer failure handling logic for for ObserverReadProxyProvider. Contributed by Erik Krogen.
...
Also add a missing change from HDFS-13610
2019-08-09 15:49:56 -07:00
Konstantin V Shvachko
c09665d14a
HDFS-13782. ObserverReadProxyProvider should work with IPFailoverProxyProvider. Contributed by Konstantin Shvachko.
2019-08-09 15:49:56 -07:00
Konstantin V Shvachko
fcafa72958
HDFS-13851. Remove AlignmentContext from AbstractNNFailoverProxyProvider. Contributed by Konstantin Shvachko.
2019-08-09 15:49:56 -07:00