Commit Graph

6577 Commits

Author SHA1 Message Date
Brahma Reddy Battula 9b09503c8b HDFS-11849. JournalNode startup failure exception should be logged in log file. Contributed By Surendra Singh Lilhore. 2017-06-08 10:44:43 -07:00
Sunil G 8ec366b0f8 YARN-6584. Correct license headers in hadoop-common, hdfs, yarn and mapreduce. Contributed by Yeliang Cang. 2017-06-08 10:44:43 -07:00
Arpit Agarwal c3f029c1d8 HDFS-11842. TestDataNodeOutlierDetectionViaMetrics UT fails intermittently. Controbuted by Hanisha Koneru. 2017-06-08 10:44:41 -07:00
Arpit Agarwal 5ea7e16fa4 HDFS-11827. NPE is thrown when log level changed in BlockPlacementPolicyDefault#chooseRandom() method. Contributed by xupeng. 2017-06-08 10:44:41 -07:00
Akira Ajisaka 1c6ec991b5 HDFS-11696. Fix warnings from Spotbugs in hadoop-hdfs. Contributed by Yiqun Lin. 2017-06-08 10:44:40 -07:00
Kihwal Lee 915b9f7fcf HDFS-11641. Reduce cost of audit logging by using FileStatus instead of HdfsFileStatus. Contributed by Daryn Sharp. 2017-06-08 10:44:40 -07:00
Akira Ajisaka eec43a8c56 HDFS-11833. HDFS architecture documentation descibes outdated placement policy. Contributed by Chen Liang. 2017-06-08 10:44:40 -07:00
Jason Lowe 0fe0687c3e HDFS-11818. TestBlockManager.testSufficientlyReplBlocksUsesNewRack fails intermittently. Contributed by Nathan Roberts 2017-06-08 10:44:40 -07:00
Vinayakumar B be303c2990 HDFS-11674. reserveSpaceForReplicas is not released if append request failed due to mirror down and replica recovered (Contributed by Vinayakumar B) 2017-06-08 10:44:40 -07:00
Akira Ajisaka ccdcc34490 HADOOP-14401. maven-project-info-reports-plugin can be removed. Contributed by Andras Bokor. 2017-06-08 10:44:39 -07:00
Andrew Wang b78d4b20fd HDFS-11757. Query StreamCapabilities when creating balancer's lock file. Contributed by SammiChen. 2017-06-08 10:44:39 -07:00
Chris Douglas 39e6331772 HDFS-11681. DatanodeStorageInfo#getBlockIterator() should return an iterator to an unmodifiable set Contributed by Virajith Jalaparti 2017-06-08 10:44:39 -07:00
Kihwal Lee 070a4830f6 HDFS-11755. Underconstruction blocks can be considered missing. Contributed by Nathan Roberts. 2017-06-08 10:44:39 -07:00
Jason Lowe b7b758ab11 HDFS-11745. Increase HDFS test timeouts from 1 second to 10 seconds. Contributed by Eric Badger 2017-06-08 10:44:39 -07:00
Andrew Wang 06c940a317 HADOOP-14386. Rewind trunk from Guava 21.0 back to Guava 11.0.2. 2017-06-08 10:44:37 -07:00
Xiaoyu Yao 058129bca7 HDFS-11952. Ozone: Fix TestContainerSQLCli#testConvertContainerDB. Contributed by Weiwei Yang. 2017-06-08 10:07:16 -07:00
Weiwei Yang 23d7d613df HDFS-11779. Ozone: KSM: add listBuckets. Contributed by Weiwei Yang. 2017-06-08 17:38:48 +08:00
Xiaoyu Yao da8bc385a7 HDFS-11880. Ozone: KSM: Remove protobuf formats from KSM wrappers. Contributed by Nandakumar Vadivelu. 2017-06-07 14:49:44 -07:00
Xiaoyu Yao 18706f433f HDFS-11777. Ozone: KSM: add deleteBucket. Contributed by Nandakumar Vadivelu. 2017-06-07 09:45:34 -07:00
Anu Engineer 9961fa3da0 HDFS-11926. Ozone: Implement a common helper to return a range of KVs in levelDB. Contributed by Weiwei Yang. 2017-06-06 23:07:17 -07:00
Anu Engineer 74ab303993 HDFS-11568. Ozone: Create metadata path automatically after null checking. Contributed by Mukul Kumar Singh. 2017-06-06 16:46:15 -07:00
Weiwei Yang 245c6fed97 HDFS-11887. Shared XceiverClient should be closed if there is no open clients to avoid resource leak. Contributed by Mukul Kumar Singh. 2017-06-06 21:20:20 +08:00
Anu Engineer b8f4713861 HDFS-11919. Ozone: SCM: TestNodeManager takes too long to execute. Contributed by Yiqun Lin. 2017-06-05 21:34:32 -07:00
Chen Liang 7f50a36749 HDFS-11822. Block Storage: Fix TestCBlockCLI, failing because of " Address already in use". Contributed by Mukul Kumar Singh. 2017-06-05 10:33:00 -07:00
Weiwei Yang d50c8de46c HDFS-11781. Ozone: KSM: Add deleteKey. Contributed by Yuanbo Liu. 2017-06-05 21:04:25 +08:00
Anu Engineer c7dd72e2fe HDFS-11771. Ozone: KSM: Add checkVolumeAccess. Contributed by Mukul Kumar Singh. 2017-06-02 17:04:10 -07:00
Anu Engineer 776d2d4de7 HDFS-11796. Ozone: MiniOzoneCluster should set "ozone.handler.type" key correctly. Contributed by Mukul Kumar Singh. 2017-06-02 16:24:16 -07:00
Anu Engineer 5cdd880078 HDFS-11913. Ozone: TestKeySpaceManager#testDeleteVolume fails. Contributed by Weiwei Yang. 2017-06-02 00:48:39 -07:00
Anu Engineer f289e8e737 HDFS-11597. Ozone: Add Ratis management API. Contributed by Tsz Wo Nicholas Sze. 2017-06-01 15:36:58 -07:00
Anu Engineer 988b25419c HDFS-11894. Ozone: Cleanup imports. Contributed by Weiwei Yang. 2017-06-01 13:07:20 -07:00
Mingliang Liu 9e2873db29 HDFS-11903. Ozone: Cleaning up local storage when closing MiniOzoneCluster. Contributed by Mingliang Liu 2017-05-31 15:00:09 -07:00
Xiaoyu Yao 9cb63fdba0 HDFS-11774. Ozone: KSM: add deleteVolume. Contributed by Mukul Kumar Singh. 2017-05-31 14:21:17 -07:00
Xiaoyu Yao 3983e94f0d HDFS-11776. Ozone: KSM: add SetBucketProperty. Contributed by Nandakumar Vadivelu. 2017-05-31 08:37:09 -07:00
Xiaoyu Yao 122d660f78 HDFS-11853. Ozone: KSM: Add getKey. Contributed by Chen Liang. 2017-05-30 15:15:55 -07:00
Anu Engineer 43febfa2a9 HDFS-11655. Ozone: CLI: Guarantees user runs SCM commands has appropriate permission. Contributed by Weiwei Yang. 2017-05-30 11:08:51 -07:00
Tsz-Wo Nicholas Sze c1d714d933 HDFS-11865. Ozone: Do not initialize Ratis cluster during datanode startup. 2017-05-28 15:19:32 +08:00
Xiaoyu Yao e641bee7b7 HDFS-11780. Ozone: KSM: Add putKey. Contributed by Chen Liang. 2017-05-25 22:06:17 -07:00
Xiaoyu Yao 67da8be745 HDFS-11846. Ozone: Fix Http connection leaks in ozone clients. Contributed by Weiwei Yang. 2017-05-24 12:34:37 -07:00
Xiaoyu Yao 41d5a45e59 HDFS-11778. Ozone: KSM: add getBucketInfo. Contributed by Nandakumar Vadivelu. 2017-05-24 12:25:22 -07:00
Xiaoyu Yao 9f7b8a166b HDFS-11859. Ozone: SCM: Separate BlockLocationProtocol from ContainerLocationProtocol. Contributed by Xiaoyu Yao. 2017-05-23 10:56:45 -07:00
Chen Liang 5bba3ce765 HDFS-11727. Block Storage: Retry Blocks should be requeued when cblock is restarted. Contributed by Mukul Kumar Singh. 2017-05-23 10:55:17 -07:00
Xiaoyu Yao 3ff857f63e HDFS-11770. Ozone: KSM: Add setVolumeProperty. Contributed by Mukul Kumar Singh. 2017-05-22 13:50:35 -07:00
Xiaoyu Yao e0704c0593 HDFS-11860. Ozone: SCM: SCMContainerPlacementCapacity#chooseNode sometimes does not remove chosen node from healthy list. Contributed by Xiaoyu Yao. 2017-05-22 13:18:04 -07:00
Chen Liang b72ac9273e HDFS-11850. Ozone: Stack Overflow in XceiverClientManager because of race condition in accessing openClient. Contributed by Mukul Kumar Singh. 2017-05-22 10:20:04 -07:00
Weiwei Yang b4e5c55436 HDFS-11830. Ozone: Datanode needs to re-register to SCM if SCM is restarted. Contributed by Weiwei Yang. 2017-05-20 10:28:12 +08:00
Tsz-Wo Nicholas Sze 24eb26cfab HDFS-11843. Ozone: XceiverClientRatis should implement XceiverClientSpi.connect(). 2017-05-19 17:08:40 -07:00
Chen Liang 914ceb2587 HDFS-11835. Block Storage: Overwrite of blocks fails. Contributed by Mukul Kumar Singh. 2017-05-19 10:29:03 -07:00
Xiaoyu Yao 002bb5faa8 HDFS-11775. Ozone: KSM: add createBucket. Contributed by Nandakumar Vadivelu. 2017-05-18 13:39:21 -07:00
Weiwei Yang 63cafc0e29 HDFS-11824. Ozone: Fix javac warnings. Contributed by Yiqun Lin. 2017-05-18 14:02:52 +08:00
Weiwei Yang ac2d219007 HDFS-11836. Ozone : add sql debug CLI to hdfs script. Contributed by Chen Liang. 2017-05-18 11:09:31 +08:00
Xiaoyu Yao 7dbe89d017 HDFS-11831. Ozone: Improve the way of getting test file path in unit tests for Windows. Contributed by Yiqun Lin. 2017-05-16 15:48:51 -07:00
Anu Engineer a8393b4b87 HDFS-11769. Ozone: KSM: Add createVolume API. Contributed by Mukul Kumar Singh. 2017-05-15 21:38:08 -07:00
Xiaoyu Yao 6e8584fc13 HDFS-11693. Ozone:Add archive support to containers. Contributed by Anu Engineer. 2017-05-15 16:36:38 -07:00
Chen Liang 7bf7872759 HDFS-11650. Ozone: fix the consistently timeout test testUpgradeFromRel22Image. Contributed by Chen Liang. 2017-05-15 15:51:08 -07:00
Chen Liang e40e09540b HDFS-11694. Block Storage: Add Support for 2 BlockIDBuffers and also for periodic flush of BlockIDBuffer. Contributed by Mukul Kumar Singh 2017-05-15 10:35:44 -07:00
Xiaoyu Yao 055e556e67 HDFS-11815. CBlockManager#main should join() after start() service. Contributed by Chen Liang. 2017-05-14 06:12:19 -07:00
Xiaoyu Yao b8e063ebcb HDFS-11805. Ensure LevelDB DBIterator is closed. Contributed by Chen Liang. 2017-05-14 06:06:58 -07:00
Xiaoyu Yao 7e8b3e2540 HDFS-11811. Ozone: SCM: Support Delete Block. Contributed by Xiaoyu Yao. 2017-05-12 16:02:05 -07:00
Chen Liang 7bf301e20e HDFS-11802. Ozone : add DEBUG CLI support for open container db file. Contributed by Chen Liang 2017-05-12 13:13:55 -07:00
Anu Engineer 2796b3435e HDFS-11768. Ozone: KSM: Create Key Space manager service. Contributed by Anu Engineer. 2017-05-11 21:11:32 -07:00
Chen Liang 1b1b74a096 HDFS-11788. Ozone : add DEBUG CLI support for nodepool db file. Contributed by Chen Liang 2017-05-10 15:15:22 -07:00
Anu Engineer 5df9a1d2ca HDFS-11798. Ozone: Correct description for ozone.handler.type in ozone-default.xml. Contributed by Mukul Kumar Singh. 2017-05-10 14:43:53 -07:00
Anu Engineer 38e2697066 HDFS-11783. Ozone: Fix spotbugs warnings. Contributed by Weiwei Yang. 2017-05-10 11:40:06 -07:00
Weiwei Yang cee6438005 HDFS-11680. Ozone: SCM CLI: Implement info container command. Contributed by Yuanbo Liu. 2017-05-10 15:55:48 +08:00
Chen Liang 6516706eb2 HDFS-11756. Ozone : add DEBUG CLI support of blockDB file. Contributed by Chen Liang 2017-05-09 13:42:47 -07:00
Weiwei Yang 608605387e HDFS-11716. Ozone: SCM: CLI: Revisit delete container API. Contributed by Weiwei Yang. 2017-05-09 14:14:27 +08:00
Anu Engineer 86414507f4 Merge branch 'trunk' into HDFS-7240
Conflicts:
	hadoop-common-project/hadoop-common/src/main/conf/log4j.properties
	hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/RemoteWasbAuthorizerImpl.java
