Commit Graph

6567 Commits

Author SHA1 Message Date
Jason Lowe c661f30a78 HDFS-12881. Output streams closed with IOUtils suppressing write errors. Contributed by Ajay Kumar
(cherry picked from commit 80db744ee5)
2017-12-14 09:53:56 -06:00
Yiqun Lin 925f3e62db HDFS-12883. RBF: Document Router and State Store metrics. Contributed by Yiqun Lin.
(cherry picked from commit 91c96bdf8e)
2017-12-14 16:02:37 +08:00
Andrew Wang 58225e4030 Update CHANGES, RELEASENOTES, jdiff for 3.0.0 release.
(cherry picked from commit d447152d49)
2017-12-13 13:05:45 -08:00
Wei-Chiu Chuang 8062a7428d HDFS-12891. Do not invalidate blocks if toInvalidate is empty. Contributed by Zsolt Venczel.
(cherry picked from commit 55fc2d6485)
2017-12-11 16:43:42 -08:00
Inigo Goiri 6a43fbe724 HDFS-12875. RBF: Complete logic for -readonly option of dfsrouteradmin add command. Contributed by Inigo Goiri.
(cherry picked from commit 5cd1056ad7)
2017-12-11 15:16:19 -08:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.) ba874d6787 HADOOP-15059. Undoing the switch of Credentials to PB format as default - done via HADOOP-12563 for supporting 2.x to 3.x upgrades.
(cherry picked from commit f19638333b)
2017-12-08 08:03:23 -08:00
Xiao Chen 1d1401ad38 HADOOP-15056. Fix TestUnbuffer#testUnbufferException failure. Contributed by Jack Bearden.
(cherry picked from commit 19e0894209)
2017-12-07 21:06:25 -08:00
Lei Xu f3143d225a HDFS-12840. Creating a file with non-default EC policy in a EC zone is not correctly serialized in the editlog. Contributed by Lei (Eddy) Xu.
(cherry picked from commit 67662e2ac9)
2017-12-07 11:20:19 -08:00
Akira Ajisaka a8be4b559a
HDFS-12889. Addendum patch to add missing file.
(cherry picked from commit 6cca5b3bcb)
2017-12-07 13:23:58 +09:00
Xiao Chen bf79246c5d HDFS-12872. EC Checksum broken when BlockAccessToken is enabled.
(cherry picked from commit 56b1ff80dd)
2017-12-05 20:48:46 -08:00
Akira Ajisaka c81057d936
HDFS-12889. Router UI is missing robots.txt file. Contributed by Bharat Viswanadham.
(cherry picked from commit 44b06d34a5)
2017-12-06 11:41:40 +09:00
Xiao Chen 55fa509eb6 HDFS-12396. Webhdfs file system should get delegation token from kms provider. Contributed by Rushabh S Shah.
(cherry picked from commit 404eab4dc0)
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 42307e3c3a)
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 0faf506245)
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 482fd5a880.
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 5304698dc8)
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 60fd0d7fd7)
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 53509f295b)
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 301641811d)
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 d331762f24)
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 94bed50471)
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 738d1a206a)
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 e182e77794)
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 3a3566e1d1)
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 410d0319cf)
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 4d2dce40bb)
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 56b88b0670)
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 20304b91cc)
2017-11-01 16:43:44 +09: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 1ce0eb7d23.
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 8dbc8909c9)
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 075dd45a24)
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 78af6cdc53)
2017-10-31 12:50:21 -07:00
Manoj Govindassamy 014184127e HDFS-12614. FSPermissionChecker#getINodeAttrs() throws NPE when INodeAttributesProvider configured.
(cherry picked from commit b406d8e375)
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 4ab0c8f96a)
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 dc63a6a52b)
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 f09725537e.
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 982bd2a5bf)
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 d015e0bbd5)
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 d55a84951a)
2017-10-27 15:36:18 -07:00
Junping Du ce10c1ef05 Add several jdiff xml files for 2.8.2 release.
(cherry picked from commit a25b5aa0cf)
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 aecf6c50d3.
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 0f2a69127a)
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 0477eff8be)
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 0f1c037618)
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 60bfee270e)
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 b6942cbe9b)
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
Lei Xu cdfcd384b2 HDFS-12613. Native EC coder should implement release() as idempotent function. (Lei (Eddy) Xu)
(cherry picked from commit 31ebccc962)
2017-10-16 19:46:26 -07:00
Xiao Chen 7c00d66118 HDFS-12642. Log block and datanode details in BlockRecoveryWorker.
(cherry picked from commit 971b3ca1acc15d9a1f8e774291813dafd16ef704)
2017-10-16 10:34:15 -07:00
Xiao Chen ca1271e218 HDFS-12637. Extend TestDistributedFileSystemWithECFile with a random EC policy. Contributed by Takanobu Asanuma.
(cherry picked from commit f57e5aae77a004ac9a8d548cf7fa2669e3642f30)
2017-10-16 09:55:31 -07:00
Xiao Chen 77ef810552 HDFS-12603. Enable async edit logging by default. Contributed by Andrew Wang.
(cherry picked from commit d0311dfc5fe92a0e0f3fb8ae92e412edce609740)
2017-10-16 09:51:19 -07:00
Xiao Chen 66847c27db HDFS-12659. Update TestDeadDatanode#testNonDFSUsedONDeadNodeReReg to increase heartbeat recheck interval. Contributed by Ajay Kumar.
(cherry picked from commit 11a7729c1474aa379a62c0440c8c1a11be261a75)
2017-10-15 19:28:30 -07:00
Arpit Agarwal 4d19e39fd7 HDFS-12553. Add nameServiceId to QJournalProtocol. Contributed by Bharat Viswanadham 2017-10-13 14:53:45 -07:00
Arpit Agarwal 0a673f1539 HDFS-12599. Remove Mockito dependency from DataNodeTestUtils. Contributed by Ted Yu.
(cherry picked from commit 09ad848b64)
2017-10-11 15:31:39 -05:00
Andrew Wang a26da9dcf2 HDFS-12547. Extend TestQuotaWithStripedBlocks with a random EC policy. Contributed by Takanobu Asanuma.
(cherry picked from commit a297fb0886)
2017-10-10 17:35:56 -07:00
Andrew Wang f1cfb2a8dc Revert "HDFS-12603. Enable async edit logging by default."
This reverts commit e9f3f49b6d.
2017-10-09 17:54:19 -07:00
Andrew Wang 1d11701e55 HDFS-12541. Extend TestSafeModeWithStripedFile with a random EC policy. Contributed by Takanobu Asanuma.
(cherry picked from commit 7938208233)
2017-10-09 13:03:39 -07:00
Andrew Wang e9f3f49b6d HDFS-12603. Enable async edit logging by default.
(cherry picked from commit afb42aeabf)
2017-10-09 11:20:04 -07:00
Lei Xu 015eb628b8 HDFS-12606. When using native decoder, DFSStripedStream.close crashes JVM after being called multiple times. (Lei (Eddy) Xu)
(cherry picked from commit 46644319e1)
2017-10-09 10:09:49 -07:00
Inigo Goiri ae9f82c603 HDFS-12577. Rename Router tooling. Contributed by Inigo Goiri.
(cherry picked from commit 53e8d0d030)
2017-10-06 19:04:47 -07:00
Inigo Goiri 87b1f87094 HDFS-12273. Federation UI. Contributed by Inigo Goiri.
(cherry picked from commit adbb2e00c7)
2017-10-06 19:04:46 -07:00
Inigo Goiri c85b4ba028 HDFS-12580. Rebasing HDFS-10467 after HDFS-12447. Contributed by Inigo Goiri.
(cherry picked from commit b12440d347)
2017-10-06 19:04:46 -07:00
Inigo Goiri 3c621636e0 HDFS-12381. [Documentation] Adding configuration keys for the Router. Contributed by Inigo Goiri.
(cherry picked from commit c2d6aa7905)
2017-10-06 19:04:45 -07:00
Inigo Goiri 43616f8531 HDFS-12450. Fixing TestNamenodeHeartbeat and support non-HA. Contributed by Inigo Goiri.
(cherry picked from commit 928d1e87f9)
2017-10-06 19:04:45 -07:00
Inigo Goiri 73d3ea8012 HDFS-12430. Rebasing HDFS-10467 After HDFS-12269 and HDFS-12218. Contributed by Inigo Goiri.
(cherry picked from commit 3302e792d4)
2017-10-06 19:04:45 -07:00
Inigo Goiri e6e7143545 HDFS-12335. Federation Metrics. Contributed by Inigo Goiri.
(cherry picked from commit 3b19e77752)
2017-10-06 19:04:44 -07:00
Inigo Goiri e8b511ca33 HDFS-12384. Fixing compilation issue with BanDuplicateClasses. Contributed by Inigo Goiri.
(cherry picked from commit fabe02c8fa)
2017-10-06 19:04:44 -07:00
Inigo Goiri ad48e844fa HDFS-10631. Federation State Store ZooKeeper implementation. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 23c4ddee11)
2017-10-06 19:04:44 -07:00
Inigo Goiri 503849477a HDFS-12312. Rebasing HDFS-10467 (2). Contributed by Inigo Goiri.
(cherry picked from commit 90ba6843fb)
2017-10-06 19:04:43 -07:00
Inigo Goiri 24d275842f HDFS-11554. [Documentation] Router-based federation documentation. Contributed by Inigo Goiri.
(cherry picked from commit ee3260211d)
2017-10-06 19:04:43 -07:00
Inigo Goiri 54a355dc8d HDFS-10646. Federation admin tool. Contributed by Inigo Goiri.
(cherry picked from commit ae27e31fbc)
2017-10-06 19:04:43 -07:00
Inigo Goiri a0cce0fa0b HDFS-10880. Federation Mount Table State Store internal API. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 58b97df661)
2017-10-06 19:04:42 -07:00
Inigo Goiri c0fb7b283e HDFS-11826. Federation Namenode Heartbeat. Contributed by Inigo Goiri.
(cherry picked from commit 928f8dab52)
2017-10-06 19:04:41 -07:00
Inigo Goiri a11e99efeb HDFS-10687. Federation Membership State Store internal API. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 95cae08849)
2017-10-06 19:04:41 -07:00
Inigo Goiri ad0fca5dea HDFS-12223. Rebasing HDFS-10467. Contributed by Inigo Goiri.
(cherry picked from commit 47db6e9d8e)
2017-10-06 19:04:41 -07:00
Inigo Goiri 2b99a4d29f HDFS-11546. Federation Router RPC server. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 8a9cdebebf)
2017-10-06 19:04:40 -07:00
Inigo Goiri 9b09f73006 HDFS-10630. Federation State Store FS Implementation. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit c6e0bd640c)
2017-10-06 19:04:40 -07:00
Inigo 05afc382d9 HDFS-10882. Federation State Store Interface API. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 6d94c90ece)
2017-10-06 19:04:39 -07:00
Inigo ff134679e0 HDFS-10881. Federation State Store Driver API. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 0f88e04915)
2017-10-06 19:04:39 -07:00
Inigo 9e3491fafa HDFS-10629. Federation Roter. Contributed by Jason Kace and Inigo Goiri.
(cherry picked from commit 6821e80172)
2017-10-06 19:04:16 -07:00
Xiao Chen 3106552b75 HADOOP-14521. KMS client needs retry logic. Contributed by Rushabh S Shah.
(cherry picked from commit 212342d6db14673f8f5652a5209e1c4fcc0f0ede)
2017-10-05 19:47:13 -07:00
Andrew Wang e159272003 HDFS-12567. BlockPlacementPolicyRackFaultTolerant fails with racks with very few nodes.
(cherry picked from commit 644c2f6924)
2017-10-05 16:58:46 -07:00
Lei Xu eb76d3dbec HDFS-12569. Unset EC policy logs empty payload in edit log. (Lei (Eddy) Xu)
(cherry picked from commit 0eab2fcac615228447e7f8bdf4b3ee742ea796ae)
2017-10-02 15:33:35 -07:00
Lei Xu 337506190b HDFS-12453. TestDataNodeHotSwapVolumes fails in trunk Jenkins runs. (Lei (Eddy) Xu) 2017-09-29 10:47:37 -07:00
Andrew Wang 5a4f37019a Preparing for 3.0.0 GA development 2017-09-28 11:32:01 -07:00
Manoj Govindassamy 46031d84fb HDFS-12404. Rename hdfs config authorization.provider.bypass.users to attributes.provider.bypass.users.
(cherry picked from commit 3b3be355b3)
2017-09-28 10:22:25 -07:00
Lei Xu d9dd856739 HDFS-12409. Add metrics of execution time of different stages in EC recovery task. (Lei (Eddy) Xu)
(cherry picked from commit 73aed34dff)
2017-09-28 10:21:54 -07:00
Lei Xu 58eacdbb42 HDFS-12412. Change ErasureCodingWorker.stripedReadPool to cached thread pool. (Lei (Eddy) Xu)
(cherry picked from commit 123342cd07)
2017-09-28 10:21:24 -07:00