Commit Graph

5239 Commits

Author SHA1 Message Date
Jing Zhao 8a91109d16 HDFS-9677. Rename generationStampV1/generationStampV2 to legacyGenerationStamp/generationStamp. Contributed by Mingliang Liu. 2016-01-27 15:48:47 -08:00
Zhe Zhang cf8af7bb45 HDFS-9541. Add hdfsStreamBuilder API to libhdfs to support defaultBlockSizes greater than 2 GB. Contributed by Colin Patrick McCabe.
Change-Id: Ifce1b9be534dc8f7e9d2634cd60e423921b9810f
2016-01-26 11:24:57 -08:00
Tsz-Wo Nicholas Sze 45c763ad61 HDFS-9690. ClientProtocol.addBlock is not idempotent after HDFS-8071. 2016-01-26 11:20:13 +08:00
Tsz-Wo Nicholas Sze bd909ed9f2 HDFS-8999. Allow a file to be closed with COMMITTED but not yet COMPLETE blocks. 2016-01-26 10:32:51 +08:00
Jitendra Pandey e8650fea1f HDFS-9672. o.a.h.hdfs.TestLeaseRecovery2 fails intermittently. Contributed by Mingliang Liu. 2016-01-25 16:08:46 -08:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.) ec4d2d9f40 Release process for 2.7.2: Set the release date for 2.7.2 2016-01-25 15:45:57 -08:00
Arpit Agarwal d62b4a4de7 HDFS-9094. Add command line option to ask NameNode reload configuration. (Contributed by Xiaobing Zhou) 2016-01-25 12:17:05 -08:00
Eric Yang 10a2bc0dff HDFS-9653. Added blocks pending deletion report to dfsadmin.
(Weiwei Yang via eyang)
2016-01-24 14:19:49 -08:00
Allen Wittenauer d22c4239a4 HDFS-9525. hadoop utilities need to support provided delegation tokens (HeeSoo Kim via aw) 2016-01-22 12:15:22 -08:00
Jing Zhao 95363bcc7d HDFS-9646. ErasureCodingWorker may fail when recovering data blocks with length less than the first internal block. Contributed by Jing Zhao. 2016-01-22 09:46:02 -08:00
Kihwal Lee 2fd19b9674 HDFS-8898. Create API and command-line argument to get quota and quota usage without detailed content summary. Contributed by Ming Ma. 2016-01-22 09:10:06 -06:00
Akira Ajisaka 6831634682 HDFS-9682. Fix a typo "aplication" in HttpFS document. Contributed by Weiwei yang. 2016-01-22 20:12:18 +09:00
Masatake Iwasaki ae9c61ff0a HDFS-9618. Fix mismatch between log level and guard in BlockManager#computeRecoveryWorkForBlocks (iwasakims) 2016-01-22 14:11:48 +09:00
Masatake Iwasaki b2ffcc2915 HDFS-9601. NNThroughputBenchmark.BlockReportStats should handle NotReplicatedYetException on adding block (iwasakims) 2016-01-22 12:28:38 +09:00
Zhe Zhang b4a05c1fd5 HDFS-9674. The HTrace span for OpWriteBlock should record the maxWriteToDisk time. Contributed by Colin McCabe.
Change-Id: I9bf3f3bcd57f5880189ad7c160f3dd66f97d904b
2016-01-21 13:25:42 -08:00
Jing Zhao c304890c8c HDFS-9542. Move BlockIdManager from FSNamesystem to BlockManager. Contributed by Jing Zhao. 2016-01-21 11:13:17 -08:00
Kihwal Lee 3616c7b855 HDFS-9634. webhdfs client side exceptions don't provide enough details. Contributed by Eric Payne. 2016-01-21 09:32:57 -06:00
Vinayakumar B b7372b7166 HDFS-9625. set replication for empty file failed when set storage policy (Contributed by DENG FEI) 2016-01-21 19:17:05 +05:30
Lei Xu 2ec438e8f7 HDFS-9655. NN should start JVM pause monitor before loading fsimage. (John Zhuge via Lei (Eddy) Xu) 2016-01-20 14:26:11 -08:00
Colin Patrick Mccabe 7905788db9 HDFS-9576: HTrace: collect position/length information on read operations (zhz via cmccabe) 2016-01-20 11:26:44 -08:00
Vinayakumar B 1425578690 HDFS-9661. Deadlock in DN.FsDatasetImpl between moveBlockAcrossStorage and createRbw (Contributed by ade) 2016-01-20 21:04:21 +05:30
Yongjun Zhang 57d0a94305 HDFS-6054. MiniQJMHACluster should not use static port to avoid binding failure in unit test. (Yongjun Zhang) 2016-01-19 22:54:47 -08:00
Akira Ajisaka 92c5f565fd HDFS-9623. Update example configuration of block state change log in log4j.properties. Contributed by Masatake Iwasaki. 2016-01-19 13:31:26 +09:00
Tsz-Wo Nicholas Sze 995f06f268 In CHANGES.txt, move HDFS-9294 to Release 2.6.4. 2016-01-16 23:44:14 +08:00
Andrew Wang c07f7fa8ff HDFS-9624. DataNode start slowly due to the initial DU command operations. (Lin Yiqun via wang) 2016-01-15 11:28:46 -08:00
Yongjun Zhang a9c69ebeb7 HDFS-9612. DistCp worker threads are not terminated after jobs are done. (Wei-Chiu Chuang via Yongjun Zhang) 2016-01-15 10:03:09 -08:00
Arpit Agarwal e97cd4ade5 HDFS-9415. Document dfs.cluster.administrators and dfs.permissions.superusergroup. (Contributed by Xiaobing Zhou) 2016-01-14 14:17:52 -08:00
Yongjun Zhang 817cc1f02a HDFS-9648. TestStartup.testImageChecksum is broken by HDFS-9569's message change. (Wei-Chiu Chuang via Yongjun Zhang) 2016-01-14 12:36:36 -08:00
Junping Du e50dd19a9c Add missing CHANGES.txt entry for HDFS-8767. 2016-01-14 06:05:39 -08:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.) cb73c753da HADOOP-5323. Trash documentation should describe its directory structure and configurations. (Weiwei Yang via ozawa)
Moved entry from HDFS CHANGES.txt to that of common.
2016-01-13 14:55:06 -08:00
Yongjun Zhang 25051c3bd0 HDFS-9569. Log the name of the fsimage being loaded for better supportability. (Yongjun Zhang) 2016-01-12 09:22:22 -08:00
Jing Zhao 17158647f8 move HDFS-9621 from trunk to 2.9.0 in CHANGES.txt. 2016-01-11 22:51:08 -08:00
Xiaoyu Yao 103d3cfc4e Correct commit message for HDFS-9584 2016-01-11 18:59:43 -08:00
Xiaoyu Yao c2e2e13455 HDFS-8584. NPE in distcp when ssl configuration file does not exist in class path. Contributed by Surendra Singh Lilhore. 2016-01-11 17:08:26 -08:00
Arpit Agarwal de37f37543 HDFS-9639. Inconsistent Logging in BootstrapStandby. (Contributed by Xiaobing Zhou) 2016-01-11 15:08:00 -08:00
Jing Zhao 9f4bf3bdf9 HDFS-9621. getListing wrongly associates Erasure Coding policy to pre-existing replicated files under an EC directory. Contributed by Jing Zhao. 2016-01-11 11:31:59 -08:00
Zhe Zhang 71e5982e39 Update CHANGES.txt: move HDFS-9626 and HDFS-9630 to the section of release 2.8
Change-Id: Ief7915e794d6862ca2c9d84f4188cb560d7dba95
2016-01-11 10:00:22 -08:00
Zhe Zhang 95f32015ad HDFS-9630. DistCp minor refactoring and clean up. Contributed by Kai Zheng.
Change-Id: I363c4ffcac32116ddcdc0a22fac3db92f14a0db0
2016-01-11 09:46:56 -08:00
Lei Xu fd8065a763 HDFS-9493. Test o.a.h.hdfs.server.namenode.TestMetaSave fails in trunk. (Tony Wu via lei) 2016-01-08 15:00:30 -08:00
Zhe Zhang 0af2022e6d HDFS-9626. TestBlockReplacement#testBlockReplacement fails occasionally. Contributed by Xiao Chen.
Change-Id: Ia766a5bfb89f8cf8a48b473bb27c30d5818ebfc0
2016-01-08 13:14:36 -08:00
Kihwal Lee 38c4c14472 HDFS-9574. Reduce client failures during datanode restart. Contributed by Kihwal Lee. 2016-01-08 11:13:58 -06:00
Vinayakumar B 6702e7d66a HDFS-9619. SimulatedFSDataset sometimes can not find blockpool for the correct namenode (Contributed by Wei-Chiu Chuang) 2016-01-07 14:20:18 +05:30
Vinayakumar B 34cd7cd765 HDFS-9600. do not check replication if the block is under construction (Contributed by Phil Yang) 2016-01-07 11:27:42 +05:30
Haohui Mai c213ee0859 HDFS-9047. Retire libwebhdfs. Contributed by Haohui Mai. 2016-01-06 16:16:31 -08:00
Arpit Agarwal 67c9780609 HDFS-9498. Move code that tracks blocks with future generation stamps to BlockManagerSafeMode. (Contributed by Mingliang Liu) 2016-01-06 10:30:59 -08:00
Arpit Agarwal b9936689c9 HDFS-9615. Fix variable name typo in DFSConfigKeys. (Contributed by Ray Chiang) 2016-01-06 09:40:31 -08:00
Haohui Mai dec8fedb65 HDFS-9605. Add links to failed volumes to explorer.html in HDFS Web UI. Contributed by Archana T. 2016-01-05 13:55:55 -08:00
Haohui Mai cea0972fa1 HDFS-7779. Support changing ownership, group and replication in HDFS Web UI. Contributed by Ravi Prakash. 2016-01-05 13:44:16 -08:00
Uma Mahesh 778146eaae HADOOP-12658. Clear javadoc and check style issues around DomainSocket. Contributed by Kai Zheng 2016-01-04 14:32:09 -08:00
Akira Ajisaka db99e30f67 Set release date for 2.6.3 2016-01-04 16:12:12 +09:00
Akira Ajisaka 64ae85fd2e HADOOP-11252. RPC client does not time out by default. Contributed by Wilfred Spiegelenburg and Masatake Iwasaki. 2016-01-04 14:31:22 +09:00
cnauroth 84a8147791 HDFS-9376. TestSeveralNameNodes fails occasionally. Contributed by Masatake Iwasaki. 2015-12-29 14:37:03 -08:00
cnauroth 99cf2ecee9 HDFS-7553. fix the TestDFSUpgradeWithHA due to BindException. Contributed by Xiao Chen. 2015-12-29 10:56:59 -08:00
Benoy Antony 8cfd672397 HDFS-9597. BaseReplicationPolicyTest should update data node stats after adding a data node. Contributed by Wei-Chiu Chuang. 2015-12-25 08:55:39 -08:00
Benoy Antony df83230948 HDFS-9034. StorageTypeStats Metric should not count failed storage. Contributed by Surendra Singh Lilhore. 2015-12-22 15:28:17 -08:00
Kihwal Lee 867048c3e4 HDFS-7163. WebHdfsFileSystem should retry reads according to the configured retry policy. Contributed by Eric Payne. 2015-12-22 14:08:23 -06:00
cnauroth 5c0ff69618 HDFS-9458. TestBackupNode always binds to port 50070, which can cause bind failures. Contributed by Xiao Chen. 2015-12-22 10:29:35 -08:00
Colin Patrick Mccabe bb540ba85a HDFS-9589. Block files which have been hardlinked should be duplicated before the DataNode appends to the them (cmccabe) 2015-12-22 09:36:50 -08:00
Tsz-Wo Nicholas Sze 70d6f20126 HDFS-9575. Use byte array for internal block indices in a striped block. Contributed by jing9 2015-12-22 14:47:57 +08:00
Zhe Zhang 0087734cc1 HDFS-9580. TestComputeInvalidateWork#testDatanodeReRegistration failed due to unexpected number of invalidate blocks. Contributed by Wei-Chiu Chuang.
Change-Id: I9411dfb1dd4605cbcc515ca3361218d35d7c5fe3
2015-12-21 22:38:30 -08:00
Akira Ajisaka 2cb5afffc4 Move HDFS-8914 from 2.8.0 to 2.7.3 in CHANGES.txt. 2015-12-21 21:52:04 +09:00
Akira Ajisaka fa544020f6 HDFS-9505. HDFS Architecture documentation needs to be refreshed. Contributed by Masatake Iwasaki. 2015-12-21 21:23:03 +09:00
Uma Mahesh 52ad9125b8 HDFS-9582. TestLeaseRecoveryStriped file missing Apache License header and not well formatted. (umamahesh) 2015-12-20 13:10:57 -08:00
Uma Mahesh 0f82b5d878 YARN-4480. Clean up some inappropriate imports. (Kai Zheng via umamahesh) 2015-12-19 23:10:13 -08:00
cnauroth 932956458d HADOOP-12570. HDFS Secure Mode Documentation updates. Contributed by Arpit Agarwal. 2015-12-18 16:24:53 -08:00
Zhe Zhang ef3f3f6bb1 HDFS-9347. Invariant assumption in TestQuorumJournalManager.shutdown() is wrong. Contributed by Wei-Chiu Chuang.
Change-Id: Idde8522e11c77f82b376e0c90a9bf33d163d5cb9
2015-12-18 16:04:47 -08:00
Zhe Zhang 61ab0440f7 HDFS-9173. Erasure Coding: Lease recovery for striped file. Contributed by Walter Su and Jing Zhao.
Change-Id: I51703a61c9d8454f883028f3f6acb5729fde1b15
2015-12-18 15:57:48 -08:00
Colin Patrick Mccabe e63388fdf2 HDFS-9350. Avoid creating temprorary strings in Block.toString() and getBlockName() (Staffan Friberg via cmccabe) 2015-12-18 09:40:39 -08:00
Andrew Wang 058cfddebb HDFS-8477. describe dfs.ha.zkfc.port in hdfs-default.xml. Contributed by Kanaka Kumar Avvaru. 2015-12-18 09:14:14 -08:00
Vinayakumar B bfadf11b36 HDFS-9393. After choosing favored nodes, choosing nodes for remaining replicas should go through BlockPlacementPolicy (Contributed by J.Andreina) 2015-12-18 11:38:12 +05:30
cnauroth 6da9deec20 HDFS-9571. Fix ASF Licence warnings in Jenkins reports. Contributed by Brahma Reddy Battula. 2015-12-17 16:26:01 -08:00
Kihwal Lee 5cb1e0118b HDFS-9533. seen_txid in the shared edits directory is modified during bootstrapping. Contributed by Kihwal Lee. 2015-12-17 17:11:16 -06:00
cnauroth 03bab8dea1 HDFS-9572. Prevent DataNode log spam if a client connects on the data transfer port but sends no data. Contributed by Chris Nauroth 2015-12-17 14:04:45 -08:00
Arpit Agarwal 2f623fb8cc HDFS-9515. NPE when MiniDFSCluster#shutdown is invoked on uninitialized reference. (Contributed by Wei-Chiu Chuang) 2015-12-17 13:57:08 -08:00
cnauroth db37f02dc7 Revert "HDFS-9569. Log the name of the fsimage being loaded for better supportability. Contributed by Yongjun Zhang."
This reverts commit eb6939cea0.
2015-12-17 13:50:23 -08:00
Zhe Zhang 5104077e1f HDFS-9373. Erasure coding: friendly log information for write operations with some failed streamers. Contributed by Li Bo.
Change-Id: Ie8ab4ae00e9ee0eb03c32a54bea26a3524308038
2015-12-17 13:05:04 -08:00
cnauroth d85f72978e HDFS-9570. Update CHANGES.txt to list under 2.8.0. 2015-12-17 11:37:19 -08:00
cnauroth 724e71f63b HDFS-9552. Document types of permission checks performed for HDFS operations. Contributed by Chris Nauroth. 2015-12-17 10:43:48 -08:00
Arpit Agarwal 72a3f649e4 HDFS-9565. TestDistributedFileSystem.testLocatedFileStatusStorageIdsTypes is flaky due to race condition. (Contributed by Wei-Chiu Chuang) 2015-12-17 10:36:07 -08:00
Allen Wittenauer 8d278d8d2e HDFS-9570. Minor typos, grammar, and case sensitivity cleanup in HdfsPermissionsGuide.md's (Travis Campbell via aw) 2015-12-17 08:31:44 -08:00
Kihwal Lee eb6939cea0 HDFS-9569. Log the name of the fsimage being loaded for better supportability. Contributed by Yongjun Zhang. 2015-12-17 10:29:41 -06:00
Konstantin V Shvachko d90625e038 Update CHANGES.txt to move HDFS-9516 to 2.7.3 section. 2015-12-16 23:11:12 -08:00
Uma Mahesh f741476146 HDFS-9198. Coalesce IBR processing in the NN. (Daryn Sharp via umamahesh) 2015-12-16 18:16:39 -08:00
Andrew Wang 3c0adac88c HDFS-9300. TestDirectoryScanner.testThrottle() is still a little flakey. Contributed by Daniel Templeton. 2015-12-16 16:21:06 -08:00
cnauroth c470c8953d HDFS-9557. Reduce object allocation in PB conversion. Contributed by Daryn Sharp. 2015-12-16 11:10:40 -08:00
Andrew Wang 49949a4bb0 HDFS-8894. Set SO_KEEPALIVE on DN server sockets. Contributed by Kanaka Kumar Avvaru. 2015-12-15 14:38:35 -08:00
Jing Zhao 8602692338 HDFS-9371. Code cleanup for DatanodeManager. Contributed by Jing Zhao. 2015-12-15 10:47:53 -08:00
Plamen Jeliazkov 96d307e1e3 HDFS-9516. Truncate file fails with data dirs on multiple disks. Contributed by Plamen Jeliazkov. 2015-12-15 00:32:10 -08:00
Lei Xu de522d2cd4 Revert "Revert "HDFS-8860. Remove unused Replica copyOnWrite code (Lei (Eddy) Xu via Colin P. McCabe)""
This reverts commit 7f393a6f61.
2015-12-14 11:25:09 -08:00
Jing Zhao e534569814 HDFS-9535. Newly completed blocks in IBR should not be considered under-replicated too quickly. Contributed by Mingliang Liu. 2015-12-14 11:05:25 -08:00
Lei Xu f229772f99 HDFS-9281. Change TestDeleteBlockPool to not explicitly use File to check block pool existence. (lei) 2015-12-14 11:02:07 -08:00
Yongjun Zhang bf5295b118 HDFS-9514. TestDistributedFileSystem.testDFSClientPeerWriteTimeout failing; exception being swallowed. (Wei-Chiu Chuang via Yongjun Zhang) 2015-12-11 19:52:38 -08:00
Yongjun Zhang 2a4c7d4fac HDFS-9519. Some coding improvement in SecondaryNameNode#main. (Xiao Chen via Yongjun Zhang) 2015-12-11 18:44:01 -08:00
Yongjun Zhang f5a911452f HDFS-9532. Detailed exception info is lost in reportTo methods of ErrorReportAction and ReportBadBlockAction. (Yongjun Zhang) 2015-12-11 18:15:24 -08:00
Uma Mahesh 796a676d18 HDFS-9528. Cleanup namenode audit/log/exception messages. (szetszwo via umamahesh) 2015-12-11 17:57:35 -08:00
Allen Wittenauer 576b569b6c Revert "HDFS-9525. hadoop utilities need to support provided delegation tokens (HeeSoo Kim via aw)"
This reverts commit 832b3cbde1.
2015-12-11 10:59:42 -08:00
Kihwal Lee a48301791e HDFS-9445. Datanode may deadlock while handling a bad volume. Contributed by Walter Su. 2015-12-11 08:44:47 -06:00
Uma Mahesh e363417e7b HDFS-9472. concat() API does not give proper exception messages on ./reserved relative path (Rakesh R via umamahesh) 2015-12-10 23:55:29 -08:00
Lei Xu 7f393a6f61 Revert "HDFS-8860. Remove unused Replica copyOnWrite code (Lei (Eddy) Xu via Colin P. McCabe)"
This reverts commit a153b9601a.

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/DataNodeTestUtils.java
2015-12-10 10:57:33 -10:00
Tsz-Wo Nicholas Sze 132478e805 HDFS-9527. The return type of FSNamesystem.getBlockCollection should be changed to INodeFile. 2015-12-09 17:55:28 -08:00