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
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
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
Wei-Chiu Chuang
f33bcbb687
HDFS-14303. check block directory logic not correct when there is only meta file, print no meaning warn log. Contributed by qiang Liu.
...
(cherry picked from commit a5d76a4965b686ec5532add511c64d5f87c88865)
2019-06-20 20:54:43 -07:00
Takanobu Asanuma
2f6f42bc7b
HDFS-12564. Add the documents of swebhdfs configurations on the client side. Contributed by Takanobu Asanuma.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 98d20656433cdec76c2108d24ff3b935657c1e80)
2019-06-20 20:18:00 -07:00
Wei-Chiu Chuang
58c1920472
Revert "HDFS-13287. TestINodeFile#testGetBlockType results in NPE when run alone. Contributed by Virajith Jalaparti."
...
This reverts commit 49587e4df3e955466670384de867f690b557fe6e.
2019-06-19 06:55:25 -07:00
Virajith Jalaparti
49587e4df3
HDFS-13287. TestINodeFile#testGetBlockType results in NPE when run alone. Contributed by Virajith Jalaparti.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 333633d9935acd5787ee8688bc9d2d7b7c058def)
(cherry picked from commit 36dc0810bf8032e4741e27a8f2b00e64dbdaef2a)
2019-06-18 22:17:08 -07:00
Zsolt Venczel
4ea3b04bf3
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)
2019-06-18 14:38:05 -07:00
Elek, Marton
293f8bbd84
HDFS-14078. Admin helper fails to prettify NullPointerExceptions. Contributed by Elek, Marton.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit cc229be9ebb1b3737c9f5fcb29788b51fa584e47)
(cherry picked from commit 1a99f9794519faee5a196ab3d9cb91d55bfd0002)
2019-06-18 12:00:48 -07:00
Wei-Chiu Chuang
29c4aded34
HDFS-14010. Pass correct DF usage to ReservedSpaceCalculator builder. Contributed by Virajith Jalaparti.
...
(cherry picked from commit 1cc1530b4e874391a17ec81e24cb55dfbbabd36a)
(cherry picked from commit 223a582eb839bb6e4298a2fe0243bc27d73fc977)
2019-06-18 00:34:55 -07:00
Weiwei Yang
3bdb661f35
HDFS-12770. Add doc about how to disable client socket cache. Contributed by Weiwei Yang.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 6ec57fe6a45df0e9216bbbba85b5bf61da1bf2ca)
(cherry picked from commit f36cdc4d7f45d1a3f8edd2d804c38b0b39990410)
2019-06-17 21:47:07 -07:00
Wei-Chiu Chuang
b3e0430c3b
HDFS-14465. When the Block expected replications is larger than the number of DataNodes, entering maintenance will never exit. Contributed by Yicong Cai.
...
(cherry picked from commit 7db922c6474cb29e0e9bad320fcda4769366340a)
(cherry picked from commit 0eb42e1e05b780dab718bb3adfdd55f527dd5545)
2019-06-17 15:18:39 -07:00
Inigo Goiri
76a66998fe
HDFS-14560. Allow block replication parameters to be refreshable. Contributed by Stephen O'Donnell.
2019-06-13 18:28:38 -07:00
Sean Mackrory
fee1e67453
HADOOP-16213. Update guava to 27.0-jre. Contributed by Gabor Bota.
2019-06-13 07:38:43 -06:00
Stephen O'Donnell
a9b8310584
HDFS-13231. Extend visualization for Decommissioning, Maintenance Mode under Datanode tab in the NameNode UI. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 50de0874d0f14526bfb7052f2a2e64543dc0fcbc)
(cherry picked from commit 71159f9540d5a2aac6fb904649639f75e457e94d)
2019-06-12 10:31:21 -07:00
He Xiaoqiao
03ec4c4c7c
HDFS-14553. Make queue size of BlockReportProcessingThread configurable. Contributed by He Xiaoqiao.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit bd46bdf9f9244f3f3474d316255ac98717ed5719)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
(cherry picked from commit d7560c866ecbfcd533a43890522ccb8b732a5382)
2019-06-10 17:27:48 -07:00
Hanisha Koneru
dd795edcc7
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 7217494f40dd99068a3f3b155261b1dac6c67828)
(cherry picked from commit 210480a23cab052c5ea538fbfd9e50d888b8d3ff)
2019-06-10 13:47:17 -07:00
Kihwal Lee
a935258e8c
HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee
...
(cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c)
2019-05-30 17:31:30 -05:00
Ayush Saxena
90cc5ddd49
HDFS-14512. ONE_SSD policy will be violated while write data with DistributedFileSystem.create(....favoredNodes). Contributed by Ayush Saxena.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c1caab40f27e3e4f58ff1b5ef3e93efc56bbecbe)
(cherry picked from commit 2cd7577a5a58db42a14a659b85fbd475091d0cb2)
2019-05-29 20:58:34 -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
Erik Krogen
9295e95174
HDFS-14500. NameNode StartupProgress should not allow new steps in an already-completed phase. Contributed by Erik Krogen.
...
(cherry-picked from 55e0c134f002f74cb4a0360b6682a1b6796d1598)
(cherry-picked from c26cf22d6b3949a4798d8133669b451660a0f050)
2019-05-24 13:19:39 -07:00
Konstantin V Shvachko
799ca572f7
HDFS-14502. keepResults option in NNThroughputBenchmark should call saveNamespace(). Contributed by Konstantin V Shvachko.
2019-05-24 12:35:32 -07:00
Siyao Meng
9196c84c9f
HDFS-14507. Document -blockingDecommission option for hdfs dfsadmin -listOpenFiles
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 9dff6eff819a832a5918d786675f42aa243a13e8)
2019-05-22 13:25:42 +09:00
Siyao Meng
86fb5e1c8e
HDFS-14463. Add Log Level link under NameNode and DataNode Web UI Utilities dropdown. Contributed by Siyao Meng.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 7cb46f035a92056783bad23a9abc6a264d71285d)
(cherry picked from commit 0550aa32f1a4b1809c234f8ed785db08b2e33d13)
2019-05-01 16:49:36 -07:00
Arpit Agarwal
7b51edbab9
HDFS-13677. Dynamic refresh Disk configuration results in overwriting VolumeMap. Contributed by xuzq.
...
(cherry picked from commit 4b4200f1f87ad40d9c19ba160f706ffd0470a8d4)
2019-04-29 14:54:11 -07:00
Puleya7
546ed4937c
HDFS-14432. dfs.datanode.shared.file.descriptor.paths duplicated in hdfs-default.xml
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 13907d847986aa14a51cc2a3cc83151f22c43781)
2019-04-17 21:57:06 +09:00
Akira Ajisaka
a70076b3a5
HDFS-14407. Fix misuse of SLF4j logging API in DatasetVolumeChecker#checkAllVolumes. Contributed by Wanqiang Ji.
...
(cherry picked from commit 67020f09502a4f07342dee457e47bb52b03441ae)
2019-04-05 12:31:14 +09:00
Stephen O'Donnell
d9899015eb
HDFS-14389. getAclStatus returns incorrect permissions and owner when an iNodeAttributeProvider is configured. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c528e427aa6745434672b1c1850738795ad1d6d2)
(cherry picked from commit 388f445dde577999b2d81f809adcfca8f0958499)
2019-04-04 04:06:33 -07:00
Wei-Chiu Chuang
084fb9de22
HDFS-10477. Stop decommission a rack of DataNodes caused NameNode fail over to standby. Contributed by yunjiong zhao and Wei-Chiu Chuang.
...
(cherry picked from commit be488b6070a124234c77f16193ee925d32ca9a20)
(cherry picked from commit c8703dda0727e17d759d7ad27f0caee88103a530)
2019-04-03 12:41:07 -07:00
Gabor Bota
f01d592f3b
HADOOP-16220. Add findbugs ignores for unjustified issues during update to guava to 27.0-jre in hadoop-project
...
This closes #665
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 53a86e2b8ecb83b666d4ed223fc270e1a46642c1)
2019-04-01 13:52:44 +09:00
Takanobu Asanuma
1fc74178eb
HDFS-14037. Fix SSLFactory truststore reloader thread leak in URLConnectionFactory.
...
(cherry picked from commit 55fb3c32fb48ca26a629d4d5f3f07e2858d09594)
2019-03-27 03:29:42 +09:00
Inigo Goiri
80732146c6
HDFS-14366. Improve HDFS append performance. Contributed by Chao Sun.
...
(cherry picked from commit ff06ef0631cb8a0f67bbc39b5b5a1b0a81ca3b3c)
2019-03-15 13:58:39 -07:00
Erik Krogen
cb76fc5618
HDFS-14346. Add better time precision to Configuration#getTimeDuration, allowing return unit and default unit to be specified independently. Contributed by Chao Sun.
...
(cherry picked from commit 66357574ae1da09ced735da36bf7d80a40c3fa1b)
(cherry picked from commit fec7c5f3ebbaea7b290e0904570c3a485b541a22)
2019-03-13 13:20:51 -07:00