Plamen Jeliazkov
ccad9ce59b
HDFS-12977. [SBN read] Add stateId to RPC headers. Contributed by Plamen Jeliazkov.
2019-07-25 10:07:04 -07:00
Chao Sun
44d8b43697
HDFS-12975. [SBN read] Changes to the NameNode to support reads from standby. Contributed by Chao Sun.
2019-07-25 10:07:04 -07:00
Weiwei Yang
6c8cfd135e
HDFS-12748. NameNode memory leak when accessing webhdfs GETHOMEDIRECTORY. Contributed by Weiwei Yang.
2019-07-11 09:53:28 +08:00
Weiwei Yang
ef35954cbe
HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao.
2019-07-09 22:22:50 +08:00
Weiwei Yang
9ab56b2637
Revert "HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao."
...
This reverts commit 974dd2b4b6103374969fd7cfeb2cee50d4112c6a.
2019-07-09 12:23:39 +08:00
Erik Krogen
172e0ee0b9
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)
(cherry-picked from a59553b5e6bc6fa59ed31306708d899342013191)
2019-07-08 15:20:41 -07:00
leosunli
14d2c09ea6
HDFS-13694. Making md5 computing being in parallel with image loading.
...
(cherry picked from commit 9c907294860a48f0d1676a31bda15795b7a6771a)
2019-07-07 20:03:29 -07:00
Inigo Goiri
9daa45f646
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)
2019-06-24 21:17:22 -07:00
Inigo Goiri
9aae8b05a7
HDFS-14541. When evictableMmapped or evictable size is zero, do not throw NoSuchElementException.
...
(cherry picked from commit 0966407ad6fddb7adf60dba846d1f7c8a13b8ec1)
2019-06-24 19:03:58 -07:00
Santosh Marella
974dd2b4b6
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>
(cherry picked from commit 026cc2647d4e3c1cffdd154995a5f1f07956c2a0)
2019-06-23 20:28:14 -07:00
Wei-Chiu Chuang
337a7090b3
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)
(cherry picked from commit f33bcbb687e4dd4ab10d5dad89b1b8eae5788efb)
2019-06-20 20:54:58 -07:00
Zsolt Venczel
76faa41f18
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)
2019-06-18 14:38:28 -07:00
Wei-Chiu Chuang
79f8e4d5bc
HDFS-13730. BlockReaderRemote.sendReadResult throws NPE. Contributed by Yuanbo Liu.
...
(cherry picked from commit 62ad9885ea8c75c134de43a3a925c76b253658e1)
(cherry picked from commit 45543ffd6af723bb83bd44a99f12165363c70abb)
(cherry picked from commit fc8983a5b8c94746d3e58cc203974aa09c1b640b)
2019-06-17 20:20:21 -07:00
Akira Ajisaka
010a99104b
HDFS-11950. Disable libhdfs zerocopy test on Mac. Contributed by Akira Ajisaka.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit a95e87d827381a7f87c01f0befc2475f9478e63b)
(cherry picked from commit f68099aa1316f34591c757bcf4198a3a3c7f691a)
(cherry picked from commit 3d1d8623a11b72c7939d6500537be5fd6565d4d6)
2019-06-17 17:04:19 -07:00
Wei-Chiu Chuang
fae98959ad
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)
(cherry picked from commit b3e0430c3bee30a52ec08786982522bfcf0bb911)
2019-06-17 15:18:54 -07:00
huzheng
2b9c4fccf4
HDFS-14535. The default 8KB buffer in requestFileDescriptors#BufferedOutputStream is causing lots of heap allocation in HBase when using short-circut read
...
(cherry picked from commit ea3b0a184405c3feca024a560807ea215b6858b9)
(cherry picked from commit 9b61ecfcbeeb1d3c320f775b43c68d3e39a271a3)
(cherry picked from commit b082628e5a39fc1bc9d6094beb9c253cc096c701)
2019-06-17 07:21:46 -07:00
Sean Mackrory
c352b0011e
HADOOP-16212. Update guava to 27.0-jre in hadoop-project branch-3.0. Contributed by Gabor Bota.
2019-06-03 07:45:56 -06:00
Kihwal Lee
fd8b8c7494
HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee
...
(cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c)
2019-05-30 17:36:19 -05:00
Ayush Saxena
942c5b04f2
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)
(cherry picked from commit 90cc5ddd4957fcb27ef5a1e7ee1a67c4eca9a3f5)
2019-05-29 20:58:54 -07:00
Erik Krogen
2df08761e9
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)
(cherry-picked from 9295e95174ad8627874b81a9d43183384a81fb16)
2019-05-24 13:20:01 -07:00
Konstantin V Shvachko
e4ed873594
HDFS-14502. keepResults option in NNThroughputBenchmark should call saveNamespace(). Contributed by Konstantin V Shvachko.
2019-05-24 12:38:07 -07:00
Puleya7
56c9171235
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:50 +09:00
Akira Ajisaka
f824f4dccb
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:38 +09:00
Stephen O'Donnell
79714fdfab
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)
(cherry picked from commit d9899015ebf8a27e9ac339d8a8b3c9d88bcbacb9)
2019-04-04 04:06:57 -07:00
Wei-Chiu Chuang
cbac102566
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)
(cherry picked from commit 2a94603ae66d9000c0bb07df0d592279339af103)
2019-04-03 11:02:14 -07:00
Gabor Bota
461df1b511
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:53:11 +09:00
Takanobu Asanuma
abb06c9d7c
HDFS-14037. Fix SSLFactory truststore reloader thread leak in URLConnectionFactory.
...
(cherry picked from commit 55fb3c32fb48ca26a629d4d5f3f07e2858d09594)
2019-03-27 03:30:12 +09:00
Inigo Goiri
5a8445789b
HDFS-14366. Improve HDFS append performance. Contributed by Chao Sun.
...
(cherry picked from commit ff06ef0631cb8a0f67bbc39b5b5a1b0a81ca3b3c)
2019-03-15 13:59:51 -07:00
Erik Krogen
9a5daa5ec6
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)
(cherry picked from commit cb76fc5618c582887e4e71b98f3065c5a916334a)
2019-03-13 13:21:40 -07:00
Erik Krogen
c924011f94
HDFS-14317. Ensure checkpoints are created when in-progress edit log tailing is enabled with a period shorter than the log roll period. Contributed by Ekanth Sethuramalingam.
...
(cherry-picked from commit 1bc282e0b3f74968c92751f0972746b012e72810)
(cherry-picked from commit 6d076dd5e8be8fee5062a04d4cd2aa0c5da0ea56)
(cherry-picked from commit b0b80002402cf5fbe819367d96e42098c5c359ea)
2019-03-07 08:45:20 -08:00
Wei-Chiu Chuang
e23a448e0e
HDFS-14314. fullBlockReportLeaseId should be reset after registering to NN. Contributed by star.
...
(cherry picked from commit 387dbe587aa66ac99ec5f5b50827ec3e0a327613)
(cherry picked from commit e58ccca3ce131c955ceb115cd0b75e452eea828b)
(cherry picked from commit d951497f57cf6556b0916cad08576481dfe2ae06)
2019-03-04 10:46:16 -08:00
Erik Krogen
b170626c74
HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by He Xiaoqiao.
2019-03-01 08:12:58 -08:00
Kitti Nanasi
ad131757f2
HDFS-14231. DataXceiver#run() should not log exceptions caused by InvalidToken exception as an error. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 49ddd8a6ed5b40d12defb0771b4c8b53d4ffde3f)
(cherry picked from commit 38541b23753c5d0e2cb9baf1d2da536f846dc38c)
(cherry picked from commit c25b641cec8aca9c16759d5e392ffbc27a158a67)
2019-02-05 15:15:53 -08:00
Masatake Iwasaki
00eee37a93
HDFS-12729. Document special paths in HDFS. Contributed by Masatake Iwasaki.
...
(cherry picked from commit dc5af4c6b7bdf437713a8c6ca3c535c4b6d6992e)
2019-01-29 02:31:59 +09:00
Dinesh Chitlangia
36ff7a4d02
HDFS-14228. Incorrect getSnapshottableDirListing() javadoc. Contributed by Dinesh Chitlangia.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 45caeee6cfcf1ae3355cd880402159cf31e94a8a)
(cherry picked from commit eb77e60163e318ca42548e134fe79dba7289fdc6)
(cherry picked from commit b63941516f78e0d6e22ecc629fc82b16fd17ad87)
2019-01-25 07:38:49 -08:00
Takanobu Asanuma
5b8a99bf49
HDFS-14218. EC: Ls -e throw NPE when directory ec policy is disabled. Contributed by Ayush Saxena.
...
(cherry picked from commit 7d6792e5d2001e1a83ae75a4777324a3b01c557a)
2019-01-23 10:06:30 +09:00
Wei-Chiu Chuang
054594c614
HDFS-14171. Performance improvement in Tailing EditLog. Contributed by Kenneth Yang.
...
(cherry picked from commit e9a005dfcf4d2249235aeff4da85b321dddc1ca9)
(cherry picked from commit c48640ffbd3852b75f898325ae0b3ea0ba864578)
(cherry picked from commit f24684ca9cd70326e24376a33cda937c98295af0)
2018-12-28 10:39:47 -08:00
Brahma Reddy Battula
6895550043
HDFS-14095. EC: Track Erasure Coding commands in DFS statistics. Contributed by Ayush Saxena.
...
(cherry picked from commit f534736867eed962899615ca1b7eb68bcf591d17)
2018-11-30 00:21:07 +05:30
Vinayakumar B
8569555fd1
HDFS-13816. dfs.getQuotaUsage() throws NPE on non-existent dir instead of FileNotFoundException. Contributed by Vinayakumar B.
...
(cherry picked from commit b09828145432c8d986ac8f05ec33608d8e611328)
2018-11-26 18:23:20 +05:30
Vinayakumar B
a19c72d7e8
HDFS-14056. Fix error messages in HDFS-12716. Contributed by Ayush Saxena.
...
(cherry picked from commit 886b935630bf2d46f4c6773de013c093d2e44c38)
2018-11-16 18:02:01 +05:30
Vinayakumar B
1b6fa47334
HDFS-13963. NN UI is broken with IE11. Contributed by Ayush Saxena.
...
(cherry picked from commit 8571507efa3af3e4a5213a7e24c65e26162eac4d)
2018-11-16 17:36:50 +05:30
Brahma Reddy Battula
04bba91585
HDFS-14070. Refactor NameNodeWebHdfsMethods to allow better extensibility. Contributed by CR Hota
...
(cherry picked from commit e7b63baca1e10b28d8b4462fd80537b871951aa3)
2018-11-13 13:12:56 +05:30
Arpit Agarwal
f514c08900
HDFS-14065. Failed Storage Locations shows nothing in the Datanode Volume Failures. Contributed by Ayush Saxena.
...
(cherry picked from commit b6d4e19f34f474ea8068ebb374f55e0db2f714da)
2018-11-12 15:31:56 -08:00
Kitti Nanasi
bbc94de477
HDFS-14039. ec -listPolicies doesn't show correct state for the default policy when the default is not RS(6,3). Contributed by Kitti Nanasi.
...
Signed-off-by: Xiao Chen <xiao@apache.org>
(cherry picked from commit 8d99648c203004045a9339ad27258092969145d6)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ErasureCodingPolicyManager.java
(cherry picked from commit 01b8197893c84fa24bb94945f85b3e2ebe8259a5)
2018-11-08 10:22:32 -08:00
Vinayakumar B
76be3515bf
HDFS-13772. Erasure coding: Unnecessary NameNode Logs displaying for Enabling/Disabling Erasure coding policies which are already enabled/disabled. Contributed by Ayush Saxena
...
(cherry picked from commit 8df2eb8119188b8e5515295523afc23046e1db81)
2018-11-08 10:22:32 -08:00
Inigo Goiri
c4d390a775
HDFS-14048. DFSOutputStream close() throws exception on subsequent call after DataNode restart. Contributed by Erik Krogen.
...
(cherry picked from commit 887244de4adebe27693ed4ad3296a6f700cfa8c1)
2018-11-06 11:21:19 -08:00
Inigo Goiri
4b47daa640
HDFS-14043. Tolerate corrupted seen_txid file. Contributed by Lukas Majercak.
...
(cherry picked from commit f3296501e09fa7f1e81548dfcefa56f20fe337ca)
(cherry picked from commit 9bf4f3d61403b06f3d6a092dacab382c7c131e19)
2018-11-05 16:53:28 -08:00
Akira Ajisaka
2ae21d5387
Addendum: Fix potential FSImage corruption. Contributed by Xiao Chen.
...
(cherry picked from commit dd70b1f53836961029767660398819a3b04eec58)
2018-10-31 17:03:47 +09:00
Xiao Chen
20c9a12bc7
HDFS-14027. DFSStripedOutputStream should implement both hsync methods.
...
(cherry picked from commit db7e636824a36b90ba1c8e9b2fba1162771700fe)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSStripedOutputStream.java
(cherry picked from commit 399645ebc162371a63eb81840e01ed52261f43bc)
2018-10-29 19:14:12 -07:00
Wei-Chiu Chuang
0f34ff7722
Revert "HADOOP-15864. Job submitter / executor fail when SBN domain name can not resolved. Contributed by He Xiaoqiao."
...
This reverts commit fa01a8fa0e345c533e843504743baa00020be706.
2018-10-28 17:07:29 -07:00