Commit Graph

6729 Commits

Author SHA1 Message Date
Anu Engineer 2959102b1f HDFS-12086. Ozone: Add the unit test for KSMMetrics. Contributed by Yiqun Lin. 2017-07-05 15:23:11 -07:00
Anu Engineer 62c0cc767e HDFS-12081. Ozone: Add infoKey REST API document. Contributed by Weiwei Yang. 2017-07-05 11:53:02 -07:00
Anu Engineer ebbc04c2d5 HDFS-12053. Ozone: ozone server should create missing metadata directory if it has permission to. Contributed by Weiwei Yang. 2017-07-05 11:15:16 -07:00
Akira Ajisaka 186650d21d
HDFS-12078. Add time unit to the description of property dfs.namenode.stale.datanode.interval in hdfs-default.xml. Contributed by Weiwei Yang. 2017-07-04 14:51:52 +09:00
Akira Ajisaka b0560e0624
HDFS-12079. Description of dfs.block.invalidate.limit is incorrect in hdfs-default.xml. Contributed by Weiwei Yang. 2017-07-04 14:02:14 +09:00
Weiwei Yang b23b01645b HDFS-12035. Ozone: listKey doesn't work from ozone commandline. Contributed by Yiqun Lin. 2017-07-04 09:56:01 +08:00
Weiwei Yang 737759e3d5 HDFS-12048. Ozone:TestOzoneContainerRatis & TestRatisManager are failing consistently. Contributed by Mukul Kumar Singh. 2017-07-03 22:11:04 +08:00
Weiwei Yang f6a51ad440 HDFS-12023. Ozone: Test if all the configuration keys are documented in ozone-defaults.xml. Contributed by Elek, Marton. 2017-07-03 22:01:29 +08:00
Weiwei Yang 1fd09a865f HDFS-12047. Ozone: Add REST API documentation. Contributed by Weiwei Yang. 2017-07-03 10:08:29 +08:00
Weiwei Yang b3c8f9c810 HDFS-12030. Ozone: CLI: support infoKey command. Contributed by Yiqun Lin. 2017-07-01 23:01:09 +08:00
Weiwei Yang b6bc23d406 HDFS-12002. Ozone : SCM cli misc fixes/improvements. Contributed by Chen Liang. 2017-07-01 15:23:22 +08:00
Anu Engineer f4af0c91c5 HDFS-11955. Ozone: Set proper parameter default values for listBuckets http request. Contributed by Weiwei Yang. 2017-07-01 00:08:30 -07:00
Anu Engineer 2708e6260d HDFS-11773. Ozone: KSM : add listVolumes. Contributed by Weiwei Yang. 2017-06-30 23:44:15 -07:00
Chen Liang 0e0893930c HDFS-12063. Ozone: Ozone shell: Multiple RPC calls for put/get key. Contributed by Yiqun Lin. 2017-06-30 14:36:26 -07:00
Wei-Chiu Chuang bcba844d11 HDFS-12042. Lazy initialize AbstractINodeDiffList#diffs for snapshots to reduce memory consumption. Contributed by Misha Dmitriev. 2017-06-30 10:28:01 -07:00
Arpit Agarwal 6a9dc5f44b HDFS-12043. Add counters for block re-replication. Contributed by Chen Liang. 2017-06-30 10:20:12 -07:00
Arpit Agarwal a2f0cbd92f Revert "HDFS-12043. Add counters for block re-replication. Contributed by Chen Liang."
Accidentally committed the wrong patch version, reverting to fix that.

