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
Chao Sun
7a650b018c
HDFS-14116. [SBN read] Fix class cast error in NNThroughputBenchmark with ObserverReadProxyProvider. 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
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
Chen Liang
8e77349bee
HDFS-14142. Move ipfailover config key out of HdfsClientConfigKeys. Contributed by Chen Liang.
2019-07-12 12:23:56 -07:00
Erik Krogen
265bd68464
HDFS-14131. [SBN read] Create user guide for Consistent Reads from Observer feature. Contributed by Chao Sun.
2019-07-12 12:23:17 -07:00
Chen Liang
6e54d97458
HDFS-14120. [SBN read] ORFPP should also clone DT for the virtual IP. Contributed by Chen Liang.
2019-07-12 12:23:17 -07:00
Konstantin V Shvachko
6cb1b5aa2f
HDFS-14094. [SBN read] Fix the order of logging arguments in ObserverReadProxyProvider. Contributed by Ayush Saxena.
2019-07-12 12:23:16 -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
Chen Liang
f5c923be3f
HDFS-14017. [SBN read] ObserverReadProxyProviderWithIPFailover should work with HA configuration. Contributed by Chen Liang.
2019-07-12 12:23:11 -07:00
Chen Liang
53a88bfdb4
HDFS-14035. NN status discovery does not leverage delegation token. Contributed by Chen Liang.
2019-07-12 12:22:25 -07:00
Chao Sun
e0436b3438
HDFS-14016. [SBN read] ObserverReadProxyProvider should enable observer read by default. Contributed by Chen Liang.
2019-07-12 12:11:19 -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
Konstantin V Shvachko
66db260cdc
HDFS-13925. Unit Test for transitioning between different states. Contributed by Sherwood Zheng.
2019-07-12 12:11:18 -07:00
Konstantin V Shvachko
e860882d60
HDFS-13523. Support observer nodes in MiniDFSCluster. Contributed by Konstantin Shvachko.
2019-07-12 12:11:17 -07:00
Konstantin V Shvachko
a054c65185
HDFS-13961. [SBN read] TestObserverNode refactoring. Contributed by Konstantin Shvachko.
2019-07-12 12:11:14 -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
Erik Krogen
d4adf921a3
HDFS-13898. [SBN read] Throw retriable exception for getBlockLocations when ObserverNameNode is in safemode. Contributed by Chao Sun.
2019-07-12 11:50:05 -07:00
Erik Krogen
07558629db
HDFS-13749. [SBN read] Use getServiceStatus to discover observer namenodes. Contributed by Chao Sun.
2019-07-12 11:50:04 -07:00
Konstantin V Shvachko
e639297ba0
HDFS-13778. [SBN read] TestStateAlignmentContextWithHA should use real ObserverReadProxyProvider instead of AlignmentContextProxyProvider. Contributed by Konstantin Shvachko and Plamen Jeliazkov.
2019-07-12 11:50:04 -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
Erik Krogen
504cb70619
HDFS-13779. [SBN read] Implement proper failover and observer failure handling logic for for ObserverReadProxyProvider. Contributed by Erik Krogen.
2019-07-12 11:50:03 -07:00
Konstantin V Shvachko
1be8e187b1
HDFS-13782. ObserverReadProxyProvider should work with IPFailoverProxyProvider. Contributed by Konstantin Shvachko.
2019-07-12 11:50:02 -07:00
Konstantin V Shvachko
1ad1c800a4
HDFS-13851. Remove AlignmentContext from AbstractNNFailoverProxyProvider. Contributed by Konstantin Shvachko.
2019-07-12 11:50:02 -07:00
Chen Liang
ee9977cc69
HDFS-13767. Add msync server implementation. Contributed by Chen Liang.
2019-07-12 11:50:01 -07:00
Chao Sun
d96ddb3b87
HDFS-13789. Reduce logging frequency of QuorumJournalManager#selectInputStreams. Contributed by Erik Krogen.
2019-07-12 11:50:01 -07:00
Erik Krogen
849a6c6f0d
HDFS-13688. [SBN read] Introduce msync API call. Contributed by Chen Liang.
2019-07-12 11:49:58 -07:00
Erik Krogen
ac2e79330c
HDFS-13610. [SBN read] Edit Tail Fast Path Part 4: Cleanup. Integration test, documentation, remove unnecessary dummy sync, minors fixups. Contributed by Erik Krogen.
2019-07-12 11:05:50 -07:00
Chao Sun
9840dae72f
HDFS-12976. [SBN read] Introduce ObserverReadProxyProvider. Contributed by Chao Sun.
2019-07-12 11:05:07 -07:00
Konstantin V Shvachko
405f6b6fbf
HDFS-13706. [SBN read] Rename client context to ClientGSIContext. Contributed by Konstantin Shvachko.
2019-07-12 11:05:07 -07:00
Erik Krogen
8e551708d8
HDFS-13609. [SBN read] Edit Tail Fast Path Part 3: NameNode-side changes to support tailing edits via RPC. Contributed by Erik Krogen.
2019-07-12 11:05:04 -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
Erik Krogen
c40ddf9b5b
HDFS-13607. [SBN read] Edit Tail Fast Path Part 1: Enhance JournalNode with an in-memory cache of recent edit transactions. Contributed by Erik Krogen.
2019-07-12 11:03:32 -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
18e545f0be
HDFS-13578. [SBN read] Add ReadOnly annotation to methods in ClientProtocol. Contributed by Chao Sun.
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
Chao Sun
4cf63905d0
HDFS-12975. [SBN read] Changes to the NameNode to support reads from standby. Contributed by Chao Sun.
2019-07-12 10:58:43 -07:00
Masatake Iwasaki
c6ac7f511c
HDFS-14466. Add a regression test for HDFS-14323.
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 00dd843a1a6c9d8b616631cdcf24c00e82498dab)
2019-07-12 10:14:49 +09:00
Weiwei Yang
9c3806cf1b
HDFS-12748. NameNode memory leak when accessing webhdfs GETHOMEDIRECTORY. Contributed by Weiwei Yang.
2019-07-11 09:46:27 +08:00
Erik Krogen
a59553b5e6
HDFS-14547. Improve memory efficiency of quotas when storage type quotas are not set. Contributed by Jinglun.
...
(cherry-picked from 4632708148ed7dec75810feddb22ad98e4670483)
(cherry-picked from 491dc7cc9d6836f34d2647b12dcefa86cc97a927)
2019-07-08 15:20:29 -07:00
leosunli
7c7907f756
HDFS-13694. Making md5 computing being in parallel with image loading.
...
(cherry picked from commit 9c907294860a48f0d1676a31bda15795b7a6771a)
2019-07-07 20:02:51 -07:00
Masatake Iwasaki
02ae1d6071
HDFS-14629. Property value Hard Coded in DNConf.java. Contributed by hemanthboyina.
...
(cherry picked from commit 1c254a8ec78c8dab9111f3ba2709cef20794b73a)
2019-07-04 23:54:18 +09:00
Anu Engineer
1bae5c7024
HDFS-14598. Findbugs warning caused by HDFS-12487.
...
Contributed by He Xiaoqiao.
(cherry picked from commit 041e7a7dee4a17714f31952dc6364c77a65b1b73)
(cherry picked from commit e7fce2104f28c48c817822bed9349d44b0694699)
2019-06-24 21:20:00 -07:00
Inigo Goiri
90b88db35d
HDFS-14247. Repeat adding node description into network topology. Contributed by HuangTao.
...
(cherry picked from commit 80b77deb42a3ef94d6bef160bc58d807f2faa104)
(cherry picked from commit 96371245357bda63b3ede10f37a37f5333a85d69)
2019-06-24 21:17:04 -07:00
Inigo Goiri
aaf74ea5d7
HDFS-14541. When evictableMmapped or evictable size is zero, do not throw NoSuchElementException.
...
(cherry picked from commit 0966407ad6fddb7adf60dba846d1f7c8a13b8ec1)
2019-06-24 19:03:26 -07:00
Santosh Marella
026cc2647d
HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: He Xiaoqiao <hexiaoqiao@apache.org>
2019-06-23 20:27:01 -07:00
Wei-Chiu Chuang
529d0955f5
HDFS-14074. DataNode runs async disk checks maybe throws NullPointerException, and DataNode failed to register to NameSpace. Contributed by guangyi lu.
...
(cherry picked from commit 645d67bc4f4e29d10ef810386c89e6a7c8c61862)
(cherry picked from commit d5ecca1d4ca2b567167402bf8745fb2417bbf624)
2019-06-21 18:27:50 -07:00
Wei-Chiu Chuang
4507c2f3a5
HDFS-12487. FsDatasetSpi.isValidBlock() lacks null pointer check inside and neither do the callers. Contributed by liumi.
...
(cherry picked from commit 1524e2e6c52aba966cbbf1d8025ba165688ab9bb)
(cherry picked from commit 845d7611babac68a2b0caa6e4b8963f0c8332540)
2019-06-21 18:18:36 -07:00