6792 Commits

Author SHA1 Message Date
Xiao Chen
55fa509eb6 HDFS-12396. Webhdfs file system should get delegation token from kms provider. Contributed by Rushabh S Shah.
(cherry picked from commit 404eab4dc0582e0384b93664ea6ee77ccd5eeebc)
2017-12-04 10:49:58 -08:00
Chris Douglas
2399c96ee7 HDFS-11576. Block recovery will fail indefinitely if recovery time > heartbeat interval. Contributed by Lukas Majercak
(cherry picked from commit 42307e3c3abbfe0b83d9a2581deba327435b910f)
2017-12-02 23:32:44 -08:00
Wei-Chiu Chuang
83b62a8eed HDFS-12836. startTxId could be greater than endTxId when tailing in-progress edit log. Contributed by Chao Sun.
(cherry picked from commit 0faf50624580b86b64a828cdbbb630ae8994e2cd)
2017-12-01 12:03:04 -08:00
Chris Douglas
6266c52680 Revert "HDFS-11576. Block recovery will fail indefinitely if recovery time > heartbeat interval. Contributed by Lukas Majercak"
This reverts commit 482fd5a880994f37fc3ad9e0cc2d127737b70aef.
2017-12-01 11:19:17 -08:00
Chris Douglas
482fd5a880 HDFS-11576. Block recovery will fail indefinitely if recovery time > heartbeat interval. Contributed by Lukas Majercak
(cherry picked from commit 5304698dc8c5667c33e6ed9c4a827ef57172a723)
2017-12-01 10:30:08 -08:00
Konstantin V Shvachko
def87db9cb HDFS-12638. Delete copy-on-truncate block along with the original block, when deleting a file being truncated. Contributed by Konstantin Shvachko.
(cherry picked from commit 60fd0d7fd73198fd610e59d1a4cd007c5fcc7205)
2017-11-30 18:27:16 -08:00
Kihwal Lee
ee4525e071 HDFS-11754. Make FsServerDefaults cache configurable. Contributed by Mikhail Erofeev.
(cherry picked from commit 53509f295b5274059541565d7216bf98aa35347d)
2017-11-29 15:12:47 -06:00
Wei Yan
4b1a2152eb HDFS-12835. Fix the javadoc errors in Router-based federation.
(cherry picked from commit 301641811d93ac22dc6fe1a05f18c1f266cc5e54)
2017-11-29 09:59:17 -08:00
Konstantin V Shvachko
4cbd5ea42b HDFS-12832. INode.getFullPathName may throw ArrayIndexOutOfBoundsException lead to NameNode exit. Contribuited by Konstantin Shvachko.
(cherry picked from commit d331762f24b3f22f609366740c9c4f449edc61ac)
2017-11-28 17:18:21 -08:00
Yiqun Lin
72d0be964d HDFS-12858. Add router admin commands usage in HDFS commands reference doc. Contributed by Yiqun Lin.
(cherry picked from commit 94bed5047113fb148194380853ff01e92897a91f)
2017-11-28 11:52:29 +08:00
Kihwal Lee
1078d477c3 HDFS-12754. Lease renewal can hit a deadlock. Contributed by Kuhu Shukla.
(cherry picked from commit 738d1a206aba05f0b4be7d633b17db7fcd1c74bc)
2017-11-22 13:02:45 -06:00
Lei Xu
a5a86680a4 HDFS-12847. Regenerate editsStored and editsStored.xml in HDFS tests. Contributed by Lei (Eddy) Xu. 2017-11-22 10:23:10 -08:00
Inigo Goiri
3cd5224693 HDFS-12801. RBF: Set MountTableResolver as default file resolver. Contributed by Inigo Goiri.
(cherry picked from commit e182e777947a85943504a207deb3cf3ffc047910)
2017-11-17 10:08:04 -08:00
Weiwei Yang
f9f268cf52 HDFS-12814. Add blockId when warning slow mirror/disk in BlockReceiver. Contributed by Jiandan Yang. 2017-11-16 16:23:13 +08:00
Andrew Wang
1c8d334287 Preparing for 3.0.1 development 2017-11-14 11:17:18 -08:00
Akira Ajisaka
9051d1b851
HDFS-12732. Correct spellings of ramdomly to randomly in log. Contributed by hu xiaodong.
(cherry picked from commit 3a3566e1d1ab5f78cfb734796b41802fe039196d)
2017-11-09 15:18:32 +09:00
Brahma Reddy Battula
d25d3827d5 HDFS-12788. Reset the upload button when file upload fails. Contributed by Brahma Reddy Battula
(cherry picked from commit 410d0319cf72b9b5f3807c522237f52121d98cd5)
2017-11-08 14:49:10 +05:30
Weiwei Yang
19b1164fc6 HDFS-7060. Avoid taking locks when sending heartbeats from the DataNode. Contributed by Jiandan Yang. 2017-11-08 10:24:35 +08:00
Kihwal Lee
50b438b597 HDFS-12771. Add genstamp and block size to metasave Corrupt blocks list. Contributed by Kuhu Shukla.
(cherry picked from commit 4d2dce40bbe5242953774e6a2fc0dc9111cf5ed0)
2017-11-03 15:18:36 -05:00
Xiao Chen
71965747f4 HDFS-11467. Support ErasureCoding section in OIV XML/ReverseXML. Contributed by Huafeng Wang.
(cherry picked from commit c8eb4beabad84686f869a2397f7188499cab12c9)
2017-11-03 12:05:55 -07:00
Xiao Chen
621a50ebb1 HDFS-12725. BlockPlacementPolicyRackFaultTolerant fails with very uneven racks.
(cherry picked from commit e1187bad8e9b9abb54a55b5f9ab8373b0f64e6d7)
2017-11-02 21:53:20 -07:00
Xiao Chen
1c96e0d693 HDFS-12682. ECAdmin -listPolicies will always show SystemErasureCodingPolicies state as DISABLED.
(cherry picked from commit 4f4cea56b25d5acc14dd6d61dea70fd4a0c7a9d9)
2017-11-02 21:27:43 -07:00
Weiwei Yang
b2f717d967 HDFS-12744. More logs when short-circuit read is failed and disabled. Contributed by Weiwei Yang.
(cherry picked from commit 56b88b06705441f6f171eec7fb2fa77946ca204b)
2017-11-01 16:53:07 +08:00
Yiqun Lin
5cada4564a
HDFS-12219. Javadoc for FSNamesystem#getMaxObjects is incorrect. Contributed by Erik Krogen.
(cherry picked from commit 20304b91cc1513e3d82a01d36f4ee9c4c81b60e4)
2017-11-01 16:43:44 +09:00
John Zhuge
0ec172b42f HDFS-12714. Hadoop 3 missing fix for HDFS-5169. Contributed by Joe McDonnell.
(cherry picked from commit b8c8b5bc274211b29be125e5463662795a363f84)
2017-10-31 22:46:26 -07:00
Lei Xu
9ee04006cb HDFS-12482. Provide a configuration to adjust the weight of EC recovery tasks to adjust the speed of recovery. (lei) 2017-10-31 22:03:44 -07:00
Chris Douglas
b5f66b005c Revert "HDFS-7878. API - expose a unique file identifier."
This reverts commit 1ce0eb7d23156175db2d31f3fcbbe6529944c04b.
2017-10-31 13:56:41 -07:00
Wei-Chiu Chuang
1347e83c90 HDFS-12485. expunge may fail to remove trash from encryption zone. Contributed by Wei-Chiu Chuang.
(cherry picked from commit 8dbc8909c92d502d10a7f94d1de3171878a43b04)
2017-10-31 12:52:58 -07:00
Manoj Govindassamy
166c75a0eb HDFS-12544. SnapshotDiff - support diff generation on any snapshot root descendant directory.
(cherry picked from commit 075dd45a24398dcdcddd60da995f0dc152eee321)
2017-10-31 12:50:54 -07:00
Manoj Govindassamy
1375c7205f HDFS-12573. Divide the total blocks metrics into replicated and erasure coded. Contributed by Takanobu Asanuma.
(cherry picked from commit 78af6cdc5359404139665d81447f28d26b7bb43b)
2017-10-31 12:50:21 -07:00
Manoj Govindassamy
014184127e HDFS-12614. FSPermissionChecker#getINodeAttrs() throws NPE when INodeAttributesProvider configured.
(cherry picked from commit b406d8e3755d24ce72c443fd893a5672fd56babc)
2017-10-31 12:49:41 -07:00
Wei-Chiu Chuang
579612c9d2 HDFS-12619. Do not catch and throw unchecked exceptions if IBRs fail to process. Contributed by Wei-Chiu Chuang.
(cherry picked from commit 4ab0c8f96a41c573cc1f1e71c18871d243f952b9)
2017-10-31 12:49:08 -07:00
Akira Ajisaka
143dbf8497 HDFS-12622. Fix enumerate in HDFSErasureCoding.md. Contributed by Yiqun Lin.
(cherry picked from commit dc63a6a52b7fdf076ab83a774b0378f77c1c0cd3)
2017-10-31 12:48:29 -07:00
Andrew Wang
ae08fe518b Revert "HDFS-12499. dfs.namenode.shared.edits.dir property is currently namenode specific key. Contributed by Bharat Viswanadham."
This reverts commit f09725537e4aef28c3e192a7aacad206900aa7b5.
2017-10-31 10:46:19 -07:00
Inigo Goiri
e259030066 HDFS-12699. TestMountTable fails with Java 7. Contributed by Inigo Goiri.
(cherry picked from commit 982bd2a5bff4c490a5d62f2e4fd0d3755305349c)
2017-10-31 10:23:06 -07:00
Arpit Agarwal
f09725537e HDFS-12499. dfs.namenode.shared.edits.dir property is currently namenode specific key. Contributed by Bharat Viswanadham. 2017-10-31 10:08:05 -07:00
Chris Douglas
1ce0eb7d23 HDFS-7878. API - expose a unique file identifier.
(cherry picked from commit d015e0bbd5416943cb4875274e67b7077c00e54b)
2017-10-31 09:46:39 -07:00
Chris Douglas
34512b2d7a HDFS-12582. Replace HdfsFileStatus constructor with a builder pattern. Contributed by Bharat Viswanadham
(cherry picked from commit d55a84951abe87a31c17bd4b84cd309ed202e540)
2017-10-27 15:36:18 -07:00
Arpit Agarwal
2510fc1801 HDFS-9914. Fix configurable WebhDFS connect/read timeout. Contributed by Xiaoyu Yao. 2017-10-27 07:49:18 -07:00
Junping Du
ce10c1ef05 Add several jdiff xml files for 2.8.2 release.
(cherry picked from commit a25b5aa0cf5189247fa38e7b0a188d568eba1b6c)
2017-10-26 23:18:50 -07:00
Xiao Chen
e18d2c548b HADOOP-14957. ReconfigurationTaskStatus is exposing guava Optional in its public api. Contributed by Haibo Chen, Xiao Chen.
(cherry picked from commit e3f25f361720b544b464c5e4fbeb4f31e6c53c67)
2017-10-25 14:11:38 -07:00
Zhe Zhang
f3409e71d9 Revert "HDFS-12502. nntop should support a category based on FilesInGetListingOps."
This reverts commit aecf6c50d351e7aed2008a682677a1edb104585d.
2017-10-24 15:06:01 -07:00
Wei-Chiu Chuang
b8a2fd37dc HDFS-12249. dfsadmin -metaSave to output maintenance mode blocks. Contributed by Wellington Chevreuil.
(cherry picked from commit 0f2a69127aa40b7dccdf74ff63e2205a10ae8998)
2017-10-23 15:24:54 -07:00
Xiao Chen
a7e34be69a HDFS-12518. Re-encryption should handle task cancellation and progress better.
(cherry picked from commit 0f5287bb2fe71b35f70f977a06c31094b352512c)
2017-10-20 16:25:39 -07:00
Andrew Wang
ea149c10cf HDFS-12497. Re-enable TestDFSStripedOutputStreamWithFailure tests. Contributed by Huafeng Wang.
(cherry picked from commit 0477eff8be4505ad2730ec16621105b6df9099ae)
2017-10-20 13:27:29 -07:00
Kai Zheng
b7cb58a21d HDFS-12448. Make sure user defined erasure coding policy ID will not overflow. Contributed by Huafeng Wang 2017-10-20 09:34:58 +08:00
Inigo Goiri
f4a2f0ee9f HDFS-12620. Backporting HDFS-10467 to branch-2. Contributed by Inigo Goiri.
(cherry picked from commit 0f1c0376186de6446d595be7bb445ed6b71ae499)
2017-10-19 18:10:47 -07:00
Zhe Zhang
aecf6c50d3 HDFS-12502. nntop should support a category based on FilesInGetListingOps.
(cherry picked from commit 60bfee270ed3a653c44c0bc92396167b5022df6e)
2017-10-18 23:52:07 -07:00
Arpit Agarwal
5897095d53 HDFS-12420. Add an option to disallow 'namenode format -force'. Contributed by Ajay Kumar.
(cherry picked from commit b6942cbe9b8c9469e8c2b64c3268d671f5a43e75)
2017-10-17 16:45:21 -07:00
Lei Xu
6959db9c20 HDFS-12612. DFSStripedOutputStream.close will throw if called a second time with a failed streamer. (Lei (Eddy) Xu) 2017-10-17 15:53:07 -07:00