Commit Graph

4313 Commits

Author SHA1 Message Date
Xiaoyu Yao
b4be288c5d HDFS-10207. Support enable Hadoop IPC backoff without namenode restart. Contributed by Xiaobing Zhou. 2016-04-21 10:18:48 -07:00
Xiaoyu Yao
5bd7b592e5 HADOOP-12985. Support MetricsSource interface for DecayRpcScheduler Metrics. Contributed by Xiaoyu Yao. 2016-04-20 23:10:52 -07:00
Chris Nauroth
63ac2db59a HDFS-10312. Large block reports may fail to decode at NameNode due to 64 MB protobuf maximum length restriction. Contributed by Chris Nauroth. 2016-04-20 13:39:44 -07:00
Arpit Agarwal
af9bdbe447 HDFS-10264. Logging improvements in FSImageFormatProtobuf.Saver. (Contributed by Xiaobing Zhou) 2016-04-19 11:26:30 -07:00
Kai Zheng
b5d4c7dc76 HADOOP-12924. Configure raw erasure coders for supported codecs. Contributed by Rui Li. 2016-04-20 15:47:01 +08:00
Jing Zhao
be0bce1b71 HDFS-10306. SafeModeMonitor should not leave safe mode if name system is starting active service. Contributed by Mingliang Liu. 2016-04-18 18:05:49 -07:00
Colin Patrick Mccabe
cb3ca460ef HDFS-10265. OEV tool fails to read edit xml file if OP_UPDATE_BLOCKS has no BLOCK tag (Wan Chang via cmccabe) 2016-04-18 13:47:56 -07:00
Kihwal Lee
d8b729e16f HDFS-10302. BlockPlacementPolicyDefault should use default replication considerload value. Contributed by Lin Yiqun. 2016-04-18 07:58:55 -05:00
Walter Su
67523ffcf4 HDFS-9412. getBlocks occupies FSLock and takes too long to complete. Contributed by He Tianyi. 2016-04-18 09:28:02 +08:00
Kihwal Lee
c970f1d005 HDFS-10280. Document new dfsadmin command -evictWriters. Contributed by Wei-Chiu Chuang. 2016-04-14 12:45:47 -05:00
Kihwal Lee
0d1c1152f1 HDFS-10282. The VolumeScanner should warn about replica files which are misplaced. Contributed by Colin Patrick McCabe. 2016-04-14 07:58:24 -05:00
Xiaoyu Yao
5566177c9a HDFS-10209. Support enable caller context in HDFS namenode audit log without restart namenode. Contributed by Xiaobing Zhou. 2016-04-13 16:51:13 -07:00
Xiaoyu Yao
4895c73dd4 Revert "HDFS-10209. Support enable caller context in HDFS namenode audit log without restart namenode"
This reverts commit 192112d5a2.
2016-04-13 16:45:18 -07:00
Andrew Wang
314aa21a89 HDFS-10279. Improve validation of the configured number of tolerated failed volumes. Contributed by Lin Yiqun. 2016-04-13 16:39:50 -07:00
Xiaobing Zhou
192112d5a2 HDFS-10209. Support enable caller context in HDFS namenode audit log without restart namenode 2016-04-13 15:34:41 -07:00
Colin Patrick Mccabe
35f0770555 HADOOP-12973. Make DU pluggable. (Elliott Clark via cmccabe) 2016-04-12 16:28:42 -07:00
Zhe Zhang
6ef42873a0 HDFS-9918. Erasure Coding: Sort located striped blocks based on decommissioned states. Contributed by Rakesh R. 2016-04-12 13:38:58 -07:00
Colin Patrick Mccabe
600d129bb8 HDFS-10273. Remove duplicate logSync() and log message in FSN#enterSafemode() (Vinayakumar B via cmccabe) 2016-04-12 10:52:39 -07:00
Akira Ajisaka
209303be3a HDFS-8356. Document missing properties in hdfs-default.xml. Contributed by Ray Chiang. 2016-04-12 15:26:50 +09:00
Vinayakumar B
a9a607f8fc HDFS-10271. Extra bytes are getting released from reservedSpace for append (Contributed by Brahma Reddy Battula) 2016-04-12 11:44:34 +05:30
Akira Ajisaka
9c32f8785e HDFS-10266. Remove unused properties dfs.client.file-block-storage-locations.num-threads and dfs.client.file-block-storage-locations.timeout.millis. Contributed by Ray Chiang. 2016-04-08 15:32:13 +09:00
Uma Maheswara Rao G
3c18a53cbd HDFS-9719. Refactoring ErasureCodingWorker into smaller reusable constructs. Contributed by Kai Zheng. 2016-04-06 22:50:24 -07:00
Tsz-Wo Nicholas Sze
654cd1d0c0 HDFS-10186. DirectoryScanner: Improve logs by adding full path of both actual and expected block directories. Contributed by Rakesh R 2016-04-07 12:38:42 +08:00
Colin Patrick Mccabe
4bd7cbc29d HDFS-10267. Extra "synchronized" on FsDatasetImpl#recoverAppend and FsDatasetImpl#recoverClose 2016-04-06 21:07:31 -07:00
Eric Payne
aede8c10ec HDFS-9945. Datanode command for evicting writers. Contributed by Kihwal Lee 2016-04-06 20:20:14 +00:00
Colin Patrick Mccabe
188f65287d HDFS-6520. hdfs fsck passes invalid length value when creating BlockReader (Xiao Chen via cmccabe) 2016-04-06 11:28:34 -07:00
Jing Zhao
221b3a8722 HDFS-10192. Namenode safemode not coming out during failover. Contributed by Brahma Reddy Battula. 2016-04-06 10:42:59 -07:00
Ravi Prakash
0cd320a846 HDFS-10235. Last contact for Live Nodes should be relative time. Contributed by Brahma Reddy Battula. 2016-04-05 13:41:19 -07:00
Vinayakumar B
818d6b799e HDFS-9917. IBR accumulate more objects when SNN was down for sometime. (Contributed by Brahma Reddy Battula) 2016-04-05 09:49:39 +08:00
Colin Patrick Mccabe
f6b1a81812 HDFS-8496. Calling stopWriter() with FSDatasetImpl lock held may block other threads (cmccabe) 2016-04-04 18:02:15 -07:00
Kihwal Lee
a7d1fb0cd2 HDFS-10178. Permanent write failures can happen if pipeline recoveries occur for the first packet. Contributed by Kihwal Lee. 2016-04-04 16:40:00 -05:00
Allen Wittenauer
0a74610d1c HADOOP-11393. Revert HADOOP_PREFIX, go back to HADOOP_HOME (aw) 2016-03-31 07:51:05 -07:00
Colin Patrick Mccabe
37e23ce45c HDFS-10223. peerFromSocketAndKey performs SASL exchange before setting connection timeouts (cmccabe) 2016-03-30 13:37:37 -07:00
Vinayakumar B
09d63d5a19 HDFS-5177. blocksScheduled count should be decremented for abandoned blocks (Contributed by Vinayakumar B) 2016-03-30 14:22:00 +08:00
Arpit Agarwal
ddfe6774c2 HDFS-9439. Support reconfiguring fs.protected.directories without NN restart. (Contributed by Xiaobing Zhou) 2016-03-29 13:55:00 -07:00
Vinayakumar B
1f004b3367 HDFS-9871. "Bytes Being Moved" -ve(-1 B) when cluster was already balanced. (Contributed by Brahma Reddy Battulla) 2016-03-29 11:25:41 +08:00
Uma Maheswara Rao G
3a4ff7776e HDFS-9694. Make existing DFSClient#getFileChecksum() work for striped blocks. Contributed by Kai Zheng 2016-03-26 19:58:09 -07:00
Arpit Agarwal
a337ceb74e Revert "HDFS-9694. Make existing DFSClient#getFileChecksum() work for striped blocks. Contributed by Kai Zheng"
This reverts commit e5ff0ea7ba.
2016-03-26 09:20:01 -07:00
Uma Maheswara Rao G
e5ff0ea7ba HDFS-9694. Make existing DFSClient#getFileChecksum() work for striped blocks. Contributed by Kai Zheng 2016-03-26 00:52:50 -07:00
Lei Xu
fde8ac5d85 Add missing files from HDFS-9005. (lei) 2016-03-25 17:11:35 -07:00
Lei Xu
4fcfea71bf HDFS-9005. Provide support for upgrade domain script. (Ming Ma via Lei Xu) 2016-03-25 17:09:12 -07:00
Allen Wittenauer
738155063e HADOOP-12857. rework hadoop-tools (aw) 2016-03-23 13:46:38 -07:00
Colin Patrick Mccabe
a7d8f2b396 HDFS-10189. PacketResponder#toString should include the downstreams for PacketResponderType.HAS_DOWNSTREAM_IN_PIPELINE (Joe Pallas via cmccabe) 2016-03-22 14:56:02 -07:00
Colin Patrick Mccabe
680716f31e HDFS-9951. Use string constants for XML tags in OfflineImageReconstructor (Lin Yiqun via cmccabe) 2016-03-21 11:40:37 -07:00
Andrew Wang
e3bb38d625 HDFS-9405. Warmup NameNode EDEK caches in background thread. Contributed by Xiao Chen. 2016-03-21 11:39:05 -07:00
Haohui Mai
8a3f0cb255 HDFS-7166. SbNN Web UI shows #Under replicated blocks and #pending deletion blocks. Contributed by Wei-Chiu Chuang. 2016-03-20 17:21:25 -07:00
Sangjin Lee
cd8b6889a7 HDFS-9579. Provide bytes-read-by-network-distance metrics at FileSystem.Statistics level (Ming Ma via sjlee) 2016-03-19 14:02:04 -07:00
Akira Ajisaka
9b623fbaf7 HDFS-3677. dfs.namenode.edits.dir.required is missing from hdfs-default.xml. Contributed by Mark Yang. 2016-03-19 01:11:15 +09:00
Kihwal Lee
63c966a3fb HDFS-9874. Long living DataXceiver threads cause volume shutdown to block. Contributed by Rushabh Shah. 2016-03-18 10:24:59 -05:00
Andrew Wang
02a250db9f HDFS-10173. Typo in DataXceiverServer. Contributed by Michael Han. 2016-03-16 18:49:57 -07:00
Zhe Zhang
32d043d9c5 HDFS-9857. Erasure Coding: Rename replication-based names in BlockManager to more generic [part-1]. Contributed by Rakesh R. 2016-03-16 16:53:58 -07:00
Ravi Prakash
bd5556ba12 Download File from UI broken after pagination. Contributed by Brahma Reddy Battula 2016-03-14 14:30:13 -07:00
Chris Nauroth
5644137ada HDFS-9941. Do not log StandbyException on NN, other minor logging fixes. Contributed by Arpit Agarwal. 2016-03-14 09:54:54 -07:00
Arpit Agarwal
e01c6ea688 HDFS-1477. Support reconfiguring dfs.heartbeat.interval and dfs.namenode.heartbeat.recheck-interval without NN restart. (Contributed by Xiaobing Zhou) 2016-03-10 19:03:55 -08:00
Colin Patrick Mccabe
79961ecea8 HDFS-9933. ReverseXML should be capitalized in oiv usage message (cmccabe) 2016-03-10 13:43:27 -08:00
Colin Patrick Mccabe
bd49354c6d HDFS-9934. ReverseXML oiv processor should bail out if the XML file's layoutVersion doesn't match oiv's (cmccabe) 2016-03-10 13:41:06 -08:00
Zhe Zhang
7600e3c48f HDFS-7866. Erasure coding: NameNode manages multiple erasure coding policies. Contributed by Rui Li. 2016-03-08 22:30:30 -08:00
Jing Zhao
743a99f2db HDFS-8786. Erasure coding: use simple replication for internal blocks on decommissioning datanodes. Contributed by Rakesh R. 2016-03-08 10:24:57 -08:00
Arpit Agarwal
c2140d05ef HDFS-9882. Add heartbeatsTotal in Datanode metrics. (Contributed by Hua Liu) 2016-03-07 21:10:24 -08:00
Arpit Agarwal
724d2299cd HDFS-9906. Remove spammy log spew when a datanode is restarted. (Contributed by Brahma Reddy Battula) 2016-03-07 12:19:53 -08:00
Harsh J
fd1c09be3e HDFS-9521. TransferFsImage.receiveFile should account and log separate times for image download and fsync to disk. Contributed by Wellington Chevreuil 2016-03-07 17:14:51 +05:30
Chris Nauroth
2759689d7d HDFS-9239. DataNode Lifeline Protocol: an alternative protocol for reporting DataNode liveness. Contributed by Chris Nauroth. 2016-03-04 15:29:50 -08:00
Arpit Agarwal
27941a1811 HDFS-9534. Add CLI command to clear storage policy from a path. (Contributed by Xiaobing Zhou) 2016-03-02 18:35:28 -08:00
Colin Patrick Mccabe
700b0e4019 HDFS-9835. OIV: add ReverseXML processor which reconstructs an fsimage from an XML file (cmccabe) 2016-03-02 17:56:11 -08:00
Xiaoyu Yao
5abf051249 HDFS-9887. WebHdfs socket timeouts should be configurable. Contributed by Austin Donnelly and Chris Douglas. 2016-03-02 09:23:17 -08:00
Akira Ajisaka
27e0681f28 HDFS-9851. NameNode throws NPE when setPermission is called on a path that does not exist. Contributed by Brahma Reddy Battula. 2016-03-02 14:43:03 +09:00
Jing Zhao
f2ba7da4f0 HDFS-9876. shouldProcessOverReplicated should not count number of pending replicas. Contributed by Jing Zhao. 2016-03-01 18:41:57 -08:00
Kihwal Lee
2c8496ebf3 HDFS-8791. block ID-based DN storage layout can be very slow for datanode on ext4. Contributed by Chris Trezzo. 2016-03-01 15:04:59 -06:00
Chris Nauroth
2137e8feeb HDFS-9870. Remove unused imports from DFSUtil. Contributed by Brahma Reddy Battula. 2016-03-01 11:15:13 -08:00
Uma Maheswara Rao G
307ec80aca HDFS-9733. Refactor DFSClient#getFileChecksum and DataXceiver#blockChecksum. Contributed by Kai Zheng 2016-02-29 21:52:20 -08:00
Jing Zhao
2151716832 HDFS-7964. Add support for async edit logging. Contributed by Daryn Sharp. 2016-02-29 15:34:43 -08:00
Jing Zhao
408f2c807b HDFS-9866. BlockManager#chooseExcessReplicasStriped may weaken rack fault tolerance. Contributed by Jing Zhao. 2016-02-28 14:54:49 -08:00
Tsz-Wo Nicholas Sze
d1d4e16690 HDFS-9710. DN can be configured to send block receipt IBRs in batches. 2016-02-26 15:32:25 -08:00
Xiaoyu Yao
eab52dfb35 HDFS-9831. Document webhdfs retry configuration keys introduced by HDFS-5219/HDFS-5122. Contributed by Xiaobing Zhou. 2016-02-26 14:14:12 -08:00
Zhe Zhang
8808779db3 HDFS-9734. Refactoring of checksum failure report related codes. Contributed by Kai Zheng.
Change-Id: Ie69a77e3498a360959f8e213c51fb2b17c28b64a
2016-02-25 09:55:50 -08:00
Zhe Zhang
ccff6035f5 HDFS-9804. Allow long-running Balancer to login with keytab. Contributed by Xiao Chen.
Change-Id: I54b82e0b11929082057b4d21bfcf285222c94cdb
2016-02-25 09:24:32 -08:00
Tsz-Wo Nicholas Sze
6979cbfc1f HDFS-9838. Refactor the excessReplicateMap to a class. 2016-02-24 19:42:47 -08:00
Jing Zhao
47b92f2b6f HDFS-9837. BlockManager#countNodes should be able to detect duplicated internal blocks. Contributed by Jing Zhao. 2016-02-24 15:13:56 -08:00
cnauroth
d1dd248b75 HDFS-9854. Log cipher suite negotiation more verbosely. Contributed by Wei-Chiu Chuang. 2016-02-24 12:11:35 -08:00
Kihwal Lee
d27d7fc72e HDFS-9395. Make HDFS audit logging consistant. Contributed by Kuhu Shukla. 2016-02-24 12:04:01 -06:00
Zhe Zhang
def754ec06 HDFS-9816. Erasure Coding: allow to use multiple EC policies in striping related tests [Part 3]. Contributed by Rui Li.
Change-Id: I64b57bab4722cdc6e1e3148c3a3a401370249afe
2016-02-23 14:05:17 -08:00
Colin Patrick Mccabe
211c78c090 HDFS-9549. TestCacheDirectives#testExceedsCapacity is flaky (Xiao Chen via cmccabe) 2016-02-23 12:01:20 -08:00
Tsuyoshi Ozawa
48c61cd6aa HDFS-9084. Pagination, sorting and filtering of files/directories in the HDFS Web UI. (Contributed by Ravi Prakash) 2016-02-23 19:30:58 +09:00
Tsz-Wo Nicholas Sze
66289a3bf4 HDFS-8578. On upgrade, Datanode should process all storage/data dirs in parallel. Contributed by vinayakumarb and szetszwo 2016-02-22 15:01:15 -08:00
Zhe Zhang
a2fdfff02d HADOOP-12668. Support excluding weak Ciphers in HttpServer2 through ssl-server.conf. Contributed by Vijay Singh.
Change-Id: Ie46a5427d29188935427f67e55203c19fcd83335
2016-02-22 14:13:54 -08:00
Arpit Agarwal
a63301a864 HDFS-9842. dfs.datanode.balance.bandwidthPerSec should accept friendly size units. (Contributed by Lin Yiqun) 2016-02-22 11:34:09 -08:00
Vinayakumar B
342c9572bf HDFS-9425. Expose number of blocks per volume as a metric (Contributed by Brahma Reddy Battula) 2016-02-22 09:29:23 +05:30
Vinayakumar B
f313516731 HDFS-7452. skip StandbyException log for getCorruptFiles() (Contributed by Bramha Reddy Battula) 2016-02-22 09:21:46 +05:30
Arpit Agarwal
d5abd293a8 HDFS-9839. Reduce verbosity of processReport logging. (Contributed by Arpit Agarwal)
This closes #78
2016-02-20 23:19:09 -08:00
Jing Zhao
e54cc29312 HDFS-9818. Correctly handle EC reconstruction work caused by not enough racks. Contributed by Jing Zhao. 2016-02-19 19:02:23 -08:00
Jing Zhao
6546d9e7ff HDFS-9829. Erasure Coding: Improve few exception handling logic of ErasureCodingWorker. Contributed by Rakesh R. 2016-02-19 10:40:28 -08:00
Tsz-Wo Nicholas Sze
46f7790236 HDFS-8923. Add -source flag to balancer usage message. Contributed by Chris Trezzo 2016-02-18 18:18:12 -08:00
Kihwal Lee
ba6d5ed955 HDFS-4946. Allow preferLocalNode in BlockPlacementPolicyDefault to be configurable. Contributed by James Kinley and Nathan Roberts. 2016-02-18 13:21:51 -06:00
cnauroth
5d1889a66d HDFS-9711. Integrate CSRF prevention filter in WebHDFS. Contributed by Chris Nauroth. 2016-02-18 10:07:28 -08:00
Akira Ajisaka
e78d8e66f7 HDFS-6832. Fix the usage of 'hdfs namenode' command. Contributed by Manjunath Ballur. 2016-02-19 01:35:06 +09:00
Andrew Wang
3a23dc683c HDFS-9608. Disk IO imbalance in HDFS with heterogeneous storages. Contributed by Wei Zhou. 2016-02-17 11:29:58 -08:00
Haohui Mai
77f7ca3e94 HDFS-9815. Move o.a.h.fs.Hdfs to hadoop-hdfs-client. Contributed by Vinayakumar B. 2016-02-17 10:56:11 -08:00
Vinayakumar B
2536ece7b6 HDFS-9787. SNNs stop uploading FSImage to ANN once isPrimaryCheckPointer changed to false. (Contributed by Guocui Mi) 2016-02-17 10:41:24 +05:30
Junping Du
77ba5add0d HDFS-9456. BlockPlacementPolicyWithNodeGroup should override verifyBlockPlacement(). Contributed by Xiaobing Zhou. 2016-02-16 18:55:55 -08:00
Arpit Agarwal
1de1641f17 HDFS-9801. ReconfigurableBase should update the cached configuration. (Arpit Agarwal) 2016-02-12 12:41:04 -08:00
Arun Suresh
9fdfb546fb HDFS-9797. Log Standby exceptions thrown by RequestHedgingProxyProvider at DEBUG Level (Inigo Goiri via asuresh) 2016-02-12 11:18:10 -08:00
Jing Zhao
972782d956 HDFS-9754. Avoid unnecessary getBlockCollection calls in BlockManager. Contributed by Jing Zhao. 2016-02-12 11:07:52 -08:00
Akira Ajisaka
e6a7044b85 HDFS-9768. Reuse ObjectMapper instance in HDFS to improve the performance. Contributed by Lin Yiqun. 2016-02-13 01:57:24 +09:00
Arpit Agarwal
9b959f3ee7 HDFS-9790. HDFS Balancer should exit with a proper message if upgrade is not finalized (Contributed by Xiaobing Zhou) 2016-02-11 20:40:03 -08:00
Lei Xu
c7fcec24b8 HDFS-9795. OIV Delimited should show which files are ACL-enabled (lei) 2016-02-11 20:33:51 -08:00
Jing Zhao
19adb2bc64 HDFS-9789. Correctly update DataNode's scheduled block size when writing small EC file. Contributed by Jing Zhao. 2016-02-10 21:24:00 -08:00
Andrew Wang
aeb13ef2ab HDFS-9788. Incompatible tag renumbering in HeartbeatResponseProto. 2016-02-10 15:26:08 -08:00
Akira Ajisaka
802a7edfae HDFS-9686. Remove useless boxing/unboxing code. Contributed by Kousuke Saruta. 2016-02-10 23:49:14 +09:00
Akira Ajisaka
5e565ce7a7 Revert "HDFS-9686. Remove useless boxing/unboxing code. Contributed by Kousuke Saruta."
This reverts commit fe124da5ff.
2016-02-10 23:43:33 +09:00
Zhe Zhang
a0fb2eff9b HDFS-9775. Erasure Coding : Rename BlockRecoveryWork to BlockReconstructionWork. Contributed by Rakesh R.
Change-Id: I6dfc8efd94fa2bbb4eec0e4730a5a4f92c8a5519
2016-02-09 14:43:59 -08:00
Allen Wittenauer
401ae4ecdb HDFS-9760. WebHDFS AuthFilter cannot be configured with custom AltKerberos auth handler (Ryan Sasson via aw) 2016-02-09 14:15:21 -08:00
zhezhang
dbe49c1bd6 HDFS-9244. Support nested encryption zones.
Change-Id: I43a13035a8b27956e90967ee82058efb647c3415
2016-02-08 16:30:51 -08:00
Uma Maheswara Rao G
bffaa38a91 HDFS-9777. Fix typos in DFSAdmin command line and documentation.(Wei-Chiu Chuang via umamahesh) 2016-02-08 13:47:45 -08:00
Kihwal Lee
193d27de0a HDFS-9752. Permanent write failures may happen to slow writers during datanode rolling upgrades. Contributed by Walter Su. 2016-02-08 12:16:29 -06:00
Uma Maheswara Rao G
aea31eee78 HDFS-9713. DataXceiver#copyBlock should return if block is pinned. Contributed by Uma Maheswara Rao G. 2016-02-07 20:50:47 -08:00
Akira Ajisaka
fe124da5ff HDFS-9686. Remove useless boxing/unboxing code. Contributed by Kousuke Saruta. 2016-02-06 19:31:01 +09:00
cnauroth
c6497949e8 HDFS-9761. Rebalancer sleeps too long between iterations. Contributed by Mingliang Liu. 2016-02-05 15:07:43 -08:00
Tsz-Wo Nicholas Sze
4e5e1c0f99 HDFS-9726. Refactor IBR code to a new class. 2016-02-05 23:17:59 +08:00
Haohui Mai
1bcfab8e7f HDFS-9724. Degraded performance in WebHDFS listing as it does not reuse ObjectMapper. Contributed by Akira Ajisaka. 2016-02-04 11:34:26 -08:00
Kihwal Lee
496f33de0c HDFS-9730. Storage ID update does not happen when there is a layout change. Contributed by Tsz Wo Nicholas Sze. 2016-02-04 13:19:54 -06:00
Vinayakumar B
a6728a013e HDFS-9629. Update the footer of Web UI to show year 2016 (Contributed by Xiao Chen and Vinayakumar B) 2016-02-04 13:37:51 +05:30
Jing Zhao
7badf15604 HDFS-9748. Avoid duplication in pendingReplications when addExpectedReplicasToPending is called twice. Contributed by Walter Su. 2016-02-03 13:30:09 -08:00
Vinayakumar B
04375756a5 HDFS-9715. Check storage ID uniqueness on datanode startup (Contributed by Lei (Eddy) Xu) 2016-02-03 07:35:01 +05:30
zhezhang
4ae543fdcd HDFS-9731. Erasure Coding: Rename BlockECRecoveryCommand to BlockECReconstructionCommand. Contributed by Rakesh R.
Change-Id: I405365a8395770e494b92bfe9651f4f0366d8f28
2016-02-02 12:32:08 -08:00
Colin Patrick Mccabe
dd9ebf6eed HDFS-9260. Improve the performance and GC friendliness of NameNode startup and full block reports (Staffan Friberg via cmccabe) 2016-02-02 11:23:00 -08:00
Colin Patrick Mccabe
2da03b48eb HDFS-9669. TcpPeerServer should respect ipc.server.listen.queue.size (Elliot Clark via cmccabe) 2016-02-02 10:59:10 -08:00
Lei Xu
9d494f0c0e HDFS-9721. Allow Delimited PB OIV tool to run upon fsimage that contains INodeReference. (Xiao Chen via lei) 2016-02-02 10:42:01 -08:00
Vinayakumar B
4d7055e0c8 HDFS-9718. HAUtil#getConfForOtherNodes should unset independent generic keys before initialize (Contributed by DENG FEI) 2016-02-02 12:51:35 +05:30
Yongjun Zhang
34ab50ea92 HDFS-9406. FSImage may get corrupted after deleting snapshot. (Contributed by Jing Zhao, Stanislav Antic, Vinayakumar B, Yongjun Zhang) 2016-02-01 13:56:55 -08:00
Lei Xu
e50aa53eed HDFS-9701. DN may deadlock when hot-swapping under load. (Xiao Chen via lei) 2016-02-01 12:56:53 -08:00
Xiaoyu Yao
b11008d54d HDFS-9210. Fix some misuse of %n in VolumeScanner#printStats. Contributed by Xiaoyu Yao. 2016-02-01 11:55:27 -08:00
Steve Loughran
af2dccbca5 HDFS-9708. FSNamesystem.initAuditLoggers() doesn't trim classnames (Mingliang Liu via stevel) 2016-02-01 16:01:50 +00:00
Vinayakumar B
8f2622b6a0 HDFS-9659. EditLogTailerThread to Active Namenode RPC should timeout (Contributed by surendra singh lilhore) 2016-02-01 14:10:55 +05:30
Vinayakumar B
e418bd1fb0 HDFS-9566. Remove expensive 'BlocksMap#getStorages(Block b, final DatanodeStorage.State state)' method (Contributed by Daryn Sharp) 2016-02-01 13:24:05 +05:30
Yongjun Zhang
8ee060311c HDFS-9706. Log more details in debug logs in BlockReceiver's constructor. (Xiao Chen via Yongjun Zhang) 2016-01-28 23:04:03 -08:00
Colin Patrick Mccabe
f67149ab08 HDFS-7764. DirectoryScanner shouldn't abort the scan if one directory had an error (Rakesh R via cmccabe) 2016-01-28 19:54:50 -08:00
Tsz-Wo Nicholas Sze
662e17b46a HDFS-9654. Code refactoring for HDFS-8578. 2016-01-28 10:58:03 +08:00
Jing Zhao
ec25c7f9c7 HDFS-9677. Rename generationStampV1/generationStampV2 to legacyGenerationStamp/generationStamp. Contributed by Mingliang Liu. 2016-01-27 16:34:40 -08:00
Jing Zhao
3a9571308e Revert "HDFS-9677. Rename generationStampV1/generationStampV2 to legacyGenerationStamp/generationStamp. Contributed by Mingliang Liu."
This reverts commit 8a91109d16.
2016-01-27 16:31:19 -08:00
Jing Zhao
8a91109d16 HDFS-9677. Rename generationStampV1/generationStampV2 to legacyGenerationStamp/generationStamp. Contributed by Mingliang Liu. 2016-01-27 15:48:47 -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
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
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
Masatake Iwasaki
ae9c61ff0a HDFS-9618. Fix mismatch between log level and guard in BlockManager#computeRecoveryWorkForBlocks (iwasakims) 2016-01-22 14:11:48 +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
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
Vinayakumar B
1425578690 HDFS-9661. Deadlock in DN.FsDatasetImpl between moveBlockAcrossStorage and createRbw (Contributed by ade) 2016-01-20 21:04:21 +05:30
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
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
25051c3bd0 HDFS-9569. Log the name of the fsimage being loaded for better supportability. (Yongjun Zhang) 2016-01-12 09:22:22 -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
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
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
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
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
99cf2ecee9 HDFS-7553. fix the TestDFSUpgradeWithHA due to BindException. Contributed by Xiao Chen. 2015-12-29 10:56:59 -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
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
cnauroth
932956458d HADOOP-12570. HDFS Secure Mode Documentation updates. Contributed by Arpit Agarwal. 2015-12-18 16:24:53 -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
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
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
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
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
Uma Mahesh
f741476146 HDFS-9198. Coalesce IBR processing in the NN. (Daryn Sharp via umamahesh) 2015-12-16 18:16:39 -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
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
Allen Wittenauer
832b3cbde1 HDFS-9525. hadoop utilities need to support provided delegation tokens (HeeSoo Kim via aw) 2015-12-08 12:56:38 -08:00
cnauroth
303f80e656 HDFS-9414. Refactor reconfiguration of ClientDatanodeProtocol for reusability. Contributed by Xiaobing Zhou. 2015-12-08 10:49:32 -08:00
Steve Loughran
65f395226b HADOOP-12321. Make JvmPauseMonitor an AbstractService. (Sunil G via Stevel) [includes HDFS-8947 MAPREDUCE-6462 and YARN-4072] 2015-12-06 17:43:35 +00:00
Arpit Agarwal
86c95cb31a HDFS-9414. Refactor reconfiguration of ClientDatanodeProtocol for reusability. (Contributed by Xiaobing Zhou) 2015-12-04 20:24:08 -08:00
Arpit Agarwal
9d817fa1b1 HDFS-9214. Support reconfiguring dfs.datanode.balance.max.concurrent.moves without DN restart. (Contributed by Xiaobing Zhou) 2015-12-04 14:46:46 -08:00
Ming Ma
3fa33b5c2c HDFS-9430 Remove waitForLoadingFSImage since checkNNStartup has ensured image loaded and namenode started. (Brahma Reddy Battula via mingma) 2015-12-04 09:47:57 -08:00
Jing Zhao
a49cc74b4c HDFS-9129. Move the safemode block count into BlockManager. Contributed by Mingliang Liu. 2015-12-01 16:09:19 -08:00
Arpit Agarwal
58f6f54eea HDFS-6533. TestBPOfferService#testBasicFunctionalitytest fails intermittently. (Contributed by Wei-Chiu Chuang) 2015-12-01 13:32:32 -08:00
Jing Zhao
830eb252aa HDFS-9485. Make BlockManager#removeFromExcessReplicateMap accept BlockInfo instead of Block. Contributed by Mingliang Liu. 2015-12-01 13:05:22 -08:00
Akira Ajisaka
1c05393b51 HDFS-9336. deleteSnapshot throws NPE when snapshotname is null. Contributed by Brahma Reddy Battula. 2015-12-01 11:29:09 +08:00
Andrew Wang
9b8e50b424 HDFS-9470. Encryption zone on root not loaded from fsimage after NN restart. Xiao Chen via wang. 2015-11-30 14:32:51 -08:00
Vinayakumar B
9f256d1d71 HDFS-9426. Rollingupgrade finalization is not backward compatible (Contributed by Kihwal Lee)
(cherry picked from commit c62d42cd8bb09a5ffc0c5eefa2d87913e71b9e7e)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/DatanodeProtocolClientSideTranslatorPB.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/DatanodeProtocolServerSideTranslatorPB.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/proto/DatanodeProtocol.proto
2015-11-26 09:39:47 +05:30
Jing Zhao
e556c35b05 HDFS-9467. Fix data race accessing writeLockHeldTimeStamp in FSNamesystem. Contributed by Mingliang Liu. 2015-11-25 14:22:12 -08:00
Xiaoyu Yao
e3d673901b HDFS-8512. WebHDFS : GETFILESTATUS should return LocatedBlock with storage type info. Contributed by Xiaoyu Yao. 2015-11-25 13:41:06 -08:00
Tsz-Wo Nicholas Sze
78ec38b2ed HDFS-8807. dfs.datanode.data.dir does not handle spaces between storageType and URI correctly. Contributed by Anu Engineer 2015-11-24 16:01:55 -08:00
Haohui Mai
977e0b3c4c HDFS-8335. FSNamesystem should construct FSPermissionChecker only if permission is enabled. Contributed by Gabor Liptak. 2015-11-24 13:14:49 -08:00
Xiaoyu Yao
fe5624b85d HDFS-8855. Webhdfs client leaks active NameNode connections. Contributed by Xiaobing Zhou. 2015-11-24 12:47:57 -08:00
Haohui Mai
db4cab21f4 HDFS-5165. Remove the TotalFiles metrics. Contributed by Akira AJISAKA. 2015-11-24 11:41:57 -08:00
Ming Ma
0e54b164a8 HDFS-9314. Improve BlockPlacementPolicyDefault's picking of excess replicas. (Xiao Chen via mingma) 2015-11-24 10:30:24 -08:00
Uma Mahesh
411e2b2e7c HDFS-9433. DFS getEZForPath API on a non-existent file should throw FileNotFoundException (Rakesh R via umamahesh) 2015-11-23 17:54:31 -08:00
Haohui Mai
8228697857 HDFS-9024. Deprecate the TotalFiles metric. Contributed by Akira Ahisaka. 2015-11-22 23:02:50 -08:00
Haohui Mai
04c14b5dc4 HDFS-9356. Decommissioning node does not have Last Contact value in the UI. Contributed by Surendra Singh Lilhore. 2015-11-22 22:58:58 -08:00
Haohui Mai
a4bd54f9d7 HDFS-7897. Shutdown metrics when stopping JournalNode. Contributed by zhouyingchao. 2015-11-22 19:12:23 -08:00
Haohui Mai
bfbcfe7364 HDFS-6885. Fix wrong use of BytesWritable in FSEditLogOp#RenameOp. Contributed by Yi Liu. 2015-11-22 17:16:51 -08:00
Haohui Mai
38146a6cdb HDFS-7796. Include X-editable for slick contenteditable fields in the web UI. Contributed by Ravi Prakash. 2015-11-22 16:22:06 -08:00
Haohui Mai
176ff5ce90 HDFS-9402. Switch DataNode.LOG to use slf4j. Contributed by Walter Su. 2015-11-22 15:54:41 -08:00
Uma Mahesh
5b714a2819 HDFS-9348. Erasure Coding: DFS GetErasureCodingPolicy API on a non-existent file should be handled properly. (Rakesh R via umamahesh) 2015-11-21 22:38:36 -08:00
Tsz-Wo Nicholas Sze
8e03e855b6 HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30 seconds for printing info log messags. 2015-11-19 14:54:01 -08:00
Yongjun Zhang
31dc5c650e HDFS-9439. Include status of closeAck into exception message in DataNode#run. (Xiao Chen via Yongjun Zhang) 2015-11-19 14:20:33 -08:00
Ming Ma
1c4951a7a0 HDFS-8056. Decommissioned dead nodes should continue to be counted as dead after NN restart. (mingma) 2015-11-19 10:04:01 -08:00
Colin Patrick Mccabe
dfbde3fc51 HDFS-9252. Change TestFileTruncate to use FsDatasetTestUtils to get block file size and genstamp. (Lei (Eddy) Xu via cmccabe) 2015-11-17 10:48:15 -08:00
Arpit Agarwal
007c6ce1af HDFS-9397. Fix typo for readChecksum() LOG.warn in BlockSender.java. (Contributed by Enrique Flores) 2015-11-16 21:02:00 -08:00
Ming Ma
02653add98 HDFS-9413. getContentSummary() on standby should throw StandbyException. (Brahma Reddy Battula via mingma) 2015-11-16 09:32:40 -08:00
Kihwal Lee
a2a104f3d3 HDFS-9396. Total files and directories on jmx and web UI on standby is uninitialized. Contributed by Kihwal Lee. 2015-11-11 15:24:43 -06:00
Walter Su
2fda45b9dc HDFS-9401. Fix findbugs warnings in BlockRecoveryWorker. Contributed by Brahma Reddy Battula. 2015-11-10 14:48:08 +08:00
Yongjun Zhang
2741a2109b HDFS-9249. NPE is thrown if an IOException is thrown in NameNode constructor. (Wei-Chiu Chuang via Yongjun Zhang) 2015-11-09 14:04:03 -08:00
Xiaoyu Yao
41d3f8899d HDFS-9234. WebHdfs: getContentSummary() should give quota for storage types. Contributed by Surendra Singh Lilhore. 2015-11-09 09:57:56 -08:00
Vinayakumar B
6d2332ae37 HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma Reddy Battula) 2015-11-08 16:24:27 +05:30
Allen Wittenauer
b76b0ce51e HADOOP-12366. expose calculated paths (aw) 2015-11-07 08:32:56 -08:00
Kihwal Lee
bf6aa30a15 HDFS-9318. considerLoad factor can be improved. Contributed by Kuhu Shukla. 2015-11-06 13:30:33 -06:00
Yongjun Zhang
b64242c0d2 HDFS-9236. Missing sanity check for block size during block recovery. (Tony Wu via Yongjun Zhang) 2015-11-06 11:15:54 -08:00
Arpit Agarwal
0b18e5e8c6 HDFS-6481. DatanodeManager#getDatanodeStorageInfos() should check the length of storageIDs. (Contributed by szetszwo) 2015-11-06 10:15:23 -08:00
Yongjun Zhang
286cc6483f HDFS-9377. Fix findbugs warnings in FSDirSnapshotOp. (Mingliang Liu via Yongjun Zhang) 2015-11-05 14:36:12 -08:00
Haohui Mai
efc73d7896 HDFS-9372. Remove dead code in DataStorage.recoverTransitionRead. Contributed by Duo Zhang. 2015-11-05 10:00:01 -08:00
Kihwal Lee
ff47f35dee HDFS-4937. ReplicationMonitor can infinite-loop in BlockPlacementPolicyDefault#chooseRandom(). Contributed by Kihwal Lee. 2015-11-05 09:25:20 -06:00
Xiaoyu Yao
ea5bb48326 HDFS-9360. Storage type usage isn't updated properly after file deletion. Contributed by Ming Ma. 2015-11-05 01:30:13 -08:00
Lei Xu
ec414600ed HDFS-9007. Fix HDFS Balancer to honor upgrade domain policy. (Ming Ma via lei) 2015-11-04 10:22:17 -08:00
Haohui Mai
88beb46cf6 Revert "HDFS-8855. Webhdfs client leaks active NameNode connections. Contributed by Xiaobing Zhou."
This reverts commit 84cbd72afd.
2015-11-04 10:21:13 -08:00
Haohui Mai
0eed886a16 HDFS-9357. NN UI renders icons of decommissioned DN incorrectly. Contributed by Surendra Singh Lilhore. 2015-11-04 09:16:43 -08:00
Varun Vasudev
73b9c7b82b HADOOP-10787. Rename/remove non-HADOOP_*, etc from the shell scripts. Contributed by Allen Wittenauer. 2015-11-04 15:56:17 +05:30
Yongjun Zhang
194251c852 HDFS-9351. checkNNStartup() need to be called when fsck calls FSNamesystem.getSnapshottableDirs(). (Xiao Chen via Yongjun Zhang) 2015-11-03 17:16:17 -08:00
Zhe Zhang
dac0463a4e HDFS-9289. Make DataStreamer#block thread safe and verify genStamp in commitBlock. Contributed by Chang Li.
Change-Id: If5ce1b2d212bb0726bce52ad12a3de401bcec02d
2015-11-03 13:34:24 -08:00
Ming Ma
d565480da2 HDFS-9313. Possible NullPointerException in BlockManager if no excess replica can be chosen. (mingma) 2015-11-02 19:36:37 -08:00
yliu
5ba2b98d0f HDFS-9275. Wait previous ErasureCodingWork to finish before schedule another one. (Walter Su via yliu) 2015-11-03 09:14:32 +08:00
Arpit Agarwal
3cde6931cb HDFS-9343. Empty caller context considered invalid. (Contributed by Mingliang Liu) 2015-11-01 15:35:02 -08:00
yliu
7fd6416759 Revert "HDFS-4937. ReplicationMonitor can infinite-loop in BlockPlacementPolicyDefault#chooseRandom(). Contributed by Kihwal Lee."
This reverts commit 43539b5ff4.
2015-10-31 16:20:48 +08:00
Kihwal Lee
43539b5ff4 HDFS-4937. ReplicationMonitor can infinite-loop in BlockPlacementPolicyDefault#chooseRandom(). Contributed by Kihwal Lee. 2015-10-30 09:29:13 -05:00
Andrew Wang
888c6245e2 HDFS-9332. Fix Precondition failures from NameNodeEditLogRoller while saving namespace. 2015-10-29 11:30:47 -07:00
Zhe Zhang
8def51a708 HDFS-9229. Expose size of NameNode directory as a metric. Contributed by Surendra Singh Lilhore.
Change-Id: I985627a5d1400249d72d084283ef366d5ac6e07b
2015-10-29 11:23:08 -07:00
Walter Su
5eca6dece6 HADOOP-12327. Initialize output buffers with ZERO bytes in erasure coder. Contributed by Kai Zheng. 2015-10-29 15:04:34 +08:00
Vinayakumar B
588baab160 HDFS-9044. Give Priority to FavouredNodes , before selecting nodes from FavouredNode's Node Group (Contributed by J.Andreina) 2015-10-29 11:44:01 +05:30
Kihwal Lee
19a77f5466 HDFS-9279. Decomissioned capacity should not be considered for configured/used capacity. Contributed by Kihu Shukla . 2015-10-28 11:58:51 -05:00
Zhe Zhang
e287e7d14b HDFS-9255. Consolidate block recovery related implementation into a single class. Contributed by Walter Su.
Change-Id: I7a1c03f50123d79ac0a78c981d9721617e3229d1
2015-10-28 07:34:06 -07:00
yliu
c201cf951d HADOOP-12040. Adjust inputs order for the decode API in raw erasure coder. (Kai Zheng via yliu) 2015-10-28 16:18:23 +08:00
yliu
6ff6663f64 HDFS-9302. WebHDFS throws NullPointerException if newLength is not provided. (Jagadesh Kiran N via yliu) 2015-10-28 15:54:04 +08:00
Yongjun Zhang
97913f430c HDFS-9231. fsck doesn't list correct file path when Bad Replicas/Blocks are in a snapshot. (Xiao Chen via Yongjun Zhang) 2015-10-27 23:31:50 -07:00
cnauroth
bf8e452982 HDFS-9311. Support optional offload of NameNode HA service health checks to a separate RPC server. Contributed by Chris Nauroth. 2015-10-27 23:07:14 -07:00
Allen Wittenauer
1396867b52 HADOOP-12494. fetchdt stores the token based on token kind instead of token service (HeeSoo Kim via aw) 2015-10-27 12:02:43 -07:00
Colin Patrick Mccabe
fe93577faf HDFS-9299. Give ReplicationMonitor a readable thread name (Staffan Friberg via Colin P. McCabe) 2015-10-27 11:37:26 -07:00
Ming Ma
aa09880ab8 HDFS-9259. Make SO_SNDBUF size configurable at DFSClient side for hdfs write scenario. (Mingliang Liu via mingma) 2015-10-27 09:28:40 -07:00
Arpit Agarwal
d8736eb9ca HDFS-9305. Delayed heartbeat processing causes storm of subsequent heartbeats. (Contributed by Arpit Agarwal) 2015-10-26 15:54:14 -07:00
Andrew Wang
677a936bf7 HDFS-9284. fsck command should not print exception trace when file not found. Contributed by Jagadesh Kiran N. 2015-10-26 15:15:03 -07:00
Yongjun Zhang
5e718de522 HDFS-7284. Add more debug info to BlockInfoUnderConstruction#setGenerationStampAndVerifyReplicas. (Wei-Chiu Chuang via Yongjun Zhang) 2015-10-26 13:25:31 -07:00
Arpit Agarwal
86c92227fc HDFS-4015. Safemode should count and report orphaned blocks. (Contributed by Anu Engineer) 2015-10-23 18:07:17 -07:00
Haohui Mai
15eb84b37e HDFS-9301. HDFS clients can't construct HdfsConfiguration instances. Contributed by Mingliang Liu. 2015-10-23 14:53:34 -07:00
Zhe Zhang
ab3c4cff4a HDFS-8808. dfs.image.transfer.bandwidthPerSec should not apply to -bootstrapStandby. Contributed by Zhe Zhang. 2015-10-23 14:01:49 -07:00
Lei Xu
533a2be5ac HDFS-9264. Minor cleanup of operations on FsVolumeList#volumes. (Walter Su via lei) 2015-10-23 13:52:59 -07:00
Jitendra Pandey
600ad7bf41 HDFS-9184. Logging HDFS operation's caller context into audit logs. Contributed by Mingliang Liu. 2015-10-23 12:15:01 -07:00
Andrew Wang
3dadf369d5 HDFS-7087. Ability to list /.reserved. Contributed by Xiao Chen. 2015-10-21 16:58:47 -07:00
cnauroth
1b525a9c32 HDFS-9273. ACLs on root directory may be lost after NN restart. Contributed by Xiao Chen. 2015-10-21 16:39:02 -07:00
Andrew Wang
a24c6e8420 HDFS-9278. Fix preferredBlockSize typo in OIV XML output. Contributed by Nicole Pazmany. 2015-10-21 14:58:21 -07:00
Jing Zhao
d806a5bf07 HDFS-9070. Allow fsck display pending replica location information for being-written blocks. Contributed by Gao Rui. 2015-10-21 14:44:05 -07:00
Zhe Zhang
59ce780d53 HDFS-9274. Default value of dfs.datanode.directoryscan.throttle.limit.ms.per.sec should be consistent. Contributed by Yi Liu.
Change-Id: Iafa2efb8f2eafd193b417690cc8794080b9d745b
2015-10-21 14:03:12 -07:00
Ming Ma
e27c2ae8ba HDFS-8647. Abstract BlockManager's rack policy into BlockPlacementPolicy. (Brahma Reddy Battula via mingma) 2015-10-21 08:06:58 -07:00
Andrew Wang
6c8b6f3646 HDFS-3059. ssl-server.xml causes NullPointer. Contributed by Xiao Chen. 2015-10-20 13:44:53 -07:00
yliu
9cb5d35353 HDFS-9208. Disabling atime may fail clients like distCp. (Kihwal Lee via yliu) 2015-10-20 11:33:04 +08:00
Harsh J
52ac73f344 HDFS-9257. improve error message for "Absolute path required" in INode.java to contain the rejected path. Contributed by Marcell Szabo 2015-10-16 17:12:35 +02:00
Jing Zhao
7a98d94b7b Add Apache license header in DatanodeStats.java 2015-10-15 10:32:20 -07:00
Kihwal Lee
c7c36cbd62 HDFS-9220. Reading small file (< 512 bytes) that is open for append fails due to incorrect checksum. Contributed by Jing Zhao. 2015-10-15 11:24:14 -05:00
Vinayakumar B
08f5de1ef5 HDFS-9157. [OEV and OIV] : Unnecessary parsing for mandatory arguements if '-h' option is specified as the only option (Contributed by nijel) 2015-10-15 17:37:06 +05:30
Tsz-Wo Nicholas Sze
5411dc559d HDFS-9205. Do not schedule corrupt blocks for replication. (szetszwo) 2015-10-15 18:07:09 +08:00
Jing Zhao
be7a0add8b HDFS-9223. Code cleanup for DatanodeDescriptor and HeartbeatManager. Contributed by Jing Zhao. 2015-10-14 16:17:49 -07:00
Xiaoyu Yao
a8070259f8 Revert "HDFS-9210. Fix some misuse of %n in VolumeScanner#printStats. Contributed by Xiaoyu Yao."
This reverts commit 3d50855952.
2015-10-14 14:41:13 -07:00
Xiaoyu Yao
3d50855952 HDFS-9210. Fix some misuse of %n in VolumeScanner#printStats. Contributed by Xiaoyu Yao. 2015-10-14 13:22:58 -07:00
Jing Zhao
2a98724342 HDFS-1172. Blocks in newly completed files are considered under-replicated too quickly. Contributed by Masatake Iwasaki. 2015-10-13 23:00:18 -07:00
Haohui Mai
aa299ecd5e HDFS-8779. WebUI fails to display block IDs that are larger than 2^53 - 1. Contributed by Haohui Mai. 2015-10-13 13:53:28 -07:00
Haohui Mai
d1e1925bf6 HDFS-9145. Tracking methods that hold FSNamesytemLock for too long. Contributed by Mingliang Liu. 2015-10-13 13:24:15 -07:00
Jing Zhao
da16c9b3b4 HDFS-8438. Erasure Coding: Allow concat striped files if they have the same ErasureCodingPolicy. Contributed by Walter Su. 2015-10-13 11:03:37 -07:00
Jitendra Pandey
84cbd72afd HDFS-8855. Webhdfs client leaks active NameNode connections. Contributed by Xiaobing Zhou. 2015-10-13 09:12:04 -07:00
Kihwal Lee
5b43db47a3 HDFS-8676. Delayed rolling upgrade finalization can cause heartbeat expiration. Contributed by Walter Su. 2015-10-13 10:04:18 -05:00
Lei Xu
0f5f9846ed HDFS-9006. Provide BlockPlacementPolicy that supports upgrade domain. (Ming Ma via lei) 2015-10-12 16:24:16 -07:00
yliu
73b86a5046 HDFS-8988. Use LightWeightHashSet instead of LightWeightLinkedSet in BlockManager#excessReplicateMap. (yliu) 2015-10-12 14:40:14 +08:00
yliu
0ff1216100 HDFS-9221. HdfsServerConstants#ReplicaState#getState should avoid calling values() since it creates a temporary array. (Staffan Friberg via yliu) 2015-10-12 14:28:15 +08:00
Andrew Wang
357b1fd082 HDFS-9110. Use Files.walkFileTree in NNUpgradeUtil#doPreUpgrade for better efficiency. Contributed by Charlie Helin. 2015-10-09 11:49:16 -07:00
Yongjun Zhang
c11fc8a1be HDFS-9181. Better handling of exceptions thrown during upgrade shutdown. Contributed by Wei-Chiu Chuang. 2015-10-09 09:21:29 -07:00
Jing Zhao
118a35bc2e HDFS-9204. DatanodeDescriptor#PendingReplicationWithoutTargets is wrongly calculated. Contributed by Mingliang Liu. 2015-10-08 14:11:02 -07:00
Yongjun Zhang
1107bd399c HDFS-8164. cTime is 0 in VERSION file for newly formatted NameNode. Contributed by Xiao Chen. 2015-10-07 23:20:10 -07:00
yliu
35affec38e HDFS-9137. DeadLock between DataNode#refreshVolumes and BPOfferService#registrationSucceeded. (Uma Maheswara Rao G via yliu) 2015-10-08 10:27:47 +08:00
Andrew Wang
66e2cfa1a0 HDFS-8632. Add InterfaceAudience annotation to the erasure coding classes. Contributed by Rakesh R. 2015-10-07 18:12:26 -07:00
Kihwal Lee
99e5204ff5 HDFS-9178. Slow datanode I/O can cause a wrong node to be marked bad. Contributed by Kihwal Lee. 2015-10-07 10:17:17 -05:00
Vinayakumar B
61b3547c46 HDFS-9159. [OIV] : return value of the command is not correct if invalid value specified in '-p (processor)' option (Contributed by nijel) 2015-10-07 14:29:34 +05:30
Haohui Mai
3112f26368 HDFS-9170. Move libhdfs / fuse-dfs / libwebhdfs to hdfs-client. Contributed by Haohui Mai. 2015-10-07 00:06:33 -07:00
Jing Zhao
8e53311ca2 HDFS-9206. Inconsistent default value of dfs.datanode.stripedread.buffer.size. Contributed by Walter Su. 2015-10-06 23:44:05 -07:00
Colin Patrick Mccabe
2fc2b50534 HDFS-9155. OEV should treat .XML files as XML even when the file name extension is uppercase (nijel via cmccabe) 2015-10-05 12:53:58 -07:00
Vinayakumar B
b925cf1006 HDFS-9158. [OEV-Doc] : Document does not mention about '-f' and '-r' options (Contributed by nijel) 2015-10-05 18:23:18 +05:30
Vinayakumar B
0faa4efa3d HDFS-9151. Mover should print the exit status/reason on console like balancer tool. (Contributed by Surendra singh lilhore) 2015-10-05 13:22:44 +05:30
Tsuyoshi Ozawa
30e2f836a2 HADOOP-11098. [JDK8] Max Non Heap Memory default changed between JDK7 and 8. 2015-10-05 08:15:06 +09:00
Haohui Mai
3b85bd7c33 HDFS-9193. Fix incorrect references the usages of the DN in dfshealth.js. Contributed by Chang Li. 2015-10-03 11:44:34 -07:00
Yongjun Zhang
1037ee580f HDFS-9100. HDFS Balancer does not respect dfs.client.use.datanode.hostname. Contributed by Casey Brotherton. 2015-10-02 12:00:14 -07:00
Jakob Homan
3929ac9340 HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled. Contributed by Catherine Palmer. 2015-10-02 11:13:24 -07:00
Jing Zhao
c6cafc77e6 HDFS-9185. Fix null tracer in ErasureCodingWorker. Contributed by Rakesh R. 2015-10-02 11:08:17 -07:00
Zhe Zhang
6c17d31528 Merge remote-tracking branch 'apache/trunk' into HDFS-7285
Conflicts:
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java