2017-05-08 22:42:21 -07:00
Andrew Wang 54fd0e44b7 HDFS-11644. Support for querying outputstream capabilities. Contributed by Manoj Govindassamy. 2017-05-08 21:59:49 -07:00
Kihwal Lee cef2815cf4 HDFS-11702. Remove indefinite caching of key provider uri in DFSClient. Contributed by Rushabh S Shah. 2017-05-08 08:27:37 -05:00
Andrew Wang a9a3d219fe HDFS-9342. Erasure coding: client should update and commit block based on acknowledged size. Contributed by SammiChen. 2017-05-07 14:45:26 -07:00
Anu Engineer f713452e7e HDFS-11761. Ozone: Get container report should only report closed containers. Contributed by Weiwei Yang. 2017-05-06 09:44:07 -07:00
Weiwei Yang 2feec0045d HDFS-11759. Ozone : SCMNodeManager#close() should also close node pool manager object. Contributed by Chen Liang. 2017-05-06 23:12:54 +08:00
Chris Douglas e4f34ecb04 HADOOP-14390. Correct spelling of 'succeed' and variants. Contributed by Dongtao Zhang 2017-05-05 12:10:50 -07:00
Chris Douglas a3954ccab1 HDFS-9807. Add an optional StorageID to writes. Contributed by Ewan Higgs 2017-05-05 12:01:26 -07:00
Yiqun Lin 97c2e576c9 HDFS-11530. Use HDFS specific network topology to choose datanode in BlockPlacementPolicyDefault. Contributed by Yiqun Lin and Chen Liang. 2017-05-05 11:54:50 +08:00
Arpit Agarwal 07761af357 HDFS-11448. JN log segment syncing should support HA upgrade. Contributed by Hanisha Koneru. 2017-05-04 15:57:44 -07:00
Anu Engineer a704a24757 HDFS-11698. Ozone: SCM: CLI: Add Debug command. Contributed by Chen Liang. 2017-05-04 13:55:07 -07:00
Lei Xu 25f5d9ad5e HDFS-11687. Add new public encryption APIs required by Hive. (lei)
Change-Id: I4a23a00de63ad18022312ceb1f306a87d032d07c
2017-05-04 12:06:50 -07:00
Andrew Wang c2a52ef9c2 HDFS-11643. Add shouldReplicate option to create builder. Contributed by SammiChen. 2017-05-04 11:39:14 -07:00
Arpit Agarwal 81092b1f11 HDFS-11722. Change Datanode file IO profiling sampling to percentage. Contributed by Hanisha Koneru. 2017-05-03 16:29:30 -07:00
Arpit Agarwal 30cd265134 Revert "HDFS-11488. JN log segment syncing should support HA upgrade. Contributed by Hanisha Koneru."
This reverts commit 08fb82d6d1.
2017-05-03 16:28:47 -07:00
Arpit Agarwal 08fb82d6d1 HDFS-11488. JN log segment syncing should support HA upgrade. Contributed by Hanisha Koneru. 2017-05-03 15:46:08 -07:00
Anu Engineer 167ab4df0d HDFS-11712. Ozone: Reuse ObjectMapper instance to improve the performance. Contributed by Yiqun Lin. 2017-05-03 14:25:41 -07:00
Anu Engineer 9352ecfb04 HDFS-11747. Ozone : need to fix OZONE_SCM_DEFAULT_PORT. Contributed by Chen Liang. 2017-05-03 13:48:06 -07:00
Mingliang Liu 83dded556d HDFS-11739. Fix regression in tests caused by YARN-679. Contributed by Steve Loughran 2017-05-03 11:22:44 -07:00
Weiwei Yang 6def74c6ca HDFS-11725. Ozone: Revise create container CLI specification and implementation. Contributed by Weiwei Yang 2017-05-03 11:21:15 +08:00
Erik Krogen d9014bda93 HDFS-11717. Add unit test for HDFS-11709 StandbyCheckpointer should handle non-existing legacyOivImageDir gracefully. Contributed by Erik Krogen. 2017-05-02 18:34:11 -07:00
Vinayakumar B b0f54ea035 HDFS-11710. hadoop-hdfs-native-client build fails in trunk in Windows after HDFS-11529 (Contributed by Sailesh Mukil) 2017-05-02 10:32:38 +05:30
Weiwei Yang 4b0f51306a HDFS-11728. Ozone: add the DB names to OzoneConsts. Contributed by Chen Liang. 2017-05-02 11:02:26 +08:00
Xiaoyu Yao 1058b40843 HDFS-11593. Change SimpleHttpProxyHandler#exceptionCaught log level from info to debug. Contributed by Xiaobing Zhou. 2017-05-01 16:12:51 -07:00
Kihwal Lee 4cfc866436 HDFS-11714. Newly added NN storage directory won't get initialized and cause space exhaustion. Contributed by Kihwal Lee. 2017-05-01 17:29:25 -05:00
John Zhuge 343948ca79 HDFS-11724. libhdfs compilation is broken on OS X. Contributed by John Zhuge. 2017-05-01 13:37:55 -07:00
Kihwal Lee 07b98e7830 HDFS-11609. Some blocks can be permanently lost if nodes are decommissioned while dead. Contributed by Kihwal Lee. 2017-05-01 14:19:02 -05:00
Anu Engineer c3f397eead HDFS-11675. Ozone: SCM CLI: Implement delete container command. Contributed by Weiwei Yang. 2017-05-01 09:26:35 -07:00
Akira Ajisaka b7d769d020
HADOOP-14359. Remove unnecessary shading of commons-httpclient. Contributed by Wei-Chiu Chuang. 2017-05-01 15:22:28 +09:00
Lei Xu 19a7e94ee4 HDFS-11718. DFSStripedOutputStream hsync/hflush should not throw UnsupportedOperationException. (Manoj Govindassamy via lei)
Change-Id: I4cc226b80c64a0d900a3b1ce71e51f051cd29c22
2017-04-28 17:06:14 -07:00
Kai Zheng cb672a45a0 HDFS-11605. Allow user to customize new erasure code policies. Contributed by Huafeng Wang 2017-04-28 13:18:50 +08:00
Wei-Chiu Chuang bbf8cac14d HADOOP-13200. Implement customizable and configurable erasure coders. Contributed by Tim Yao. 2017-04-27 12:39:47 -07:00
Wei-Chiu Chuang ddaeb3e497 Revert "HADOOP-13200. Implement customizable and configurable erasure coders. Contributed by Tim Yao."
This reverts commit 872088c6e7.
2017-04-27 12:25:47 -07:00
Wei-Chiu Chuang 872088c6e7 HADOOP-13200. Implement customizable and configurable erasure coders. Contributed by Tim Yao. 2017-04-27 11:59:33 -07:00