This reverts commit 900221f95e.
2017-06-30 10:19:27 -07:00
Andrew Wang af2773f609 Updating version for 3.0.0-beta1 development 2017-06-29 17:57:40 -07:00
Arpit Agarwal 900221f95e HDFS-12043. Add counters for block re-replication. Contributed by Chen Liang. 2017-06-29 17:15:13 -07:00
Chen Liang ba647764f3 HDFS-12050. Ozone: StorageHandler: Implementation of close for releasing resources during shutdown. Contributed by Nandakumar. 2017-06-29 14:43:30 -07:00
Andrew Wang 441378e7e4 Revert "HDFS-11696. Fix warnings from Spotbugs in hadoop-hdfs. Contributed by Yiqun Lin."
This reverts commit 89a8edc014.

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
2017-06-29 13:54:16 -07:00
Wei-Chiu Chuang 16c8dbde57 HDFS-11881. NameNode consumes a lot of memory for snapshot diff report generation. Contributed by Manoj Govindassamy. 2017-06-29 06:38:41 -07:00
Wei-Chiu Chuang e9d8bdfdf5 HADOOP-14297. Update the documentation about the new ec codecs config keys. Contributed by Kai Sasaki. 2017-06-28 13:53:54 -07:00
Lei Xu d6df0fdbbd Add -E option in 'ls' to list erasure coding policy of each file and directory if applicable. Contributed by luhuichun via lei. 2017-06-28 13:47:23 -07:00
Wei-Chiu Chuang f99b6d19de HDFS-11870. Add CLI cmd to enable/disable an erasure code policy. Contributed by lufei. 2017-06-28 10:54:25 -07:00
Weiwei Yang 4c683936e7 HDFS-12031. Ozone: Rename OzoneClient to OzoneRestClient. Contributed by Nandakumar. 2017-06-28 23:57:34 +08:00
Akira Ajisaka 07defa4c09
HDFS-12040. TestFsDatasetImpl.testCleanShutdownOfVolume fails. Contributed by hu xiaodong. 2017-06-27 20:49:26 +09:00
Anu Engineer 8641a2c08b HDFS-12045. Add log when Diskbalancer volume is transient storage type. Contributed by steven-wugang. 2017-06-27 00:39:47 -07:00
Weiwei Yang f98c3523a2 HDFS-12018. Ozone: Misc: Add CBlocks defaults to ozone-defaults.xml. Contributed by Chen Liang. 2017-06-27 12:55:08 +08:00
Weiwei Yang 102dd20b73 HDFS-12028. Ozone: CLI: remove noisy slf4j binding output from hdfs oz command. Contributed by Chen Liang. 2017-06-27 12:35:16 +08:00
Lei Xu 144753e87f HDFS-12033. DatanodeManager picking EC recovery tasks should also consider the number of regular replication tasks. Contributed by Lei (Eddy) Xu. 2017-06-26 15:43:50 -07:00
Andrew Wang 2c367b464c HDFS-11956. Do not require a storage ID or target storage IDs when writing a block. Contributed by Ewan Higgs. 2017-06-26 11:20:07 -07:00
Andrew Wang 06c8ca3bb3 HDFS-12032. Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded. 2017-06-26 10:54:01 -07:00
Anu Engineer 31eafb15bc HDFS-12007. Ozone: Enable HttpServer2 for SCM and KSM. Contributed by Elek, Marton. 2017-06-24 00:44:32 -07:00
Xiaoyu Yao 29c942b225 HDFS-12016. Ozone: SCM: Container metadata are not loaded properly after datanode restart. Contributed by Xiaoyu Yao. 2017-06-23 14:32:05 -07:00
Brahma Reddy Battula abdea26280 HDFS-12024. Fix typo's in FsDatasetImpl.java. Contributed by Yasen liu. 2017-06-23 22:56:28 +08:00
Anu Engineer c395bc8faa HDFS-11990. Ozone: Add all configurable entries into ozone-default.xml. Contributed by Yiqun Lin. 2017-06-22 23:04:07 -07:00
Xiao Chen 68dc7c2405 HDFS-12009. Accept human-friendly units in dfsadmin -setBalancerBandwidth and -setQuota. Contributed by Andrew Wang. 2017-06-22 19:57:54 -07:00
Arpit Agarwal 6d116ffad2 HDFS-11789. Maintain Short-Circuit Read Statistics. Contributed by Hanisha Koneru. 2017-06-22 13:35:56 -07:00
Vinayakumar B 8dbd53ef9f HDFS-11067. DFS#listStatusIterator(..) should throw FileNotFoundException if the directory deleted before fetching next batch of entries. Contributed by Vinayakumar B. 2017-06-22 17:37:08 +05:30
Arpit Agarwal 9ae9467f92 HDFS-11998. Enable DFSNetworkTopology as default. Contributed by Chen Liang. 2017-06-21 22:01:41 -07:00
Anu Engineer c77d7f9047 HDFS-11970. Ozone: TestXceiverClientManager.testFreeByEviction fails occasionally. Contributed by Mukul Kumar Singh. 2017-06-21 18:01:58 -07:00
Zhe Zhang c22cf00442 Confusion/name conflict between NameNodeActivity#BlockReportNumOps and RpcDetailedActivity#BlockReportNumOps. Contributed by Erik Krogen. 2017-06-21 16:34:19 -07:00
Kai Zheng 5db3f98468 HDFS-11606. Add CLI cmd to remove an erasure code policy. Contributed by Tim Yao 2017-06-21 14:01:55 +08:00
Yiqun Lin b9a6441e1b HDFS-11963. Ozone: Documentation: Add getting started page (addendum). Contributed by Yiqun Lin. 2017-06-21 10:32:35 +08:00
Yiqun Lin 66552374e1 HDFS-11983. Ozone: Add documentation for metrics in KSMMetrics to OzoneMetrics.md. Contributed by Yiqun Lin. 2017-06-21 10:27:01 +08:00
Akira Ajisaka 1a598479a9
HDFS-11992. Replace commons-logging APIs with slf4j in FsDatasetImpl. Contributed by hu xiaodong. 2017-06-21 11:19:48 +09:00
Anu Engineer 14a94e7a4f HDFS-11999. Ozone: Clarify startup error message of Datanode in case namenode is missing. Contributed by Marton Elek. 2017-06-20 16:37:03 -07:00
Lei Xu 45ff4d38e6 HDFS-11647. Add -E option in hdfs "count" command to show erasure policy summarization. Contributed by luhuichun. 2017-06-20 11:55:09 -07:00
Anu Engineer 185e3ad744 HDFS-11585. Ozone: Support force update a container. Contributed by Yuanbo Liu. 2017-06-20 11:13:12 -07:00
Wei-Chiu Chuang 2b654a493c HDFS-11978. Remove invalid '-usage' command of 'ec' and add missing commands 'addPolicies' 'listCodecs' in doc. Contributed by wenxin he. 2017-06-20 09:36:55 -07:00
Kihwal Lee 8c0769dee4 HDFS-11960. Successfully closed files can stay under-replicated. Contributed by Kihwal Lee. 2017-06-20 09:11:23 -05:00
Brahma Reddy Battula 2e9daa2e27 HADOOP-14533. Size of args cannot be less than zero in TraceAdmin#run as its linkedlist. Contributed by Weisen Han. 2017-06-20 20:44:31 +08:00
Akira Ajisaka 2c769167db
HDFS-11345. Document the configuration key for FSNamesystem lock fairness. Contributed by Erik Krogen. 2017-06-20 16:35:54 +09:00
Anu Engineer f8110c3e6e HDFS-11963. Ozone: Documentation: Add getting started page. Contributed by Anu Engineer. 2017-06-19 21:29:18 -07:00
Brahma Reddy Battula 099cbb427a HDFS-11890. Handle NPE in BlockRecoveryWorker when DN is getting shoutdown. Contributed by Surendra Singh Lilhore. 2017-06-20 11:03:56 +08:00
Masatake Iwasaki d954a64730 HDFS-11995. HDFS Architecture documentation incorrectly describes writing to a local temporary file. Contributed by Nandakumar. 2017-06-20 08:07:42 +09:00
Xiaoyu Yao 0f671caf8d HDFS-11782. Ozone: KSM: Add listKey. Contributed by Yiqun Lin. 2017-06-19 15:55:58 -07:00
Lei Xu 73fb75017e HDFS-11916. Extend TestErasureCodingPolicies/TestErasureCodingPolicyWithSnapshot with a random EC policy. Contributed by Takanobu Asanuma. 2017-06-19 10:25:20 -07:00
Lei Xu 6460df21a0 HADOOP-14395. Provide Builder pattern for DistributedFileSystem.append. Contributed by Lei (Eddy) Xu. 2017-06-16 17:24:00 -07:00
Andrew Wang fb68980959 HDFS-10480. Add an admin command to list currently open files. Contributed by Manoj Govindassamy. 2017-06-15 14:46:55 -07:00
Lei Xu 3f5108723c HDFS-11682. TestBalancer.testBalancerWithStripedFile is flaky. (lei) 2017-06-15 11:04:50 -07:00
Lei Xu 5e7cfdca7b HADOOP-14394. Provide Builder pattern for DistributedFileSystem.create. (lei) 2017-06-15 10:59:24 -07:00
Anu Engineer 3a868fe8c4 HDFS-11979. Ozone: TestContainerPersistence never uses MiniOzoneCluster. Contributed by Tsz Wo Nicholas Sze. 2017-06-15 10:33:09 -07:00
Anu Engineer 505dd9608a HDFS-11962. Ozone: Add stop-ozone.sh script. Contributed by Weiwei Yang. 2017-06-15 10:13:48 -07:00
Anu Engineer 150ac98863 HDFS-11961. Ozone: Add start-ozone.sh to quickly start ozone. Contributed by Weiwei Yang. 2017-06-15 10:02:59 -07:00
Xiaoyu Yao a3c75be588 HDFS-11977. Ozone: cannot enable test debug/trace log. Contributed by Tsz Wo Nicholas Sze. 2017-06-15 08:25:20 -07:00
Akira Ajisaka 315f07700d
HDFS-11736. OIV tests should not write outside 'target' directory. Contributed by Yiqun Lin. 2017-06-15 13:46:20 +09:00
Anu Engineer ba1afb25cc HDFS-11969. Block Storage: Convert unnecessary info log levels to debug. Contributed by Mukul Kumar Singh. 2017-06-14 19:33:59 -07:00
Lei Xu 999c8fcbef HDFS-10999. Introduce separate stats for Replicated and Erasure Coded Blocks apart from the current Aggregated stats. (Manoj Govindassamy via lei) 2017-06-14 10:44:19 -07:00
Tsz-Wo Nicholas Sze 0688a1c25a HDFS-11946. Ozone: Containers in different datanodes are mapped to the same location. Contributed by Nandakumar 2017-06-13 17:25:20 +08:00
Arpit Agarwal 8633ef8e10 HADOOP-14503. Make RollingAverages a mutable metric. Contributed by Hanisha Koneru. 2017-06-12 20:43:43 -07:00
Tsz-Wo Nicholas Sze bec79ca249 HDFS-11947. When constructing a thread name, BPOfferService may print a bogus warning message. Contributed by Weiwei Yang 2017-06-13 09:45:10 +08:00
Arpit Agarwal b3d3ede91a HDFS-11967. TestJMXGet fails occasionally. Contributed by Arpit Agarwal. 2017-06-12 16:03:47 -07:00
Arpit Agarwal 3f0a727f75 HDFS-11907. Add metric for time taken by NameNode resource check. Contributed by Chen Liang. 2017-06-12 15:18:38 -07:00
Anu Engineer 62a1fa1af0 HDFS-11958. Ozone: Ensure KSM is initiated using ProtobufRpcEngine. Contributed by Weiwei Yang. 2017-06-09 10:37:51 -07:00
Anu Engineer 423c4bde74 HDFS-11185. Ozone: remove disabled tests. Contributed by Anu Engineer. 2017-06-09 10:25:25 -07:00
Mingliang Liu 1a33c9d589 HDFS-11945. Internal lease recovery may not be retried for a long time. Contributed by Kihwal Lee 2017-06-08 14:36:47 -07:00
Xiaoyu Yao 2ec6464a1d HDFS-11953. Remove Guava v21 usage from HDFS-7240. Contributed by Xiaoyu Yao. 2017-06-08 10:44:53 -07:00
Yiqun Lin 7d1d49603d HDFS-11929. Document missing processor of hdfs oiv_legacy command. Contributed by LiXin Ge. 2017-06-08 10:44:52 -07:00
Vinayakumar B f2f1ada640 HDFS-11708. Positional read will fail if replicas moved to different DNs after stream is opened. Contributed by Vinayakumar B. 2017-06-08 10:44:52 -07:00
Brahma Reddy Battula 7d3bbf2d37 HDFS-11711. DN should not delete the block On "Too many open files" Exception. Contributed by Brahma Reddy Battula. 2017-06-08 10:44:52 -07:00
Andrew Wang bbf158de74 HDFS-11840. Log HDFS Mover exception message of exit to its own log. Contributed by LiXin Ge. 2017-06-08 10:44:52 -07:00
Arpit Agarwal df7d952f12 HDFS-11932. BPServiceActor thread name is not correctly set. Contributed by Chen Liang. 2017-06-08 10:44:52 -07:00
Brahma Reddy Battula cc8bcf1efd HADOOP-14485. Redundant 'final' modifier in try-with-resources statement. Contributed by wenxin he. 2017-06-08 10:44:51 -07:00
Yongjun Zhang 23b15b223a HDFS-11914. Add more diagnosis info for fsimage transfer failure. Contributed by Yongjun Zhang. 2017-06-08 10:44:51 -07:00
Arpit Agarwal b55a34639d HDFS-11928. Segment overflow in FileDistributionCalculator. Contributed by LiXin Ge. 2017-06-08 10:44:51 -07:00
Kihwal Lee 14f782b6b9 HDFS-10816. TestComputeInvalidateWork#testDatanodeReRegistration fails due to race between test and replication monitor. Contributed by Eric Badger. 2017-06-08 10:44:51 -07:00
Yiqun Lin fe76c59954 HDFS-11899. ASF License warnings generated intermittently in trunk. Contributed by Yiqun Lin. 2017-06-08 10:44:50 -07:00
Brahma Reddy Battula 6618442809 HADOOP-14436. Remove the redundant colon in ViewFs.md. Contributed by maobaolong. 2017-06-08 10:44:50 -07:00
Yiqun Lin 60a7f57b61 HDFS-11359. DFSAdmin report command supports displaying maintenance state datanodes. Contributed by Yiqun Lin. 2017-06-08 10:44:50 -07:00
Xiao Chen 36914a7291 HDFS-11904. Reuse iip in unprotectedRemoveXAttrs calls. 2017-06-08 10:44:50 -07:00
Xiao Chen cb622bc619 HDFS-11741. Long running balancer may fail due to expired DataEncryptionKey. Contributed by Wei-Chiu Chuang and Xiao Chen. 2017-06-08 10:44:49 -07:00
Brahma Reddy Battula 93f2aaf826 HDFS-11905. Fix license header inconsistency in hdfs. Contributed by Yeliang Cang. 2017-06-08 10:44:49 -07:00
Brahma Reddy Battula 173e391c4e HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula. 2017-06-08 10:44:49 -07:00
Kihwal Lee 5a81e70c44 HDFS-5042. Completed files lost after power failure. Contributed by Vinayakumar B. 2017-06-08 10:44:49 -07:00
Brahma Reddy Battula c48a7a0e9e HDFS-11901. Modifier 'static' is redundant for inner enums. Contributed by ZhangBing Lin. 2017-06-08 10:44:48 -07:00
Lei Xu 611d452bcf HDFS-11659. TestDataNodeHotSwapVolumes.testRemoveVolumeBeingWritten fail due to no DataNode available for pipeline recovery. Contributed by Lei (Eddy) Xu. 2017-06-08 10:44:48 -07:00
Akira Ajisaka 8897b3b3eb HDFS-11832. Switch leftover logs to slf4j format in BlockManager.java. Contributed by Hui Xu and Chen Liang. 2017-06-08 10:44:47 -07:00
Yiqun Lin 9e3d5e29b3 HDFS-11446. TestMaintenanceState#testWithNNAndDNRestart fails intermittently. Contributed by Yiqun Lin. 2017-06-08 10:44:47 -07:00
Andrew Wang 40e677a400 Update 3.0.0-alpha3 changes, release notes, jdiff. 2017-06-08 10:44:47 -07:00
Andrew Wang b876bbd936 Update maven version for 3.0.0-alpha4 development 2017-06-08 10:44:47 -07:00
Inigo Goiri 02f1eea06f Fix NPE in LazyPersistFileScrubber. Contributed by Inigo Goiri. 2017-06-08 10:44:47 -07:00
Kihwal Lee 0dbcd01de5 HDFS-11817. A faulty node can cause a lease leak and NPE on accessing data. Contributed by Kihwal Lee. 2017-06-08 10:44:46 -07:00
Arpit Agarwal ad32d5f4ef HDFS-11879. Fix JN sync interval in case of exception. Contributed by Hanisha Koneru. 2017-06-08 10:44:46 -07:00
Kihwal Lee 46bad64684 HDFS-11856. Ability to re-add Upgrading Nodes to pipeline for future pipeline updates. Contributed by Vinayakumar B. 2017-06-08 10:44:46 -07:00
Arpit Agarwal 48f83077ad HDFS-11878. Fix journal missing log httpServerUrl address in JournalNodeSyncer. Contributed by Hanisha Koneru. 2017-06-08 10:44:45 -07:00
Brahma Reddy Battula f5d3faba5f HDFS-11445. FSCK shows overall health stauts as corrupt even one replica is corrupt. Contributed by Brahma Reddy Battula. 2017-06-08 10:44:45 -07:00
Akira Ajisaka 527c9dde40 HADOOP-14180. FileSystem contract tests to replace JUnit 3 with 4. Contributed by Xiaobing Zhou and Mingliang Liu. 2017-06-08 10:44:45 -07:00
Wei-Chiu Chuang c90e190507 Revert "HDFS-10797. Disk usage summary of snapshots causes renamed blocks to get counted twice. Contributed by Sean Mackrory."
This reverts commit 6a38d118d8.
2017-06-08 10:44:45 -07:00
Wei-Chiu Chuang 71626483f4 Revert "HDFS-11515. -du throws ConcurrentModificationException. Contributed by Istvan Fajth, Wei-Chiu Chuang."
This reverts commit bc7aff7cec.
2017-06-08 10:44:44 -07:00
Arpit Agarwal 0646fb2fa5 HDFS-11877. FileJournalManager#getLogFile should ignore in progress edit logs during JN sync. Contributed by Hanisha Koneru. 2017-06-08 10:44:44 -07:00
Jing Zhao a02b908e6a HDFS-11823. Extend TestDFSStripedIutputStream/TestDFSStripedOutputStream with a random EC policy. Contributed by Takanobu Asanuma. 2017-06-08 10:44:44 -07:00
Kai Zheng 6d09cf72e7 HDFS-11793. Allow to enable user defined erasure coding policy. Contributed by Sammi Chen 2017-06-08 10:44:44 -07:00
Rakesh Radhakrishnan 0e93e5c482 HDFS-11794. Add ec sub command -listCodec to show currently supported ec codecs. Contributed by SammiChen. 2017-06-08 10:44:44 -07:00
Arpit Agarwal 641d6c0822 HDFS-11419. Performance analysis of new DFSNetworkTopology#chooseRandom. Contributed by Chen Liang. 2017-06-08 10:44:43 -07:00
Arpit Agarwal 8348d2b13b HDFS-11866. JournalNode Sync should be off by default in hdfs-default.xml. Contributed by Hanisha Koneru. 2017-06-08 10:44:43 -07:00
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
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
Yiqun Lin 5ec71639cf HDFS-11929. Document missing processor of hdfs oiv_legacy command. Contributed by LiXin Ge. 2017-06-07 13:42:13 +08:00
Vinayakumar B 70fc6746b3 HDFS-11708. Positional read will fail if replicas moved to different DNs after stream is opened. Contributed by Vinayakumar B. 2017-06-07 10:55:53 +05:30
Brahma Reddy Battula 1869e1771c HDFS-11711. DN should not delete the block On "Too many open files" Exception. Contributed by Brahma Reddy Battula. 2017-06-07 13:05:33 +08: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
Andrew Wang c31cb879a3 HDFS-11840. Log HDFS Mover exception message of exit to its own log. Contributed by LiXin Ge. 2017-06-06 14:57:48 -07:00
Arpit Agarwal 867903db2b HDFS-11932. BPServiceActor thread name is not correctly set. Contributed by Chen Liang. 2017-06-06 13:51:02 -07:00
Brahma Reddy Battula 19ef3a81f8 HADOOP-14485. Redundant 'final' modifier in try-with-resources statement. Contributed by wenxin he. 2017-06-06 23:11:47 +08: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
Yongjun Zhang 6a28a2b914 HDFS-11914. Add more diagnosis info for fsimage transfer failure. Contributed by Yongjun Zhang. 2017-06-05 16:31:03 -07:00
Arpit Agarwal 835560983e HDFS-11928. Segment overflow in FileDistributionCalculator. Contributed by LiXin Ge. 2017-06-05 13:21:22 -07:00
Kihwal Lee e4e203e080 HDFS-10816. TestComputeInvalidateWork#testDatanodeReRegistration fails due to race between test and replication monitor. Contributed by Eric Badger. 2017-06-05 15:18:27 -05: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
Yiqun Lin 367da9b7b8 HDFS-11899. ASF License warnings generated intermittently in trunk. Contributed by Yiqun Lin. 2017-06-03 22:07:24 +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
Brahma Reddy Battula 056cc72885 HADOOP-14436. Remove the redundant colon in ViewFs.md. Contributed by maobaolong. 2017-06-02 22:39:10 +08:00
Anu Engineer 5cdd880078 HDFS-11913. Ozone: TestKeySpaceManager#testDeleteVolume fails. Contributed by Weiwei Yang. 2017-06-02 00:48:39 -07:00
Yiqun Lin 8d9084eb62 HDFS-11359. DFSAdmin report command supports displaying maintenance state datanodes. Contributed by Yiqun Lin. 2017-06-02 12:48:30 +08: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
Xiao Chen 219f4c199e HDFS-11904. Reuse iip in unprotectedRemoveXAttrs calls. 2017-06-01 14:13:57 -07:00
Xiao Chen 6a3fc685a9 HDFS-11741. Long running balancer may fail due to expired DataEncryptionKey. Contributed by Wei-Chiu Chuang and Xiao Chen. 2017-06-01 14:05:37 -07:00
Anu Engineer 988b25419c HDFS-11894. Ozone: Cleanup imports. Contributed by Weiwei Yang. 2017-06-01 13:07:20 -07:00
Brahma Reddy Battula ff3103556b HDFS-11905. Fix license header inconsistency in hdfs. Contributed by Yeliang Cang. 2017-06-02 00:28:33 +08:00
Brahma Reddy Battula 0dcf843c00 HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula. 2017-06-01 22:29:29 +08: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
Kihwal Lee 1543d0f5be HDFS-5042. Completed files lost after power failure. Contributed by Vinayakumar B. 2017-05-31 10:55:03 -05:00
Xiaoyu Yao 3983e94f0d HDFS-11776. Ozone: KSM: add SetBucketProperty. Contributed by Nandakumar Vadivelu. 2017-05-31 08:37:09 -07:00
Brahma Reddy Battula 13de636b40 HDFS-11901. Modifier 'static' is redundant for inner enums. Contributed by ZhangBing Lin. 2017-05-31 23:09:08 +08:00
Xiaoyu Yao 122d660f78 HDFS-11853. Ozone: KSM: Add getKey. Contributed by Chen Liang. 2017-05-30 15:15:55 -07:00
Lei Xu 91d6fe151f HDFS-11659. TestDataNodeHotSwapVolumes.testRemoveVolumeBeingWritten fail due to no DataNode available for pipeline recovery. Contributed by Lei (Eddy) Xu. 2017-05-30 11:10:12 -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
Akira Ajisaka a7f085d6bf
HDFS-11832. Switch leftover logs to slf4j format in BlockManager.java. Contributed by Hui Xu and Chen Liang. 2017-05-29 17:30:23 +09: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
Yiqun Lin 31058b243e HDFS-11446. TestMaintenanceState#testWithNNAndDNRestart fails intermittently. Contributed by Yiqun Lin. 2017-05-28 11:23:32 +08:00
Andrew Wang 2cd612ba8e Update 3.0.0-alpha3 changes, release notes, jdiff. 2017-05-26 14:14:38 -07:00
Andrew Wang 16ad896d5c Update maven version for 3.0.0-alpha4 development 2017-05-26 14:09:44 -07:00
Inigo Goiri 303c8dc9b6 Fix NPE in LazyPersistFileScrubber. Contributed by Inigo Goiri. 2017-05-26 13:16:01 -07:00
Xiaoyu Yao e641bee7b7 HDFS-11780. Ozone: KSM: Add putKey. Contributed by Chen Liang. 2017-05-25 22:06:17 -07:00
Kihwal Lee 2b5ad48762 HDFS-11817. A faulty node can cause a lease leak and NPE on accessing data. Contributed by Kihwal Lee. 2017-05-25 17:17:38 -05:00
Arpit Agarwal 1161563136 HDFS-11879. Fix JN sync interval in case of exception. Contributed by Hanisha Koneru. 2017-05-25 14:01:53 -07:00
Kihwal Lee 29b7df960f HDFS-11856. Ability to re-add Upgrading Nodes to pipeline for future pipeline updates. Contributed by Vinayakumar B. 2017-05-25 13:05:23 -05:00
Arpit Agarwal 4fb41b31db HDFS-11878. Fix journal missing log httpServerUrl address in JournalNodeSyncer. Contributed by Hanisha Koneru. 2017-05-25 10:42:24 -07:00
Brahma Reddy Battula 2e41f8803d HDFS-11445. FSCK shows overall health stauts as corrupt even one replica is corrupt. Contributed by Brahma Reddy Battula. 2017-05-25 22:35:10 +08:00
Akira Ajisaka 6a52b5e144
HADOOP-14180. FileSystem contract tests to replace JUnit 3 with 4. Contributed by Xiaobing Zhou and Mingliang Liu. 2017-05-25 15:36:44 +09:00
Wei-Chiu Chuang b8b69d797a Revert "HDFS-10797. Disk usage summary of snapshots causes renamed blocks to get counted twice. Contributed by Sean Mackrory."
This reverts commit 6a38d118d8.
2017-05-24 17:21:22 -07:00
Wei-Chiu Chuang 2cba561228 Revert "HDFS-11515. -du throws ConcurrentModificationException. Contributed by Istvan Fajth, Wei-Chiu Chuang."
This reverts commit bc7aff7cec.
2017-05-24 17:20:27 -07:00
Arpit Agarwal 0e83ed5e73 HDFS-11877. FileJournalManager#getLogFile should ignore in progress edit logs during JN sync. Contributed by Hanisha Koneru. 2017-05-24 16:09:00 -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
Jing Zhao 1c8dd6d3d1 HDFS-11823. Extend TestDFSStripedIutputStream/TestDFSStripedOutputStream with a random EC policy. Contributed by Takanobu Asanuma. 2017-05-24 11:14:19 -07:00
Kai Zheng a62be38a5e HDFS-11793. Allow to enable user defined erasure coding policy. Contributed by Sammi Chen 2017-05-24 18:45:52 +08: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
Rakesh Radhakrishnan 1b5451bf05 HDFS-11794. Add ec sub command -listCodec to show currently supported ec codecs. Contributed by SammiChen. 2017-05-23 17:03:28 +05:30
Arpit Agarwal d0f346af26 HDFS-11419. Performance analysis of new DFSNetworkTopology#chooseRandom. Contributed by Chen Liang. 2017-05-22 20:25:34 -07:00
Arpit Agarwal ca6bcc3c76 HDFS-11866. JournalNode Sync should be off by default in hdfs-default.xml. Contributed by Hanisha Koneru. 2017-05-22 17:53:47 -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
Brahma Reddy Battula 9cab42cc79 HDFS-11849. JournalNode startup failure exception should be logged in log file. Contributed By Surendra Singh Lilhore. 2017-05-23 02:39:19 +08:00
Sunil G b6f66b0da1 YARN-6584. Correct license headers in hadoop-common, hdfs, yarn and mapreduce. Contributed by Yeliang Cang. 2017-05-22 14:10:06 +05:30
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