Change-Id: I53ec1c426dc988d6c4a2c87b00caef49c4057010
2015-09-30 08:39:13 -07:00
Aaron T. Myers
071733dc69 HDFS-9001. DFSUtil.getNsServiceRpcUris() can return too many entries in a non-HA, non-federated cluster. Contributed by Daniel Templeton. 2015-09-29 18:19:31 -07:00
Haohui Mai
6f335e4f0e HDFS-8696. Make the lower and higher watermark in the DN Netty server configurable. Contributed by Xiaobing Zhou. 2015-09-29 14:59:13 -07:00
Haohui Mai
8703301b46 HDFS-9174. Fix findbugs warnings in FSOutputSummer.tracer and DirectoryScanner$ReportCompiler.currentThread. Contributed by Yi Liu. 2015-09-29 14:56:06 -07:00
Haohui Mai
80d33b589b HDFS-9165. Move entries in META-INF/services/o.a.h.fs.FileSystem to hdfs-client. Contributed by Mingliang Liu. 2015-09-29 09:50:04 -07:00
Colin Patrick Mccabe
850d679acb HADOOP-12447. Clean up some htrace integration issues (cmccabe) 2015-09-29 09:25:11 -07:00
yliu
715dbddf77 HDFS-9141. Thread leak in Datanode#refreshVolumes. (Uma Maheswara Rao G via yliu) 2015-09-29 22:05:34 +08:00
Zhe Zhang
8fd5520246 Merge remote-tracking branch 'apache/trunk' into HDFS-7285
Conflicts:
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
	hadoop-hdfs-project/hadoop-hdfs-client/src/main/proto/hdfs.proto
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelper.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirStatAndListingOp.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/proto/DatanodeProtocol.proto
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockTokenWithDFS.java
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsck.java

