Commit Graph

5693 Commits

Author SHA1 Message Date
Jing Zhao
f4ba5ff1d7 HDFS-10710. In BlockManager#rescanPostponedMisreplicatedBlocks(), postponed misreplicated block counts should be retrieved within the NN lock protection.Contributed by GAO Rui. 2016-08-03 12:42:05 -07:00
Kihwal Lee
22ef5286bc HDFS-10674. Optimize creating a full path from an inode. Contributed by Daryn Sharp. 2016-08-03 13:12:43 -05:00
Kihwal Lee
58db263e93 HDFS-742. A down DataNode makes Balancer to hang on repeatingly asking NameNode its partial block list. Contributed by Mit Desai. 2016-08-03 12:14:59 -05:00
Kihwal Lee
bebf10d245 HDFS-10656. Optimize conversion of byte arrays back to path string. Contributed by Daryn Sharp. 2016-08-03 11:53:41 -05:00
Kihwal Lee
5e5b8793fb HDFS-5805. TestCheckpoint.testCheckpoint fails intermittently on branch-2. Contributed by Eric Badger. 2016-08-02 15:37:36 -05:00
Akira Ajisaka
a5fb298e56 HDFS-10707. Replace org.apache.commons.io.Charsets with java.nio.charset.StandardCharsets. Contributed by Vincent Poon. 2016-08-02 17:07:59 +09:00
Konstantin V Shvachko
c4463f2ef2 Revert "HDFS-10301. Interleaving processing of storages from repeated block reports causes false zombie storage detection, removes valid blocks. Contributed by Vinitha Gankidi."
This reverts commit 85a20508bd.
2016-08-01 22:34:40 -07:00
Daryn Sharp
9f473cf903 HDFS-10655. Fix path related byte array conversion bugs. (daryn) 2016-08-01 10:14:28 -05:00
Yongjun Zhang
8d32bd884d HDFS-10703. HA NameNode Web UI should show last checkpoint time. (John Zhuge via Yongjun Zhang) 2016-07-29 23:20:14 -07:00
Akira Ajisaka
204a2055b1 HDFS-10691. FileDistribution fails in hdfs oiv command due to ArrayIndexOutOfBoundsException. Contributed by Yiqun Lin. 2016-07-29 15:39:48 +09:00
Xiao Chen
d9aae22fdf HDFS-9276. Failed to Update HDFS Delegation Token for long running application in HA mode. Contributed by Liangliang Gu and John Zhuge 2016-07-28 16:29:40 -07:00
Xiaoyu Yao
ce3d68e9c3 HDFS-10676. Add namenode metric to measure time spent in generating EDEKs. Contributed by Hanisha Koneru. 2016-07-28 16:07:45 -07:00
Lei Xu
a3d0cba810 HDFS-10689. Hdfs dfs chmod should reset sticky bit permission when the bit is omitted in the octal mode. (Manoj Govindassamy via Lei Xu) 2016-07-28 13:52:14 -07:00
Lei Xu
67406460f0 HDFS-4176. EditLogTailer should call rollEdits with a timeout. (Lei Xu) 2016-07-28 13:32:00 -07:00
Xiao Chen
328c855a57 HDFS-10650. DFSClient#mkdirs and DFSClient#primitiveMkdir should use default directory permission. Contributed by John Zhuge. 2016-07-28 13:15:02 -07:00
Akira Ajisaka
414fbfab41 HDFS-10696. TestHDFSCLI fails. Contributed by Kai Sasaki. 2016-07-28 16:58:23 +09:00
Andrew Wang
098ec2b11f HDFS-10519. Add a configuration option to enable in-progress edit log tailing. Contributed by Jiayi Zhou. 2016-07-27 17:55:41 -07:00
Yongjun Zhang
eb7ff0c992 HDFS-10667. Report more accurate info about data corruption location. (Yuanbo Liu via Yongjun Zhang) 2016-07-27 13:58:04 -07:00
Akira Ajisaka
54fe17a607 HADOOP-9427. Use JUnit assumptions to skip platform-specific tests. Contributed by Gergely Novák. 2016-07-27 19:41:09 +09:00
Brahma Reddy Battula
55d5993a8e HDFS-10668. Fix intermittently failing UT TestDataNodeMXBean#testDataNodeMXBeanBlockCount. Contributed by Mingliang Liu. 2016-07-27 10:26:42 +05:30
Wei-Chiu Chuang
d84ab8a578 HDFS-10598. DiskBalancer does not execute multi-steps plan. Contributed by Lei (Eddy) Xu. 2016-07-26 16:01:50 -07:00
Arpit Agarwal
d2cf8b54c5 HDFS-10642. TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas fails intermittently. (Contributed by Mingliang Liu) 2016-07-26 12:27:46 -07:00
Wei-Chiu Chuang
25f0a9b3ab HDFS-9937. Update dfsadmin command line help and HdfsQuotaAdminGuide. Contributed by Kai Sasaki. 2016-07-26 08:01:42 -07:00
Steve Loughran
2aa18e1925 Revert "HDFS-10668. Fix intermittently failing UT TestDataNodeMXBean#testDataNodeMXBeanBlockCount. Contributed by Mingliang Liu."
This reverts commit 7cac7655fd.
2016-07-26 14:30:02 +01:00
Brahma Reddy Battula
7cac7655fd HDFS-10668. Fix intermittently failing UT TestDataNodeMXBean#testDataNodeMXBeanBlockCount. Contributed by Mingliang Liu. 2016-07-26 10:54:24 +05:30
Vinitha Reddy Gankidi
85a20508bd HDFS-10301. Interleaving processing of storages from repeated block reports causes false zombie storage detection, removes valid blocks. Contributed by Vinitha Gankidi. 2016-07-25 18:50:59 -07:00
Masatake Iwasaki
59466b8c18 HDFS-10671. Fix typo in HdfsRollingUpgrade.md. Contributed by Yiqun Lin. 2016-07-26 10:48:21 +09:00
Jing Zhao
0cde9e12a7 HDFS-10688. BPServiceActor may run into a tight loop for sending block report when hitting IOException. Contributed by Chen Liang. 2016-07-25 18:41:13 -07:00
Kai Zheng
b79ba4fe96 HDFS-10651. Clean up some configuration related codes about legacy block reader. Contributed by Youwei Wang 2016-07-23 17:45:33 +08:00
Arpit Agarwal
c6e3a0020f HDFS-10660. Expose storage policy apis via HDFSAdmin interface. (Contributed by Rakesh R) 2016-07-22 12:33:50 -07:00
Uma Maheswara Rao G
77ac04efe4 HDFS-10565: Erasure Coding: Document about the current allowed storage policies for EC Striped mode files 2016-07-22 11:08:20 -07:00
Xiao Chen
132deb4cac HDFS-10225. DataNode hot swap drives should disallow storage type changes. Contributed by Lei (Eddy) Xu. 2016-07-21 16:41:02 -07:00
Akira Ajisaka
fcde6940e0 HDFS-10287. MiniDFSCluster should implement AutoCloseable. Contributed by Andras Bokor. 2016-07-21 11:26:08 -07:00
Jing Zhao
bd3dcf46e2 HDFS-10653. Optimize conversion from path string to components. Contributed by Daryn Sharp. 2016-07-21 11:14:39 -07:00
Akira Ajisaka
38128baff4 HDFS-10425. Clean up NNStorage and TestSaveNamespace. Contributed by Andras Bokor. 2016-07-20 10:44:11 -07:00
Akira Ajisaka
f7dabe3add HDFS-10620. StringBuilder created and appended even if logging is disabled. Contributed by Staffan Friberg. 2016-07-19 15:13:01 -07:00
Akira Ajisaka
fc570b55b9 HDFS-10603. Fix flaky tests in org.apache.hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot. Contributed by Yiqun Lin. 2016-07-19 13:49:24 -07:00
Akira Ajisaka
5b4a708704 HDFS-10639. Fix typos in HDFSDiskbalancer.md. Contributed by Yiqun Lin. 2016-07-15 21:41:57 -07:00
Andrew Wang
da456ffd62 Preparing for 3.0.0-alpha2 development 2016-07-15 19:04:17 -07:00
Jitendra Pandey
c2f9cd584c HADOOP-13368. DFSOpsCountStatistics$OpType#fromSymbol and s3a.Statistic#fromSymbol should be O(1) operation. Contributed by Mingliang Liu. 2016-07-15 14:28:53 -07:00
Akira Ajisaka
c48e9d608c HDFS-10628. Log HDFS Balancer exit message to its own log. Contributed by Jiayi Zhou. 2016-07-15 11:42:44 -07:00
Akira Ajisaka
5537c6b234 HADOOP-13351. TestDFSClientSocketSize buffer size tests are flaky. Contributed by Aaron Fabbri and Mingliang Liu. 2016-07-14 14:40:58 -07:00
Lei Xu
382dff7475 HDFS-10600. PlanCommand#getThrsholdPercentage should not use throughput value. (Yiqun Lin via lei) 2016-07-14 10:40:34 -07:00
Steve Loughran
1fa1fab695 HDFS-10570. Remove classpath conflicts of netty-all jar in hadoop-hdfs-client. Contributed by Vinayakumar B. 2016-07-14 10:20:18 +01:00
Kihwal Lee
2bbc3ea1b5 HDFS-10617. PendingReconstructionBlocks.size() should be synchronized. Contributed by Eric Badger. 2016-07-13 21:59:35 -05:00
Uma Maheswara Rao G
438b7c5935 HDFS-10590: Fix TestReconstructStripedBlocks.testCountLiveReplicas test failures. Contributed by Rakesh R 2016-07-13 00:07:11 -07:00
Zhe Zhang
087290e6b1 HDFS-10544. Balancer doesn't work with IPFailoverProxyProvider. 2016-07-12 23:18:37 -07:00
Lei Xu
d5f5a6475b HDFS-10387. DataTransferProtocol#writeBlock missing some javadocs (John Zhuge via lei) 2016-07-12 16:16:03 -07:00
Jitendra Pandey
c447efebdb HDFS-10579. HDFS web interfaces lack configs for X-FRAME-OPTIONS protection. Contributed by Anu Engineer. 2016-07-11 14:55:33 -07:00
Yongjun Zhang
da6f1b88dd HDFS-10512. VolumeScanner may terminate due to NPE in DataNode.reportBadBlocks. Contributed by Wei-Chiu Chuang and Yiqun Lin. 2016-07-08 19:40:44 -07:00