Erik Krogen
7146e67893
HDFS-13898. [SBN read] Throw retriable exception for getBlockLocations when ObserverNameNode is in safemode. Contributed by Chao Sun.
2019-08-09 15:49:56 -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
Konstantin V Shvachko
7eacf5f8f1
HDFS-13778. [SBN read] TestStateAlignmentContextWithHA should use real ObserverReadProxyProvider instead of AlignmentContextProxyProvider. Contributed by Konstantin Shvachko and Plamen Jeliazkov. Also fix a number of java7 incompatibilities from previous SbN read commits.
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
Chen Liang
9f90bcadf2
HDFS-13767. Add msync server implementation. Contributed by Chen Liang.
2019-08-09 15:49:56 -07:00
Chao Sun
f531301e7e
HDFS-13789. Reduce logging frequency of QuorumJournalManager#selectInputStreams. Contributed by Erik Krogen.
2019-08-09 15:49:56 -07:00
Erik Krogen
33d8aae555
HDFS-13688. [SBN read] Introduce msync API call. Contributed by Chen Liang.
...
Also fix a issue in IPCLoggerChannel
2019-08-09 15:49:56 -07:00
Erik Krogen
ea6d36763b
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-08-09 15:49:55 -07:00
Chao Sun
04eefe245a
HDFS-12976. [SBN read] Introduce ObserverReadProxyProvider. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Konstantin V Shvachko
272a198175
HDFS-13706. [SBN read] Rename client context to ClientGSIContext. Contributed by Konstantin Shvachko.
2019-08-09 15:49:55 -07:00
Erik Krogen
85f81fe458
HDFS-13609. [SBN read] Edit Tail Fast Path Part 3: NameNode-side changes to support tailing edits via RPC. Contributed by Erik Krogen.
...
HDFS-10519. Add a configuration option to enable in-progress edit log tailing. Contributed by Jiayi Zhou.
2019-08-09 15:49:55 -07:00
Erik Krogen
88d65af8a1
HDFS-13608. [SBN read] Edit Tail Fast Path Part 2: Add ability for JournalNode to serve edits via RPC. Contributed by Erik Krogen.
2019-08-09 15:49:55 -07:00
Erik Krogen
befe41074c
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-08-09 15:49:55 -07:00
Plamen Jeliazkov
3ed8d45660
HDFS-13399. [SBN read] Make Client field AlignmentContext non-static. Contributed by Plamen Jeliazkov.
2019-08-09 15:49:55 -07:00
Erik Krogen
c450e69551
HDFS-13578. [SBN read] Add ReadOnly annotation to methods in ClientProtocol. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Erik Krogen
d5da529acf
HDFS-13286. [SBN read] Add haadmin commands to transition between standby and observer. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Erik Krogen
d0c85f83da
HDFS-13331. [SBN read] Add lastSeenStateId to RpcRequestHeader. Contributed by Plamen Jeliazkov.
2019-08-09 15:49:55 -07:00
Plamen Jeliazkov
dd70e6d364
HDFS-12977. [SBN read] Add stateId to RPC headers. Contributed by Plamen Jeliazkov.
2019-08-09 15:49:55 -07:00
Chao Sun
61b510815c
HDFS-12975. [SBN read] Changes to the NameNode to support reads from standby. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Siyao Meng
15062b6d28
HDFS-14696. Backport HDFS-11273 to branch-2 (Move TransferFsImage#doGetUrl function to a Util class) ( #1251 ) Contributed by Siyao Meng.
2019-08-08 14:55:41 -07:00
Erik Krogen
ce12c8fc54
HDFS-14034. Support getQuotaUsage API in WebHDFS. Contributed by Chao Sun.
2019-08-08 10:18:00 -07:00
Erik Krogen
97600cd916
HDFS-14631. The DirectoryScanner doesn't fix the wrongly placed replica. Contributed by Jinglun.
2019-08-07 13:46:56 -07:00
Yiqun Lin
63531be505
HDFS-14313. Get hdfs used space from FsDatasetImpl#volumeMap#ReplicaInfo in memory instead of df/du. Contributed by Lisheng Sun.
2019-08-07 23:01:51 +08:00
Weiwei Yang
567e1178d8
HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao.
2019-08-06 14:30:17 -07:00
Erik Krogen
ee1547a807
HDFS-14697. Backport of HDFS-14513. FSImage which is saving should be clean while NameNode shutdown. Contributed by He Xiaoqiao.
2019-08-06 09:15:24 -07:00
Erik Krogen
a503662d6c
HDFS-14462 Ensure WebHDFS client throws the correct exception during writes. Contributed by Simbarashe Dzinamarira.
...
(cherry picked from e7a0b8aa83c1fb933d409c514d2155e986e4e25b)
(cherry picked from ba4ca7d996cafa1b1786249cae2b207f0eaa1070)
(cherry picked from da548cf263c699932e5a6b60e00893f857713bcf)
(cherry picked from 055f824bcbeb82ee7eb49576ca7b9446dccea401)
2019-08-02 11:53:34 -07:00
Wei-Chiu Chuang
3941b3c708
HDFS-14464. Remove unnecessary log message from DFSInputStream. Contributed by Chao Sun.
2019-07-30 11:36:56 -07:00
Erik Krogen
61581a86b2
HDFS-12703. Exceptions are fatal to decommissioning monitor. Contributed by He Xiaoqiao.
2019-07-29 14:36:57 -07:00
Wei-Chiu Chuang
27ead06a13
HDFS-14429. Block remain in COMMITTED but not COMPLETE caused by Decommission. Contributed by Yicong Cai.
2019-07-29 14:34:31 -07:00
Erik Krogen
653951e1f7
Revert "HDFS-14135. TestWebHdfsTimeouts Fails intermittently in trunk. Contributed by Ayush Saxena."
...
This reverts commit 3bfae20e946e40f6936aab54b79fc85df8d3b0b2.
2019-07-26 08:27:36 -07:00
Masatake Iwasaki
3bfae20e94
HDFS-14135. TestWebHdfsTimeouts Fails intermittently in trunk. Contributed by Ayush Saxena.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 6b8107ad97251267253fa045ba03c4749f95f530)
2019-07-26 09:54:27 +09:00
Erik Krogen
cf7b9a5bd5
HDFS-14547. Improve memory efficiency of quotas when storage type quotas are not set. Contributed by Jinglun.
2019-07-16 07:22:45 -07:00
Weiwei Yang
3f112e7347
HDFS-12748. NameNode memory leak when accessing webhdfs GETHOMEDIRECTORY. Contributed by Weiwei Yang.
...
(cherry picked from commit 6c8cfd135eea15e3dfd76dd33af24a9a8c38fd8d)
2019-07-11 10:07:47 +08:00
Yiqun Lin
78aebee5c5
HDFS-14632. Reduce useless #getNumLiveDataNodes call in SafeModeMonitor. Contributed by He Xiaoqiao.
...
(cherry picked from commit 993dc8726b7d40ac832ae3e23b64e8541b62c4bd)
2019-07-10 10:58:59 +08:00
stack
a7c6d25dc3
HDFS-14483 Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9""
...
This is a revert of a revert, i.e. a reapplication of the HDFS-14483
patch. Original commit was missing the JIRA number.
Revert "Revert "Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9""
This reverts commit b26ad8a4c38d27894bd42d3fba7abff80bd895f4.
2019-07-09 08:58:16 -07:00
stack
b26ad8a4c3
Revert "Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9"
...
This reverts commit 4f09a6bcfd685bbc9e139497adfeeeff8170e344.
2019-07-09 08:57:57 -07:00
sunlisheng
4f09a6bcfd
Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9
...
Signed-off-by: stack <stack@apache.org>
2019-07-09 08:54:37 -07:00
leosunli
0ff5db746e
HDFS-13694. Making md5 computing being in parallel with image loading.
...
(cherry picked from commit 9c907294860a48f0d1676a31bda15795b7a6771a)
2019-07-07 20:04:08 -07:00
Masatake Iwasaki
e61e52805f
HDFS-14629. Property value Hard Coded in DNConf.java. Contributed by hemanthboyina.
...
(cherry picked from commit 1c254a8ec78c8dab9111f3ba2709cef20794b73a)
2019-07-04 23:55:13 +09:00
stack
bb7e143d34
HDFS-14585 Backport HDFS-8901 Use ByteBuffer in DFSInputStream#read to branch2.9
...
Reapply but include JIRA # in the commit message this time.
Revert "Revert "Backport HDFS-8901 Use ByteBuffer in DFSInputStream#read to branch-2.9""
This reverts commit 1dd54163fcb40b60efc7ca153d443129e424df7d.
2019-07-01 11:08:05 -07:00
stack
1dd54163fc
Revert "Backport HDFS-8901 Use ByteBuffer in DFSInputStream#read to branch-2.9"
...
This reverts commit bccb0fd846b7cc69e0d83140193eaa7fc0ac081d.
2019-07-01 11:07:43 -07:00
sunlisheng
bccb0fd846
Backport HDFS-8901 Use ByteBuffer in DFSInputStream#read to branch-2.9
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: stack <stack@apache.org>
2019-07-01 10:59:58 -07:00
Inigo Goiri
0272480e9f
HDFS-14247. Repeat adding node description into network topology. Contributed by HuangTao.
...
(cherry picked from commit 80b77deb42a3ef94d6bef160bc58d807f2faa104)
(cherry picked from commit 96371245357bda63b3ede10f37a37f5333a85d69)
(cherry picked from commit 90b88db35d42f2eab4da7f192a5fb99d9c834abb)
(cherry picked from commit 9daa45f646d9eddda21c087c23e6d1498f98c055)
2019-06-24 21:17:38 -07:00
Inigo Goiri
1373889ac2
HDFS-14541. When evictableMmapped or evictable size is zero, do not throw NoSuchElementException.
...
(cherry picked from commit 0966407ad6fddb7adf60dba846d1f7c8a13b8ec1)
2019-06-24 19:04:33 -07:00
Wei-Chiu Chuang
bf63475e7a
HDFS-14303. check block directory logic not correct when there is only meta file, print no meaning warn log. Contributed by qiang Liu.
2019-06-20 21:06:06 -07:00
Wei-Chiu Chuang
f876e82abc
HDFS-14465. When the Block expected replications is larger than the number of DataNodes, entering maintenance will never exit. Contributed by Yicong Cai.
2019-06-20 19:36:44 -07:00
Zsolt Venczel
a68de43957
HDFS-14101. Random failure of testListCorruptFilesCorruptedBlock. Contributed by Zsolt Venczel, Nikhil Navadia.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: Nikhil Navadia <nikhil.navadiya@cloudera.com>
(cherry picked from commit 7c00756aff6bf8d5e1d05748ba32b679e397b53f)
(cherry picked from commit 4ea3b04bf36af56612c6b47d9ff8aa49cbbbcc9e)
(cherry picked from commit 76faa41f18f1cb20a6469f53b475f52b662f8107)
2019-06-18 14:38:42 -07:00