Change-Id: Ic7946c4ea35bed587fe879ce58b959b25ecc0823
2015-09-29 01:39:16 -07:00
yliu
d6fa34e014 HDFS-8859. Improve DataNode ReplicaMap memory footprint to save about 45%. (yliu) 2015-09-29 16:20:35 +08:00
Jing Zhao
6419900ac2 HDFS-9040. Erasure coding: coordinate data streamers in DFSStripedOutputStream. Contributed by Jing Zhao and Walter Su. 2015-09-28 14:40:27 -07:00
Colin Patrick Mccabe
892ade689f HDFS-9080. Update htrace version to 4.0.1 (cmccabe) 2015-09-28 07:42:12 -07:00
Haohui Mai
1c030c6e58 HDFS-8740. Move DistributedFileSystem to hadoop-hdfs-client. Contributed by Mingliang Liu. 2015-09-27 10:54:44 -07:00
Colin Patrick Mccabe
0b31c237f2 HDFS-9087. Add some jitter to DataNode.checkDiskErrorThread (Elliott Clark via Colin P. McCabe) 2015-09-26 20:36:24 -07:00
Haohui Mai
bf37d3d80e HDFS-8053. Move DFSIn/OutputStream and related classes to hadoop-hdfs-client. Contributed by Mingliang Liu. 2015-09-26 11:08:25 -07:00
Colin Patrick Mccabe
7a3c381b39 HDFS-8873. Allow the directoryScanner to be rate-limited (Daniel Templeton via Colin P. McCabe) 2015-09-26 04:09:06 -07:00
Lei Xu
5eb237d544 HDFS-9132. Pass genstamp to ReplicaAccessorBuilder. (Colin Patrick McCabe via Lei (Eddy) Xu) 2015-09-25 15:50:19 -07:00
Colin Patrick Mccabe
4e7c6a653f HDFS-9107. Prevent NN's unrecoverable death spiral after full GC (Daryn Sharp via Colin P. McCabe)
Change-Id: Ib8420310e515bb98091de86ea5c4be354878d43c
2015-09-25 15:25:42 -07:00
Jing Zhao
83e99d06d0 HDFS-9112. Improve error message for Haadmin when multiple name service IDs are configured. Contributed by Anu Engineer. 2015-09-25 14:21:23 -07:00
Haohui Mai
692b1a45ce HDFS-9134. Move LEASE_{SOFTLIMIT,HARDLIMIT}_PERIOD constants from HdfsServerConstants to HdfsConstants. Contributed by Mingliang Liu. 2015-09-24 20:19:16 -07:00
Arpit Agarwal
df31c446bf HADOOP-12437. Allow SecurityUtil to lookup alternate hostnames. (Contributed by Arpit Agarwal) 2015-09-24 11:41:48 -07:00
Haohui Mai
71a81b6257 HDFS-7529. Consolidate encryption zone related implementation into a single class. Contributed by Rakesh R. 2015-09-24 08:34:32 -07:00
Vinayakumar B
e52bc697f8 HDFS-9076. Log full path instead of inodeId in DFSClient#closeAllFilesBeingWritten() (Contributed by Surendra Singh Lilhore) 2015-09-24 17:43:23 +05:30
Haohui Mai
ead1b9e680 HDFS-9131. Move config keys used by hdfs-client to HdfsClientConfigKeys. Contributed by Mingliang Liu. 2015-09-24 00:30:01 -07:00
Haohui Mai
4893adff19 HDFS-9130. Use GenericTestUtils#setLogLevel to the logging level. Contributed by Mingliang Liu. 2015-09-23 23:59:19 -07:00
Zhe Zhang
c09dc258a8 HDFS-8882. Erasure Coding: Use datablocks, parityblocks and cell size from ErasureCodingPolicy. Contributed by Vinayakumar B.
Change-Id: Ic56da0b426f47c63dac440aef6f5fc8554f6cf13
2015-09-23 13:34:09 -07:00
Vinayakumar B
a2c76e5f26 HDFS-9013. Deprecate NameNodeMXBean#getNNStarted in branch2 and remove from trunk (Contributed by Surendra Singh Lilhore) 2015-09-23 15:28:41 +05:30
Haohui Mai
7c5c099324 HDFS-8733. Keep server related definition in hdfs.proto on server side. Contributed by Mingliang Liu. 2015-09-22 20:57:05 -07:00
Haohui Mai
63d9f1596c HDFS-9039. Separate client and server side methods of o.a.h.hdfs.NameNodeProxies. Contributed by Mingliang Liu. 2015-09-22 20:52:37 -07:00
Kai Zheng
7bff8ca1c8 HDFS-8920. Erasure Coding: when recovering lost blocks, logs can be too verbose and hurt performance. Contributed by Rui Li 2015-09-22 13:27:24 -07:00
Zhe Zhang
1080c37300 Merge remote-tracking branch 'apache/trunk' into HDFS-7285
Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/Namesystem.java
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java

