Stephen O'Donnell
63b18d764a
HDFS-14706. Checksums are not checked if block meta file is less than 7 bytes. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 915cbc91c0a12cc7b4d3ef4ea951941defbbcb33)
(cherry picked from commit 2c7f49743fba587e32398c81412db9eac426cf98)
2019-09-02 09:58:48 -07:00
Chen Liang
0839cf1d4e
HDFS-14611. Move handshake secret field from Token to BlockAccessToken. Contributed by Chen Liang.
2019-08-23 10:11:22 -07:00
Chen Liang
ef9b0a1d9a
HDFS-13699. Add DFSClient sending handshake token to DataNode, and allow DataNode overwrite downstream QOP. Contributed by Chen Liang.
2019-08-23 10:11:22 -07:00
Chen Liang
3135cc35e3
HDFS-13617. Allow wrapping NN QOP into token in encrypted message. Contributed by Chen Liang
2019-08-23 10:11:22 -07:00
Chen Liang
3835a6c4e8
HDFS-13566. Add configurable additional RPC listener to NameNode. Contributed by Chen Liang.
2019-08-23 10:11:22 -07:00
Chen Liang
14265b8f03
HDFS-13547. Add ingress port based sasl resolver. Contributed by Chen Liang.
2019-08-23 10:11:22 -07:00
David Mollitor
0b7f9a09c2
HADOOP-15246. SpanReceiverInfo - Prefer ArrayList over LinkedList. Contributed by David Mollitor.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 901652e26321832ac42ce54daa18ebc1813772b5)
(cherry picked from commit 1b30b3fbe7b5e130778c79465ac7986772a83ab8)
2019-08-18 18:44:02 -07:00
Christopher Gregorian
96ea7f0562
HDFS-14403. Cost-based extension to the RPC Fair Call Queue. Contributed by Christopher Gregorian.
...
(cherry picked from 129576f628d370def74e56112aba3a93e97bbf70)
(cherry picked from e4b650f91e7353f98fee2a725490ca45aa81e1a4)
2019-08-14 13:37:01 -07:00
Masatake Iwasaki
e66ad19395
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)
2019-08-14 09:07:00 +09:00
Wei-Chiu Chuang
8501bed9cb
HADOOP-15681. AuthenticationFilter should generate valid date format for Set-Cookie header regardless of default Locale. Contributed by Cao Manh Dat.
...
(cherry picked from commit e20b19543ba148cf0242884a3e553ad2f39421b3)
(cherry picked from commit 490b18fd4f35a19dc2dd48249cb38a96dbf2f85c)
2019-08-01 17:36:59 -07:00
He Xiaoqiao
5d35393912
HDFS-13529. Fix default trash policy emptier trigger time correctly. Contributed by He Xiaoqiao.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit f86de6f76a3079c2655df9b242fc968edfb17b9d)
(cherry picked from commit 555b56c0421be84efd09221db2b3f26c8b44ed45)
2019-08-01 14:56:17 -07:00
Christopher Gregorian
7b8f08f59e
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)
2019-07-30 14:45:00 -07:00
Akira Ajisaka
4662b13b26
HADOOP-16435. RpcMetrics should not retained forever. Contributed by Zoltan Haindrich.
...
(cherry picked from commit cbfa3f3e988b8a3f142abadfe4f18201b6438ac9)
2019-07-29 17:39:42 -07:00
Erik Krogen
4d21310865
HADOOP-16245. Restrict the effect of LdapGroupsMapping SSL configurations to avoid interfering with other SSL connections. Contributed by Erik Krogen.
...
(cherry-picked from 62efb6300619670d3e0554c3ba14c264fa0c705b)
(cherry-picked from 5ec34bf43adb498797afd24bb02989d4fec25409)
2019-07-29 14:00:24 -07:00
Steve Loughran
1b7c7dc860
HADOOP-9844. NPE when trying to create an error message response of SASL RPC
...
This closes #55
Change-Id: I10a20380565fa89762f4aa564b2f1c83b9aeecdc
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 07530314c2130ecd1525682c59bf51f15b82c024)
2019-07-26 17:55:00 +09:00
Gopal V
2c4d8c343e
HADOOP-16341. ShutDownHookManager: Regressed performance on Hook removals after HADOOP-15679
...
Contributed by Gopal V and Atilla Magyar.
Change-Id: I066d5eece332a1673594de0f9b484443f95530ec
(cherry picked from commit 76d2cd228336dde207e47c9a659ce48bcb9b4e8f)
2019-07-17 17:13:03 +01:00
Konstantin V Shvachko
321e26ced1
HDFS-14170. [SBN read] Fix checkstyle warnings related to SBN reads. Contributed by Konstantin V Shvachko.
2019-07-12 12:24:43 -07:00
Chao Sun
8f36bdc3b9
HDFS-14149. [SBN read] Fix annotations on new interfaces/classes for SBN reads. Contributed by Chao Sun.
2019-07-12 12:24:41 -07:00
Erik Krogen
6c1bf61628
HDFS-14146. [SBN read] Handle exceptions from and prevent handler threads from blocking within internalQueueCall. Contributed by Chao Sun.
2019-07-12 12:24:40 -07:00
Chen Liang
c23755a792
HDFS-14138. [SBN read] Description errors in the comparison logic of transaction ID. Contributed by xiangheng.
2019-07-12 12:24:40 -07:00
Erik Krogen
67c4768825
HDFS-13873. [SBN read] ObserverNode should reject read requests when it is too far behind. Contributed by Konstantin Shvachko.
2019-07-12 12:24:36 -07:00
Chao Sun
c4d944aeb3
HDFS-14067. [SBN read] Allow manual failover between standby and observer. Contributed by Chao Sun.
2019-07-12 12:23:16 -07:00
Chao Sun
8100dcbb34
HDFS-13924. [SBN read] Handle BlockMissingException when reading from observer. Contributed by Chao Sun.
2019-07-12 12:11:18 -07:00
Chen Liang
91803c8216
HDFS-13791. Limit logging frequency of edit tail related statements. Contributed by Erik Krogen.
2019-07-12 11:50:51 -07:00
Chen Liang
8ec17f6aea
HDFS-13880. Add mechanism to allow certain RPC calls to bypass sync. Contributed by Chen Liang.
2019-07-12 11:50:03 -07:00
Chen Liang
ee9977cc69
HDFS-13767. Add msync server implementation. Contributed by Chen Liang.
2019-07-12 11:50:01 -07:00
Plamen Jeliazkov
cfb4399b36
HDFS-13665. [SBN read] Move RPC response serialization into Server.doResponse(). Contributed by Plamen Jeliazkov.
2019-07-12 11:05:08 -07:00
Chao Sun
9840dae72f
HDFS-12976. [SBN read] Introduce ObserverReadProxyProvider. Contributed by Chao Sun.
2019-07-12 11:05:07 -07:00
Erik Krogen
abb8614dcf
HDFS-13608. [SBN read] Edit Tail Fast Path Part 2: Add ability for JournalNode to serve edits via RPC. Contributed by Erik Krogen.
2019-07-12 11:04:24 -07:00
Plamen Jeliazkov
7d0c3ba700
HDFS-13399. [SBN read] Make Client field AlignmentContext non-static. Contributed by Plamen Jeliazkov.
2019-07-12 11:03:31 -07:00
Erik Krogen
07a6510e6a
HDFS-13286. [SBN read] Add haadmin commands to transition between standby and observer. Contributed by Chao Sun.
2019-07-12 11:03:31 -07:00
Erik Krogen
b999e96c9a
HDFS-13331. [SBN read] Add lastSeenStateId to RpcRequestHeader. Contributed by Plamen Jeliazkov.
2019-07-12 11:03:30 -07:00
Plamen Jeliazkov
21a886a4ef
HDFS-12977. [SBN read] Add stateId to RPC headers. Contributed by Plamen Jeliazkov.
2019-07-12 11:03:27 -07:00
Inigo Goiri
3ab475377a
HADOOP-16385. Namenode crashes with 'RedundancyMonitor thread received Runtime exception'. Contributed by Ayush Saxena.
...
(cherry picked from commit aa9f0850e85203b2ce4f4a8dc8968e9186cdc67a)
2019-07-02 13:26:17 -07:00
Wei-Chiu Chuang
e4a6976c30
HADOOP-14385. HttpExceptionUtils#validateResponse swallows exceptions. Contributed by Wei-Chiu Chuang.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 840d02ca5ba013bddd28d7c1abd242b5bb8cc39f)
2019-06-20 19:58:28 -07:00
Inigo Goiri
3dd4000884
HADOOP-16028. Fix NetworkTopology chooseRandom function to support excluded nodes. Contributed by Sihai Ke.
...
(cherry picked from commit f4e18242bd8117a5c506ec6d3f25c85011fa82d0)
2019-06-20 13:38:48 -07:00
Shweta Yakkali
0b3a2eb8a7
HADOOP-16156. [Clean-up] Remove NULL check before instanceof and fix checkstyle in InnerNodeImpl. Contributed by Shweta Yakkali.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit dd4a7633ece11c528a58146f92522b55e7be4dc6)
(cherry picked from commit 99abd35a75fc29d89a03aaf9f1919e9d48f4abec)
2019-06-17 23:48:40 -07:00
Adam Antal
15689ce0e8
HADOOP-15914. hadoop jar command has no help argument. Contributed by Adam Antal.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 9f47a2e4a9845b84cc963708c7924b92df2964f6)
(cherry picked from commit 26671772486b71f27ba37c836006b4ab05fd2b96)
2019-06-17 22:56:18 -07:00
Wei-Chiu Chuang
8f4204dc3b
HADOOP-9157. Better option for curl in hadoop-auth-examples. Contributed by Andras Bokor.
...
(cherry picked from commit f1c239c6a4c26e9057373b9b9400e54083290f65)
(cherry picked from commit e8db39b0e9ad66af3dada1ec7ad06b7d06f8e9f8)
2019-06-17 21:56:04 -07:00
Takanobu Asanuma
94e66ba338
HADOOP-16369. Fix zstandard shortname misspelled as zts. Contributed by Jonathan Eagles.
...
(cherry picked from commit 54f9f75a443d7d167a7aa7d04a87e3f5af049887)
2019-06-14 10:19:50 +09:00
Sean Mackrory
fee1e67453
HADOOP-16213. Update guava to 27.0-jre. Contributed by Gabor Bota.
2019-06-13 07:38:43 -06:00
Erik Krogen
cf3c1b9ffc
HADOOP-16345. Fix a potential NPE when instantiating FairCallQueue metrics. Contributed by Erik Krogen.
...
(cherry-picked from 76b94c274fe9775efcfd51c676d80c88a4f7fdb9)
(cherry-picked from f607efd1950211f85eb571564b774184f8fa1687)
2019-06-07 14:22:30 -07:00
Takanobu Asanuma
8098ddaf40
HADOOP-16331. Fix ASF License check in pom.xml. Contributed by Akira Ajisaka.
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2019-05-29 17:39:49 +09:00
Akira Ajisaka
f8bd5deec1
HADOOP-16323. https everywhere in Maven settings.
2019-05-27 15:28:21 +09:00
Shweta
a6ff20d25d
HDFS-14451. Incorrect header or version mismatch log message. Contributed by Shweta.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 93d7630062247793a4860704fad4a31437693de1)
(cherry picked from commit 7a5d9ab9eed194fabe609def69efe41bea4ed1f6)
2019-05-24 18:43:49 +02:00
Alexis Daboville
55cc35c0e1
HADOOP-16248. MutableQuantiles leak memory under heavy load.
...
Contributed by Alexis Daboville,
(cherry picked from commit 4cb3da6ac703b10de59a8ca371fe957a4a338601)
2019-05-17 15:17:55 +01:00
David Mollitor
cf0d5a0e6e
HADOOP-16307. Intern User Name and Group Name in FileStatus.
...
Author: David Mollitor
(cherry picked from commit 2713dcf6e9ef308ffe6102532c90b27c52d27f7c)
2019-05-16 16:03:34 +02:00
Bharat Viswanadham
d4b4d90a52
HADOOP-16247. NPE in FsUrlConnection. Contributed by Karthik Palanisamy.
...
(cherry picked from commit d4c8858586eeed2820f3ab21da79603b52c64594)
2019-05-15 17:50:56 -07:00
Siyao Meng
8414353daa
HADOOP-16289. Allow extra jsvc startup option in hadoop_start_secure_daemon in hadoop-functions.sh. Contributed by Siyao Meng.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 93f2283a69ea4e07a998f2a4065f238f9574921b)
(cherry picked from commit 095815220df582a04f09f8b645f9f01128168bf9)
2019-05-06 15:48:14 -07:00
Erik Krogen
9da70a1b4b
HADOOP-16265. Fix bug causing Configuration#getTimeDuration to use incorrect units when the default value is used. Contributed by starphin.
...
(cherry-picked from 1ddb48872f6a4985f4d0baadbb183899226cff68)
(cherry-picked from 28ff96f367ab2260666c2177980bce7c66e6dc57)
2019-04-22 08:19:25 -07:00