Change-Id: I8511c4d64b0959e79129febc179845a3892fedcc
2015-09-22 13:27:09 -07:00
Vinayakumar B
10ab7d595e HDFS-8780. Fetching live/dead datanode list with arg true for removeDecommissionNode,returns list with decom node. (Contributed by J.Andreina) 2015-09-22 12:25:35 +05:30
Tsuyoshi Ozawa
dfd807afab HADOOP-12428. Fix inconsistency between log-level guards and statements. Contributed by Jagadesh Kiran N and Jackie Chang. 2015-09-22 12:54:29 +09:00
Haohui Mai
06022b8fdc HDFS-9111. Move hdfs-client protobuf convert methods from PBHelper to PBHelperClient. Contributed by Mingliang Liu. 2015-09-21 18:53:13 -07:00
Zhe Zhang
a9e6681edf HDFS-9091. Erasure Coding: Provide DistributedFilesystem API to getAllErasureCodingPolicies. Contributed by Rakesh R.
Change-Id: Id30a1ce9e2ce676d00a9220a2d3f14b8d9f00527
2015-09-21 13:24:02 -07:00
Uma Mahesh
b762199adb HDFS-9113. ErasureCodingWorker#processErasureCodingTasks should not fail to process remaining tasks due to one invalid ECTask. Contributed by Uma Maheswara Rao G. 2015-09-19 21:18:42 -07:00
Lei Xu
3a9c7076e8 HDFS-9004. Add upgrade domain to DatanodeInfo. Contributed by Ming Ma (via Lei (Eddy) Xu).
Change-Id: I887c66578eebd61acc34b94f18da6e6851c609f4
2015-09-19 18:08:09 -07:00
Haohui Mai
66b46d0885 HDFS-9101. Remove deprecated NameNode.getUri() static helper method. Contributed by Mingliang Liu. 2015-09-18 18:23:53 -07:00
Zhe Zhang
c457095206 HDFS-8550. Erasure Coding: Fix FindBugs Multithreaded correctness Warning. Contributed by Rakesh R.
Change-Id: Ic248999a7f8e5e740d49c9b10abcf16f66dd0f98
2015-09-18 11:04:06 -07:00
Zhe Zhang
82a88b92b4 HDFS-9086. Rename dfs.datanode.stripedread.threshold.millis to dfs.datanode.stripedread.timeout.millis. Contributed by Andrew Wang.
Change-Id: Ice86c5d46d29e94087c0f186b941d5394e7ac0e6
2015-09-18 10:45:29 -07:00
Jing Zhao
3f42753102 HDFS-9063. Correctly handle snapshot path for getContentSummary. Contributed by Jing Zhao. 2015-09-18 09:26:33 -07:00
Yongjun Zhang
2ff6faf954 HDFS-5802. NameNode does not check for inode type before traversing down a path. (Xiao Chen via Yongjun Zhang) 2015-09-18 07:17:30 -07:00
Vinayakumar B
92c1af1646 HDFS-6955. DN should reserve disk space for a full block when creating tmp files (Contributed by Kanaka Kumar Avvaru) 2015-09-18 16:37:10 +05:30
Zhe Zhang
607bda2a21 HDFS-9097. Erasure coding: update EC command "-s" flag to "-p" when specifying policy. Contributed by Zhe Zhang.
Change-Id: I82919e55c4a0d8646d25a53aac757098a56b3029
2015-09-17 14:52:37 -07:00
Haohui Mai
9eee97508f HDFS-9022. Move NameNode.getAddress() and NameNode.getUri() to hadoop-hdfs-client. Contributed by Mingliang Liu. 2015-09-17 14:18:00 -07:00
Haohui Mai
07f304467d HDFS-7995. Implement chmod in the HDFS Web UI. Contributed by Ravi Prakash and Haohui Mai. 2015-09-16 11:50:28 -07:00
Haohui Mai
6c52be78a0 HDFS-7986. Allow files / directories to be deleted from the NameNode UI. Contributed by Ravi Prakash. 2015-09-15 16:48:15 -07:00
Vinayakumar B
ce69c9b54c HDFS-8953. DataNode Metrics logging (Contributed by Kanaka Kumar Avvaru) 2015-09-16 00:18:29 +05:30
Zhe Zhang
ced438a4bf HDFS-8899. Erasure Coding: use threadpool for EC recovery tasks on DataNode. Contributed by Rakesh R.
Change-Id: I9429706ae3c9b10a9274c07b98da6ed54cce192b
2015-09-15 10:43:13 -07:00
Ming Ma
083b44c136 HDFS-9008. Balancer#Parameters class could use a builder pattern. (Chris Trezzo via mingma) 2015-09-15 10:16:02 -07:00
Haohui Mai
d777757d21 HDFS-9065. Include commas on # of files, blocks, total filesystem objects in NN Web UI. Contributed by Daniel Templeton. 2015-09-14 20:26:56 -07:00
Haohui Mai
76957a485b HDFS-9010. Replace NameNode.DEFAULT_PORT with HdfsClientConfigKeys.DFS_NAMENODE_RPC_PORT_DEFAULT config key. Contributed by Mingliang Liu. 2015-09-14 18:22:52 -07:00
Colin Patrick Mccabe
7b5cf5352e HDFS-8829. Make SO_RCVBUF and SO_SNDBUF size configurable for DataTransferProtocol sockets and allow configuring auto-tuning (He Tianyi via Colin P. McCabe)
Change-Id: I77dc71aaf9e14ef743f2a2cbebeec04a4f628c78
2015-09-14 16:02:10 -07:00
Colin Patrick Mccabe
53bad4eb00 HDFS-8996. Consolidate validateLog and scanLog in FJM#EditLogFile (Zhe Zhang via Colin P. McCabe) 2015-09-14 15:22:12 -07:00
Haohui Mai
0c7d3f4805 HDFS-9041. Move entries in META-INF/services/o.a.h.fs.FileSystem to hdfs-client. Contributed by Mingliang Liu. 2015-09-12 11:02:51 -07:00
Vinayakumar B
c715650385 HDFS-9036. In BlockPlacementPolicyWithNodeGroup#chooseLocalStorage , random node is selected eventhough fallbackToLocalRack is true. (Contributed by J.Andreina) 2015-09-12 17:40:16 +05:30
Arpit Agarwal
15a557fcfe HDFS-9027. Refactor o.a.h.hdfs.DataStreamer#isLazyPersist() method. (Contributed by Mingliang Liu) 2015-09-11 10:11:52 -07:00
Zhe Zhang
96d6b516b2 HDFS-8853. Erasure Coding: Provide ECSchema validation when setting EC policy. Contributed by J.Andreina.
Change-Id: I9211d9728480225a407d82e6c0bea1a928adfa11
2015-09-10 16:31:37 -07:00
Kihwal Lee
a40342b0da HDFS-6763. Initialize file system-wide quota once on transitioning to active. Contributed by Kihwal Lee 2015-09-10 09:16:29 -05:00
Zhe Zhang
f62237bc2f HDFS-8833. Erasure coding: store EC schema and cell size in INodeFile and eliminate notion of EC zones. 2015-09-09 23:07:55 -07:00
Vinayakumar B
4014ce5990 HDFS-8581. ContentSummary on / skips further counts on yielding lock (contributed by J.Andreina) 2015-09-10 00:08:19 +05:30
Vinayakumar B
0f0e897bf1 HDFS-7116. Add a command to get the balancer bandwidth (Contributed by Rakesh R) 2015-09-09 22:58:50 +05:30
Kihwal Lee
4d13335fc9 HDFS-8716. Introduce a new config specifically for safe mode block count. Contributed by Chang Li. 2015-09-09 11:08:24 -05:00
Vinayakumar B
94cf7ab9d2 HDFS-8929. Add a metric to expose the timestamp of the last journal (Contributed by surendra singh lilhore) 2015-09-09 11:03:57 +05:30
Colin Patrick Mccabe
a153b9601a HDFS-8860. Remove unused Replica copyOnWrite code (Lei (Eddy) Xu via Colin P. McCabe) 2015-09-08 18:37:22 -07:00
Xiaoyu Yao
970daaa5e4 HDFS-9019. Adding informative message to sticky bit permission denied exception. Contributed by Xiaoyu Yao. 2015-09-08 09:57:36 -07:00
Ming Ma
30db1adac3 HDFS-8981. Adding revision to data node jmx getVersion() method. (Siqi Li via mingma) 2015-09-04 11:55:58 -07:00
Haohui Mai
715b9c6499 HDFS-8984. Move replication queues related methods in FSNamesystem to BlockManager. Contributed by Haohui Mai. 2015-09-04 11:45:31 -07:00
Jing Zhao
8928729c80 HDFS-8384. Allow NN to startup if there are files having a lease but are not under construction. Contributed by Jing Zhao. 2015-09-04 11:42:22 -07:00
Haohui Mai
d16c4eee18 HDFS-9012. Move o.a.h.hdfs.protocol.datatransfer.PipelineAck class to hadoop-hdfs-client module. Contributed by Mingliang Liu. 2015-09-04 10:41:09 -07:00
Haohui Mai
ed78b14ebc HDFS-9002. Move o.a.h.hdfs.net/*Peer classes to hdfs-client. Contributed by Mingliang Liu. 2015-09-03 15:32:53 -07:00
Jakob Homan
c2d2c1802a HDFS-8939. Test(S)WebHdfsFileContextMainOperations failing on branch-2. Contributed by Chris Nauroth.
(cherry picked from commit 9871f57d41990b2763d4c23d9040aeb685b4a80f)
2015-09-03 13:26:54 -07:00
Colin Patrick Mccabe
53c38cc89a HDFS-8964. When validating the edit log, do not read at or beyond the file offset that is being written (Zhe Zhang via Colin P. McCabe) 2015-09-03 11:22:47 -07:00
Jing Zhao
60bd765ac1 HDFS-8978. Erasure coding: fix 2 failed tests of DFSStripedOutputStream. Contributed by Walter Su. 2015-09-02 17:41:08 -07:00
Ming Ma
d31a41c359 HDFS-8890. Allow admin to specify which blockpools the balancer should run on. (Chris Trezzo via mingma) 2015-09-02 15:55:42 -07:00
Jing Zhao
de928d566a HDFS-9003. ForkJoin thread pool leaks. Contributed by Kihwal Lee. 2015-09-02 15:19:04 -07:00
Andrew Wang
afc88b396f HDFS-328. Improve fs -setrep error message for invalid replication factors. Contributed by Daniel Templeton. 2015-09-02 13:46:00 -07:00
Jing Zhao
ddf4e78547 HDFS-8937. Erasure coding: do not throw exception when setting replication factor on EC files. Contributed by Gao Rui. 2015-09-02 11:45:45 -07:00
Akira Ajisaka
65ccf2b125 HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore. 2015-09-02 14:28:38 +09:00
yliu
5652131d2e HDFS-8995. Flaw in registration bookeeping can make DN die on reconnect. (Kihwal Lee via yliu) 2015-09-02 08:58:51 +08:00
Zhe Zhang
53358fe680 Merge remote-tracking branch 'apache/trunk' into HDFS-7285 2015-09-01 14:48:37 -07:00
Zhe Zhang
ab56fcdb12 Merge remote-tracking branch 'apache/trunk' into HDFS-7285 2015-09-01 14:30:25 -07:00
Colin Patrick Mccabe
24f6a7c956 HDFS-8965. Harden edit log reading code against out of memory errors (cmccabe) 2015-08-31 18:06:30 -07:00
yliu
8fa41d9dd4 HDFS-8946. Improve choosing datanode storage for block placement. (yliu) 2015-09-01 08:52:50 +08:00
Haohui Mai
826ae1c26d HDFS-8990. Move RemoteBlockReader to hdfs-client module. Contributed by Mingliang Liu. 2015-08-31 13:54:14 -07:00
Jing Zhao
caa04de149 HDFS-8980. Remove unnecessary block replacement in INodeFile. Contributed by Jing Zhao. 2015-08-31 11:48:09 -07:00
Arpit Agarwal
bdbe53c676 HDFS-8983. NameNode support for protected directories. (Contributed by Arpit Agarwal) 2015-08-29 09:52:37 -07:00
Haohui Mai
e2c9b288b2 HDFS-8925. Move BlockReaderLocal to hdfs-client. Contributed by Mingliang Liu. 2015-08-28 14:38:36 -07:00
Colin Patrick Mccabe
b94b56806d HDFS-8950. NameNode refresh doesn't remove DataNodes that are no longer in the allowed list (Daniel Templeton) 2015-08-28 14:21:46 -07:00
Haohui Mai
6d12cd8d60 HDFS-8938. Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager. Contributed by Mingliang Liu. 2015-08-28 14:14:32 -07:00
Kihwal Lee
b6ceee9bf4 HDFS-8865. Improve quota initialization performance. Contributed by Kihwal Lee. 2015-08-28 13:14:35 -05:00
yliu
e166c038c0 HDFS-8963. Fix incorrect sign extension of xattr length in HDFS-8900. (Colin Patrick McCabe via yliu) 2015-08-28 10:54:55 +08:00
Haohui Mai
035ed26147 Revert "HDFS-8938. Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager. Contributed by Mingliang Liu."
This reverts commit 4e9307f26d.
2015-08-27 16:09:35 -07:00
Haohui Mai
4e9307f26d HDFS-8938. Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from BlockManager. Contributed by Mingliang Liu. 2015-08-27 15:36:44 -07:00
Haohui Mai
f97a0f8c2c HDFS-8969. Clean up findbugs warnings for HDFS-8823 and HDFS-8932. Contributed by Anu Engineer. 2015-08-27 13:03:16 -07:00
Haohui Mai
7e971b7315 HDFS-8962. Clean up checkstyle warnings in o.a.h.hdfs.DfsClientConf. Contributed by Mingliang Liu. 2015-08-27 09:02:34 -07:00
Harsh J
0bf285413f HDFS-2390. dfsadmin -setBalancerBandwidth does not validate -ve value. Contributed by Gautam Gopalakrishnan. 2015-08-27 16:22:48 +05:30
Walter Su
164cbe6439 HDFS-8909. Erasure coding: update BlockInfoContiguousUC and BlockInfoStripedUC to use BlockUnderConstructionFeature. Contributed by Jing Zhao. 2015-08-27 16:02:30 +08:00
Vinayakumar B
fdb56f74f3 HDFS-8682. Should not remove decommissioned node,while calculating the number of live/dead decommissioned node. (Contributed by J. Andreina) 2015-08-27 13:06:43 +05:30
Haohui Mai
4cbbfa2220 HDFS-8248. Store INodeId instead of the INodeFile object in BlockInfoContiguous. Contributed by Haohui Mai. 2015-08-26 18:14:29 -07:00
Walter Su
067ec8c2b1 HDFS-8838. Erasure Coding: Tolerate datanode failures in DFSStripedOutputStream when the data length is small. Contributed by Tsz Wo Nicholas Sze. 2015-08-27 09:11:23 +08:00
Haohui Mai
c992bcf9c1 HDFS-8951. Move the shortcircuit package to hdfs-client. Contributed by Mingliang Liu. 2015-08-26 14:02:48 -07:00
yliu
eee0d4563c HDFS-8900. Compact XAttrs to optimize memory footprint. (yliu) 2015-08-25 16:16:09 +08:00
Xiaoyu Yao
3b00eaea25 HDFS-8932. NPE thrown in NameNode when try to get TotalSyncCount metric before editLogStream initialization. Contributed by Surendra Singh Lilhore 2015-08-24 16:56:24 -07:00
Jing Zhao
bdd79388f3 HDFS-8928. Improvements for BlockUnderConstructionFeature: ReplicaUnderConstruction as a separate class and replicas as an array. Contributed by Jing Zhao. 2015-08-24 15:53:34 -07:00
Zhe Zhang
6b6a63bbbd Merge commit '456e901a4c5c639267ee87b8e5f1319f256d20c2' (HDFS-6407. Add sorting and pagination in the datanode tab of the NN Web UI. Contributed by Haohui Mai.) into HDFS-7285-merge 2015-08-24 12:59:26 -07:00
Colin Patrick Mccabe
b5ce87f84d HDFS-8930. Block report lease may leak if the 2nd full block report comes when NN is still in safemode (Colin P. McCabe via Jing Zhao) 2015-08-24 11:31:56 -07:00
Haohui Mai
490bb5ebd6 HDFS-8934. Move ShortCircuitShm to hdfs-client. Contributed by Mingliang Liu. 2015-08-22 13:31:03 -07:00
Haohui Mai
745d04be59 HDFS-8823. Move replication factor into individual blocks. Contributed by Haohui Mai. 2015-08-22 00:09:40 -07:00
Lei Xu
7087e700e0 HDFS-8924. Add pluggable interface for reading replicas in DFSClient. (Colin Patrick McCabe via Lei Xu) 2015-08-21 17:02:00 -07:00
Jing Zhao
c8bca62718 HDFS-8809. HDFS fsck reports under construction blocks as CORRUPT. Contributed by Jing Zhao. 2015-08-20 16:31:24 -07:00
yliu
5e8fe89437 HDFS-8863. The remaining space check in BlockPlacementPolicyDefault is flawed. (Kihwal Lee via yliu) 2015-08-20 20:15:03 +08:00
yliu
80a29906bc HDFS-8884. Fail-fast check in BlockPlacementPolicyDefault#chooseTarget. (yliu) 2015-08-20 20:07:18 +08:00
Jing Zhao
4e14f7982a HDFS-8917. Cleanup BlockInfoUnderConstruction from comments and tests. Contributed by Zhe Zhang. 2015-08-19 15:11:37 -07:00
Haohui Mai
3aac4758b0 HDFS-8803. Move DfsClientConf to hdfs-client. Contributed by Mingliang Liu. 2015-08-19 11:28:05 -07:00
Jing Zhao
f61120d964 HDFS-8867. Enable optimized block reports. Contributed by Daryn Sharp. 2015-08-19 10:36:56 -07:00
Arpit Agarwal
9c3571ea60 HDFS-8911. NameNode Metric : Add Editlog counters as a JMX metric. (Contributed by Anu Engineer) 2015-08-19 09:42:35 -07:00
Tsz-Wo Nicholas Sze
7ecbfd44aa HDFS-8826. In Balancer, add an option to specify the source node list so that balancer only selects blocks to move from those nodes. 2015-08-18 19:25:50 -07:00
Chris Douglas
30e342a5d3 HDFS-8435. Support CreateFlag in WebHDFS. Contributed by Jakob Homan 2015-08-18 17:32:48 -07:00
yliu
71566e2382 HDFS-8862. BlockManager#excessReplicateMap should use a HashMap. (yliu) 2015-08-18 09:23:06 +08:00
Tsz-Wo Nicholas Sze
51a00964da HDFS-8278. When computing max-size-to-move in Balancer, count only the storage with remaining >= default block size. 2015-08-17 17:55:25 -07:00
Andrew Wang
eee4d716b4 HDFS-8895. Remove deprecated BlockStorageLocation APIs. 2015-08-17 17:40:37 -07:00
Arpit Agarwal
a88f31ebf3 HDFS-8880. NameNode metrics logging. (Arpit Agarwal) 2015-08-17 16:55:46 -07:00
Colin Patrick Mccabe
ec183faadc HDFS-8845. DiskChecker should not traverse the entire tree (Chang Li via Colin P. McCabe) 2015-08-17 15:25:29 -07:00
Colin Patrick Mccabe
c77bd6af16 HDFS-8792. BlockManager#postponedMisreplicatedBlocks should use a LightWeightHashSet to save memory (Yi Liu via Colin P. McCabe) 2015-08-17 12:00:45 -07:00
Haohui Mai
e535e0f05b HDFS-8801. Convert BlockInfoUnderConstruction as a feature. Contributed by Jing Zhao. 2015-08-17 11:28:28 -07:00
Haohui Mai
456e901a4c HDFS-6407. Add sorting and pagination in the datanode tab of the NN Web UI. Contributed by Haohui Mai. 2015-08-17 11:04:00 -07:00
Andrew Wang
2e7b7e2cda HDFS-8713. Convert DatanodeDescriptor to use SLF4J logging. 2015-08-17 10:17:06 -07:00
Xiaoyu Yao
a7862d5fe4 HDFS-8883. NameNode Metrics : Add FSNameSystem lock Queue Length. Contributed by Anu Engineer. 2015-08-17 10:15:56 -07:00
Zhe Zhang
b57c9a35f7 HDFS-8220. Erasure Coding: StripedDataStreamer fails to handle the blocklocations which doesn't satisfy BlockGroupSize. 2015-08-14 15:16:58 -07:00
Jing Zhao
dc7a061668 HDFS-8891. HDFS concat should keep srcs order. Contributed by Yong Zhang. 2015-08-14 14:42:43 -07:00
Tsz-Wo Nicholas Sze
2bc0a4f299 HDFS-8824. Do not use small blocks for balancing the cluster. 2015-08-14 13:03:19 -07:00
Xiaoyu Yao
1569228ec9 HDFS-8565. Typo in dfshealth.html - Decomissioning. (nijel via xyao) 2015-08-14 12:34:31 -07:00
Zhe Zhang
1d37a88121 HDFS-8854. Erasure coding: add ECPolicy to replace schema+cellSize in hadoop-hdfs. Contributed by Walter Su. 2015-08-13 10:04:45 -07:00
Akira Ajisaka
40f815131e HDFS-8622. Implement GETCONTENTSUMMARY operation for WebImageViewer. Contributed by Jagadesh Kiran N. 2015-08-13 11:31:56 +09:00
Xiaoyu Yao
3e715a4f4c HDFS-8879. Quota by storage type usage incorrectly initialized upon namenode restart. Contributed by Xiaoyu Yao. 2015-08-12 15:20:54 -07:00
Andrew Wang
1ea1a8334e HDFS-8887. Expose storage type and storage ID in BlockLocation. 2015-08-11 23:25:33 -07:00
Jing Zhao
1fc3c779a4 HDFS-8805. Archival Storage: getStoragePolicy should not need superuser privilege. Contributed by Brahma Reddy Battula. 2015-08-11 10:28:18 -07:00
Tsz-Wo Nicholas Sze
b56daff6a1 HDFS-8818. Changes the global moveExecutor to per datanode executors and changes MAX_SIZE_TO_MOVE to be configurable. 2015-08-10 16:52:02 -07:00
Jing Zhao
fbf7e81ca0 HDFS-8827. Erasure Coding: Fix NPE when NameNode processes over-replicated striped blocks. Contributed by Walter Su and Takuya Fukudome. 2015-08-07 11:25:20 -07:00
Arpit Agarwal
6d4eee718a HDFS-8856. Make LeaseManager#countPath O(1). (Contributed by Arpit Agarwal) 2015-08-06 18:51:28 -07:00
Jing Zhao
9312b168e2 HDFS-8804. Erasure Coding: use DirectBufferPool in DFSStripedInputStream for buffer allocation. Contributed by Jing Zhao. 2015-08-03 17:03:15 -07:00
Jing Zhao
f4c523b69b Revert "HDFS-8499. Refactor BlockInfo class hierarchy with static helper class. Contributed by Zhe Zhang."
This reverts commit c17439c2dd.
2015-08-06 10:21:55 -07:00
Jing Zhao
663eba0ab1 Revert "HDFS-8623. Refactor NameNode handling of invalid, corrupt, and under-recovery blocks. Contributed by Zhe Zhang."
This reverts commit de480d6c89.
2015-08-06 10:21:54 -07:00
Vinayakumar B
cc71ad80e1 HDFS-8815. DFS getStoragePolicy implementation using single RPC call (Contributed by Surendra Singh Lilhore) 2015-08-06 11:10:48 +05:30
yliu
9a08999906 HDFS-8850. VolumeScanner thread exits with exception if there is no block pool to be scanned but there are suspicious blocks. (Colin Patrick McCabe via yliu) 2015-08-04 15:54:23 +08:00
Xiaoyu Yao
d311a38a6b HDFS-6860. BlockStateChange logs are too noisy. Contributed by Chang Li and Xiaoyu Yao. 2015-07-31 16:15:50 -07:00
Colin Patrick Mccabe
21d10ccc6e HADOOP-7824. NativeIO.java flags and identifiers must be set correctly for each platform, not hardcoded to their Linux values (Martin Walsh via Colin P. McCabe) 2015-07-31 15:01:34 -07:00
Allen Wittenauer
666cafca8d HADOOP-12249. pull argument parsing into a function (aw) 2015-07-31 14:32:21 -07:00
Harsh J
c5caa25b8f HDFS-8821. Explain message "Operation category X is not supported in state standby". Contributed by Gautam Gopalakrishnan. 2015-07-31 08:58:22 +05:30
Arpit Agarwal
88d8736dde HDFS-7192. DN should ignore lazyPersist hint if the writer is not local. (Contributed by Arpit Agarwal) 2015-07-30 13:16:46 -07:00
Haohui Mai
ddc867ceb9 HDFS-8816. Improve visualization for the Datanode tab in the NN UI. Contributed by Haohui Mai. 2015-07-29 17:14:05 -07:00
Vinayakumar B
6374ee0db4 HDFS-8670. Better to exclude decommissioned nodes for namenode NodeUsage JMX (Contributed by J.Andreina) 2015-07-29 14:47:19 +05:30
Akira Ajisaka
2a1d656196 Revert "HDFS-6682. Add a metric to expose the timestamp of the oldest under-replicated block. (aajisaka)"
This reverts commit 02c01815ec.
2015-07-29 16:48:30 +09:00
Vinayakumar B
50887e5b07 HDFS-8811. Move BlockStoragePolicy name's constants from HdfsServerConstants.java to HdfsConstants.java (Contributed by Vinayakumar B) 2015-07-29 11:45:33 +05:30
Jakob Homan
0712a8103f HDFS-8180. AbstractFileSystem Implementation for WebHdfs. Contributed by Sathosh G Nayak. 2015-07-28 21:03:31 -07:00
Arun Suresh
030fcfa99c HDFS-7858. Improve HA Namenode Failover detection on the client. (asuresh) 2015-07-27 23:02:03 -07:00
Walter Su
4a72be6e0e HDFS-8769. Erasure coding: unit test for SequentialBlockGroupIdGenerator. Contributed by Rakesh R. 2015-07-25 10:07:40 +08:00
Jing Zhao
95b499a367 HDFS-8798. Erasure Coding: fix DFSStripedInputStream/DFSStripedOutputStream re-fetch token when expired. Contributed by Walter Su. 2015-07-24 13:52:50 -07:00
Akira Ajisaka
206d4933a5 HDFS-8806. Inconsistent metrics: number of missing blocks with replication factor 1 not properly cleared. Contributed by Zhe Zhang. 2015-07-24 18:28:44 +09:00
Akira Ajisaka
02c01815ec HDFS-6682. Add a metric to expose the timestamp of the oldest under-replicated block. (aajisaka) 2015-07-24 11:37:23 +09:00
Jing Zhao
c2c26e6ea7 HDFS-8813. Erasure Coding: Client no need to decode missing parity blocks. Contributed by Walter Su. 2015-07-23 11:42:02 -07:00
Arpit Agarwal
adfa34ff99 HADOOP-12161. Add getStoragePolicy API to the FileSystem interface. (Contributed by Brahma Reddy Battula) 2015-07-23 10:13:04 -07:00
yliu
4025326288 HDFS-8795. Improve InvalidateBlocks#node2blocks. (yliu) 2015-07-22 15:16:50 +08:00
Haohui Mai
31f117138a HDFS-8495. Consolidate append() related implementation into a single class. Contributed by Rakesh R. 2015-07-21 17:25:23 -07:00
Jing Zhao
5956d23b64 HDFS-8781. Erasure Coding: Correctly handle BlockManager#InvalidateBlocks for striped block. Contributed by Yi Liu. 2015-07-21 17:00:49 -07:00
Jing Zhao
f8f7a923b7 HDFS-8760. Erasure Coding: reuse BlockReader when reading the same block in pread. Contributed by Jing Zhao. 2015-07-21 15:47:26 -07:00
cnauroth
cb03768b1b HDFS-8721. Add a metric for number of encryption zones. Contributed by Rakesh R. 2015-07-21 13:55:58 -07:00
Ravi Prakash
5137b388fc Revert "HDFS-8344. NameNode doesn't recover lease for files with missing blocks (raviprak)"
This reverts commit e4f756260f.

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
2015-07-21 11:29:35 -07:00
Allen Wittenauer
c9507fe6c1 HDFS-8800. hdfs --daemon stop namenode corrupts logs (John Smith via aw) 2015-07-21 09:41:28 -07:00
Vinayakumar B
29cf887b22 HDFS-7582. Enforce maximum number of ACL entries separately per access and default. (Contributed by Vinayakumar B) 2015-07-21 15:16:52 +05:30
Haohui Mai
df1e8ce44a HDFS-7483. Display information per tier on the Namenode UI. Contributed by Benoy Antony and Haohui Mai. 2015-07-20 20:13:12 -07:00
yliu
d6d58606b8 HDFS-8794. Improve CorruptReplicasMap#corruptReplicasMap. (yliu) 2015-07-21 09:20:22 +08:00
Ravi Prakash
e4f756260f HDFS-8344. NameNode doesn't recover lease for files with missing blocks (raviprak) 2015-07-20 14:03:34 -07:00
Walter Su
06394e3760 HDFS-8433. Erasure coding: set blockToken in LocatedStripedBlock. Contributed by Walter Su. 2015-07-20 10:18:34 +08:00
Allen Wittenauer
ee36f4f9b8 HADOOP-10979. Auto-entries in hadoop_usage (aw) 2015-07-16 16:58:11 -07:00
Ming Ma
fbd88f1062 HDFS-7314. When the DFSClient lease cannot be renewed, abort open-for-write files rather than the entire DFSClient. (mingma) 2015-07-16 12:33:57 -07:00
Zhe Zhang
4fdd9abd7e HDFS-8787. Erasure coding: rename BlockInfoContiguousUC and BlockInfoStripedUC to be consistent with trunk. 2015-07-15 20:13:04 -07:00
Zhe Zhang
7e091de136 HDFS-8058. Erasure coding: use BlockInfo[] for both striped and contiguous blocks in INodeFile. Contributed by Zhe Zhang and Yi Liu. 2015-07-15 09:49:32 -07:00
yliu
f32d9a1758 HDFS-8619. Erasure Coding: revisit replica counting for striped blocks. (Jing Zhao via yliu) 2015-07-15 22:35:19 +08:00
Jing Zhao
0a93712f3b HDFS-8734. Erasure Coding: fix one cell need two packets. Contributed by Walter Su. 2015-07-14 13:10:51 -07:00
Akira Ajisaka
979c9ca2ca HDFS-8742. Inotify: Support event for OP_TRUNCATE. Contributed by Surendra Singh Lilhore. 2015-07-15 04:42:08 +09:00
Kihwal Lee
59388a8015 HDFS-8722. Optimize datanode writes for small writes and flushes. Contributed by Kihwal Lee 2015-07-14 14:04:06 -05:00
Colin Patrick Mccabe
1d74ccecec HDFS-7608: hdfs dfsclient newConnectedPeer has no write timeout (Xiaoyu Yao via Colin P. McCabe) 2015-07-14 10:57:59 -07:00
Jing Zhao
6ff957be88 HDFS-8702. Erasure coding: update BlockManager.blockHasEnoughRacks(..) logic for striped block. Contributed by Kai Sasaki. 2015-07-14 10:55:58 -07:00
Tsz-Wo Nicholas Sze
9ef03a4c5b HDFS-8541. Mover should exit with NO_MOVE_PROGRESS if there is no move progress. Contributed by Surendra Singh Lilhore 2015-07-13 15:12:26 -07:00
Jing Zhao
b1e6429a6b HDFS-8669. Erasure Coding: handle missing internal block locations in DFSStripedInputStream. Contributed by Jing Zhao. 2015-07-13 11:41:18 -07:00
boli2
f4098dfae4 HDFS-8744. Erasure Coding: the number of chunks in packet is not updated when writing parity data. Contributed by Li Bo 2015-07-13 00:41:36 -04:00
Jing Zhao
47f4c54106 HDFS-8751. Remove setBlocks API from INodeFile and misc code cleanup. Contributed by Zhe Zhang 2015-07-10 14:15:22 -07:00
Vinayakumar B
b48908033f HDFS-2956. calling fetchdt without a --renewer argument throws NPE (Contributed by Vinayakumar B)HDFS-2956. calling fetchdt without a --renewer argument throws NPE (Contributed by Vinayakumar B) 2015-07-10 15:47:04 +05:30
Akira Ajisaka
d66302ed9b HDFS-8749. Fix findbugs warnings in BlockManager.java. Contributed by Brahma Reddy Battula. 2015-07-10 15:04:06 +09:00
Jing Zhao
e692c7dd92 HDFS-8484. Erasure coding: Two contiguous blocks occupy IDs belong to same striped group. Contributed by Walter Su. 2015-07-09 14:07:37 -07:00
Jing Zhao
2470a7bf88 HDFS-8563. Erasure Coding: fsck handles file smaller than a full stripe. Contributed by Walter Su. 2015-07-09 10:55:28 -07:00
Walter Su
48f3830f21 HDFS-8719. Erasure Coding: client generates too many small packets when writing parity data. Contributed by Li Bo. 2015-07-09 16:18:05 +08:00
Zhe Zhang
42a1d0dbde Addendum fix for HDFS-8323 (adding back a mistakenly deleted line). 2015-07-08 22:52:09 -07:00
Haohui Mai
fc6182d5ed HDFS-8726. Move protobuf files that define the client-sever protocols to hdfs-client. Contributed by Haohui Mai. 2015-07-08 10:37:10 -07:00
Vinayakumar B
bd4e10900c HDFS-8712. Remove 'public' and 'abstract' modifiers in FsVolumeSpi and FsDatasetSpi (Contributed by Lei (Eddy) Xu) 2015-07-08 16:34:54 +05:30
Xiaoyu Yao
b68701b7b2 HDFS-8711. setSpaceQuota command should print the available storage type when input storage type is wrong. Contributed by Brahma Reddy Battula. 2015-07-07 13:50:49 -07:00
Jing Zhao
bc99aaffe7 Revert "HDFS-8652. Track BlockInfo instead of Block in CorruptReplicasMap. Contributed by Jing Zhao."
This reverts commit d62b63d297.
2015-07-07 10:13:41 -07:00
Jing Zhao
2c494a8436 HDFS-8461. Erasure coding: fix priority level of UnderReplicatedBlocks for striped block. Contributed by Walter Su. 2015-07-06 16:39:47 -07:00
Jing Zhao
d62b63d297 HDFS-8652. Track BlockInfo instead of Block in CorruptReplicasMap. Contributed by Jing Zhao. 2015-07-06 15:54:25 -07:00
yliu
ee01a09500 HDFS-8684. Erasure Coding: fix some block number calculation for striped block. (yliu) 2015-07-06 19:14:18 +08:00
Vinayakumar B
2eae130ab9 HDFS-8577. Avoid retrying to recover lease on a file which does not exist (Contributed by J.Andreina) 2015-07-03 13:35:48 +05:30
Andrew Wang
5fddc5177d HDFS-8709. Clarify automatic sync in FSEditLog#logEdit. 2015-07-02 10:26:40 -07:00
Vinayakumar B
bff5999d07 HDFS-8703. Merge refactor of DFSInputStream from ErasureCoding branch (Contributed by Vinayakumar B) 2015-07-02 16:11:50 +05:30
Colin Patrick Mccabe
29df73dc05 HDFS-8635. Migrate HDFS native build to new CMake framework (Alan Burlison via Colin P. McCabe) 2015-06-30 15:54:38 -07:00
Vinayakumar B
7ba5bbac02 HDFS-8627. NPE thrown if unable to fetch token from Namenode (Contributed by J.Andreina) 2015-06-30 15:42:59 +05:30
Vinayakumar B
77588e1d32 HDFS-8579. Update HDFS usage with missing options (Contributed by J.Andreina) 2015-06-30 15:00:22 +05:30
Vinayakumar B
0b7af27b9a HDFS-8468. 2 RPC calls for every file read in DFSClient#open(..) resulting in double Audit log entries (Contributed by Vinayakumar B) 2015-06-30 11:02:13 +05:30
Haohui Mai
d3797f9f3c HDFS-8493. Consolidate truncate() related implementation in a single class. Contributed by Rakesh R. 2015-06-29 16:45:35 -07:00
Arpit Agarwal
8e333720e1 HDFS-8687. Remove the duplicate usage message from Dfsck.java. (Contributed by Brahma Reddy Battula) 2015-06-29 14:56:42 -07:00
Yongjun Zhang
43a1288fff HDFS-8659. Block scanner INFO message is spamming logs. Contributed by Yongjun Zhang. 2015-06-29 14:43:56 -07:00
Andrew Wang
2ffd84273a HDFS-8653. Code cleanup for DatanodeManager, DatanodeDescriptor and DatanodeStorageInfo. Contributed by Zhe Zhang. 2015-06-29 12:12:41 -07:00
Benoy Antony
d3fed8e653 HDFS-7390. Provide JMX metrics per storage type. (Benoy Antony) 2015-06-29 11:00:22 -07:00
Vinayakumar B
88ceb382ef HDFS-8586. Dead Datanode is allocated for write when client is from deadnode (Contributed by Brahma Reddy Battula) 2015-06-29 15:25:03 +05:30
Arpit Agarwal
c6793dd8cc HDFS-8681. BlockScanner is incorrectly disabled by default. (Contributed by Arpit Agarwal) 2015-06-28 14:51:36 -07:00
Andrew Wang
60b858bfa6 HDFS-8656. Preserve compatibility of ClientProtocol#rollingUpgrade after finalization. 2015-06-26 11:30:59 -07:00
Jing Zhao
de480d6c89 HDFS-8623. Refactor NameNode handling of invalid, corrupt, and under-recovery blocks. Contributed by Zhe Zhang. 2015-06-26 10:49:01 -07:00
Colin Patrick Mccabe
1b764a01fd HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison via Colin P. McCabe) 2015-06-26 10:22:40 -07:00
Andrew Wang
1403b84b12 HDFS-8546. Use try with resources in DataStorage and Storage. 2015-06-25 17:50:32 -07:00
Arpit Agarwal
67a62da5c5 HDFS-8640. Make reserved RBW space visible through JMX. (Contributed by kanaka kumar avvaru) 2015-06-25 10:13:22 -07:00
Akira Ajisaka
bc433908d3 HDFS-8462. Implement GETXATTRS and LISTXATTRS operations for WebImageViewer. Contributed by Jagadesh Kiran N. 2015-06-26 00:20:12 +09:00
Andrew Wang
afe9ea3c12 HDFS-8646. Prune cached replicas from DatanodeDescriptor state on replica invalidation. 2015-06-24 14:42:33 -07:00
Tsz-Wo Nicholas Sze
093907d728 HDFS-8253. DFSStripedOutputStream.closeThreads releases cellBuffers multiple times. Contributed by Kai Sasaki 2015-06-24 23:39:05 +08:00
Jing Zhao
d920cdab91 HDFS-8567. Erasure Coding: SafeMode handles file smaller than a full stripe. Contributed by Walter Su. 2015-06-23 22:29:28 -07:00
Aaron T. Myers
49dfad9429 HDFS-6440. Support more than 2 NameNodes. Contributed by Jesse Yates. 2015-06-23 17:26:11 -07:00
Jakob Homan
fac4e04dd3 HDFS-8542. WebHDFS getHomeDirectory behavior does not match specification. Contributed by Kanaka Kumar Avvaru. 2015-06-22 16:30:45 -07:00
Colin Patrick Mccabe
7b424f938c HDFS-8480. Fix performance and timeout issues in HDFS-7929 by using hard-links to preserve old edit logs, instead of copying them. (Zhe Zhang via Colin P. McCabe) 2015-06-22 14:37:10 -07:00
Arpit Agarwal
c7d022b66f HDFS-8192. Eviction should key off used locked memory instead of ram disk free space. (Contributed by Arpit Agarwal) 2015-06-20 13:27:52 -07:00
Colin Patrick Mccabe
d112d18324 HDFS-8582. Support getting a list of reconfigurable config properties and do not generate spurious reconfig warnings (Lei (Eddy) Xu via Colin P. McCabe) 2015-06-19 19:14:05 -07:00
Arpit Agarwal
55278c012f HDFS-8626. Reserved RBW space is not released if creation of RBW File fails. (Contributed by kanaka kumar avvaru) 2015-06-19 18:23:34 -07:00
Jing Zhao
8c423a8163 HDFS-8602. Erasure Coding: Client can't read(decode) the EC files which have corrupt blocks. Contributed by Jing Zhao and Kai Sasaki. 2015-06-19 14:07:38 -07:00
Jing Zhao
448cb7df67 HDFS-8543. Erasure Coding: processOverReplicatedBlock() handles striped block. Contributed by Walter Su. 2015-06-19 11:53:05 -07:00
Jing Zhao
3682e01984 HDFS-8254. Avoid assigning a leading streamer in StripedDataStreamer to tolerate datanode failure. Contributed by Tsz Wo Nicholas Sze. 2015-06-19 10:23:45 -07:00
Yongjun Zhang
b42f1ec13d HDFS-8633. Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml to match DFSConfigKeys. Contributed by Ray Chiang. 2015-06-19 09:47:31 -07:00
Andrew Wang
1c13519e1e HDFS-8605. Merge Refactor of DFSOutputStream from HDFS-7285 branch. (vinayakumarb) 2015-06-18 08:48:09 -07:00
Vinayakumar B
62c5a879ef HDFS-8466. Refactor BlockInfoContiguous and fix NPE in TestBlockInfo#testCopyConstructor() (Contributed by Vinayakumar B) 2015-06-18 14:15:01 +05:30
Akira Ajisaka
cc432885ad HDFS-6249. Output AclEntry in PBImageXmlWriter. Contributed by surendra singh lilhore. 2015-06-17 17:41:10 -07:00