Commit Graph

4253 Commits

Author SHA1 Message Date
Kihwal Lee 61a4c7fc98 HDFS-7932. Speed up the shutdown of datanode during rolling upgrade. Contributed by Kihwal Lee. 2015-03-19 12:27:03 -05:00
Vinayakumar B 5be5129d93 HDFS.7849. Update documentation for enabling a new feature in rolling upgrade ( Contributed by J.Andreina ) 2015-03-19 19:05:42 +05:30
Kihwal Lee e79be0ee12 HDFS-7816. Unable to open webhdfs paths with "+". Contributed by Haohui Mai 2015-03-19 08:01:01 -05:00
Vinayakumar B 355e008ffb HDFS-7867. Update action param from 'start' to 'prepare' in rolling upgrade ( Contributed by J.Andreina) Updated JIRA id. 2015-03-19 12:10:39 +05:30
Vinayakumar B 338b477ff7 HDFS-7869. Update action param from 'start' to 'prepare' in rolling upgrade ( Contributed by J.Andreina) 2015-03-19 11:59:31 +05:30
Jing Zhao c7c71cdba5 HDFS-7587. Edit log corruption can happen if append fails with a quota violation. Contributed by Jing Zhao. 2015-03-18 18:53:50 -07:00
Colin Patrick Mccabe 43b41f2241 HDFS-7929. inotify unable fetch pre-upgrade edit log segments once upgrade starts (Zhe Zhang via Colin P. McCabe) 2015-03-18 18:48:54 -07:00
Jing Zhao bee5a6a64a HDFS-7943. Append cannot handle the last block with length greater than the preferred block size. Contributed by Jing Zhao. 2015-03-18 18:40:59 -07:00
Colin Patrick Mccabe 8234fd0e10 HDFS-7054. Make DFSOutputStream tracing more fine-grained (cmccabe) 2015-03-18 18:14:54 -07:00
Haohui Mai 8c40e88d5d HDFS-7945. The WebHdfs system on DN does not honor the length parameter. Contributed by Haohui Mai. 2015-03-18 16:19:46 -07:00
Arpit Agarwal c239b6d376 HDFS-7914. TestJournalNode#testFailToStartWithBadConfig fails when the default dfs.journalnode.http-address port 8480 is in use. (Contributed by Xiaoyu Yao) 2015-03-18 14:04:53 -07:00
Haohui Mai f0dea037ff HDFS-7697. Mark the PB OIV tool as experimental. Contributed by Lei (Eddy) Xu. 2015-03-18 13:33:41 -07:00
Arpit Agarwal 02a67aad65 Fix CHANGES.txt for HDFS-7722. 2015-03-18 12:52:42 -07:00
Arpit Agarwal e817cedcdc HDFS-7951. Fix NPE for TestFsDatasetImpl#testAddVolumeFailureReleasesInUseLock on Linux. (Contributed by Xiaoyu Yao) 2015-03-18 12:45:46 -07:00
Arpit Agarwal d462c62755 HDFS-7950. Fix TestFsDatasetImpl#testAddVolumes failure on Windows. (Contributed by Xiaoyu Yao) 2015-03-18 12:35:30 -07:00
Arpit Agarwal fdd58aa32f HDFS-7948. TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows. (Contributed by Xiaoyu Yao) 2015-03-18 12:26:00 -07:00
Haohui Mai 402817cd9b HDFS-7953. NN Web UI fails to navigate to paths that contain #. Contributed by kanaka kumar avvaru. 2015-03-18 11:08:08 -07:00
Arpit Agarwal 5b322c6a82 HDFS-7946. TestDataNodeVolumeFailureReporting NPE on Windows. (Contributed by Xiaoyu Yao) 2015-03-17 21:34:31 -07:00
Colin Patrick Mccabe d8846707c5 HDFS-7940. Add tracing to DFSClient#setQuotaByStorageType (Rakesh R via Colin P. McCabe) 2015-03-17 10:47:21 -07:00
Vinayakumar B 018893e81e HDFS-5356. MiniDFSCluster should close all open FileSystems when shutdown() (Contributed by Rakesh R) 2015-03-17 15:32:34 +05:30
yliu 48c2db34ef HDFS-7838. Expose truncate API for libhdfs. (yliu) 2015-03-17 07:22:17 +08:00
Harsh J 046521cd65 HDFS-2360. Ugly stacktrce when quota exceeds. (harsh) 2015-03-17 10:28:17 +05:30
Konstantin V Shvachko ce5de93a58 HDFS-7886. Fix TestFileTruncate falures. Contributed by Plamen Jeliazkov and Konstantin Shvachko. 2015-03-16 12:54:04 -07:00
Colin Patrick Mccabe bc9cb3e271 HDFS-7915. The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error (cmccabe) 2015-03-14 22:36:46 -07:00
Colin Patrick Mccabe 32741cf3d2 Revert "HDFS-7915. The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error (cmccabe)" (jenkins didn't run yet)
This reverts commit 5aa892ed48.
2015-03-13 18:40:20 -07:00
Colin Patrick Mccabe 5aa892ed48 HDFS-7915. The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error (cmccabe) 2015-03-13 18:29:49 -07:00
Konstantin V Shvachko dfd3201700 HDFS-2605. Remove redundant "Release 0.21.1" section from CHANGES.txt. Contributed by Allen Wittenauer. 2015-03-13 13:32:45 -07:00
Konstantin V Shvachko 6acb7f2110 HDFS-7903. Cannot recover block after truncate and delete snapshot. Contributed by Plamen Jeliazkov. 2015-03-13 13:12:51 -07:00
Kihwal Lee d324164a51 HDFS-7435. PB encoding of block reports is very inefficient. Contributed by Daryn Sharp. 2015-03-13 14:23:37 -05:00
Brandon Li f446669afb HDFS-7926. NameNode implementation of ClientProtocol.truncate(..) is not idempotent. Contributed by Tsz Wo Nicholas Sze 2015-03-13 10:42:22 -07:00
Colin Patrick Mccabe b49c3a1813 HDFS-7722. DataNode#checkDiskError should also remove Storage when error is found. (Lei Xu via Colin P. McCabe) 2015-03-12 12:00:18 -07:00
Tsz-Wo Nicholas Sze 6dae6d12ec HDFS-6833. DirectoryScanner should not register a deleting block with memory of DataNode. Contributed by Shinichi Yamashita 2015-03-13 02:25:32 +08:00
cnauroth fb34f45727 HDFS-7491. Add incremental blockreport latency to DN metrics. Contributed by Ming Ma. 2015-03-11 14:11:19 -07:00
Colin Patrick Mccabe 5c1036d598 HDFS-7830. DataNode does not release the volume lock when adding a volume fails. (Lei Xu via Colin P. McCabe) 2015-03-10 18:20:58 -07:00
Akira Ajisaka 82db3341bf HDFS-6806. HDFS Rolling upgrade document should mention the versions available. Contributed by J.Andreina. 2015-03-10 11:22:11 +09:00
Jing Zhao e43882e84a HDFS-7898. Change TestAppendSnapshotTruncate to fail-fast. Contributed by Tsz Wo Nicholas Sze. 2015-03-09 10:52:17 -07:00
Vinod Kumar Vavilapalli b3e699271b Adding 2.8 section in CHANGES.txt 2015-03-08 20:24:33 -07:00
Chris Douglas 6ee0d32b98 HDFS-7411. Change decommission logic to throttle by blocks rather
than nodes in each interval. Contributed by Andrew Wang
2015-03-08 18:31:04 -07:00
Brandon Li 0f8ecb1d0c HDFS-6488. Support HDFS superuser in NFSv3 gateway. Contributed by Brandon Li 2015-03-06 15:19:45 -08:00
Haohui Mai c79710302e HDFS-7818. OffsetParam should return the default value instead of throwing NPE when the value is unspecified. Contributed by Eric Payne. 2015-03-06 14:26:23 -08:00
Allen Wittenauer 01bfe6f05b HADOOP-11653. shellprofiles should require .sh extension (Brahma Reddy Battula via aw) 2015-03-06 13:54:11 -08:00
Jing Zhao 24db0812be HDFS-7885. Datanode should not trust the generation stamp provided by client. Contributed by Tsz Wo Nicholas Sze. 2015-03-06 10:55:56 -08:00
Jing Zhao 952640fa4c HDFS-7855. Separate class Packet from DFSOutputStream. Contributed by Li Bo. 2015-03-05 10:58:53 -08:00
Tsuyoshi Ozawa 74a4754d1c HADOOP-11648. Set DomainSocketWatcher thread name explicitly. Contributed by Liang Xie. 2015-03-05 16:05:44 +09:00
Tsz-Wo Nicholas Sze ded0200e9c HDFS-7746. Add a test randomly mixing append, truncate and snapshot operations. 2015-03-05 10:21:29 +08:00
Dongming Liang 430b537188 HDFS-1522. Combine two BLOCK_FILE_PREFIX constants into one. Contributed by Dongming Liang. 2015-03-04 17:51:12 -08:00
Kihwal Lee 722b479469 HDFS-7434. DatanodeID hashCode should not be mutable. Contributed by Daryn Sharp. 2015-03-04 17:21:51 -06:00
Jing Zhao ed70fa142c HDFS-7535. Utilize Snapshot diff report for distcp. Contributed by Jing Zhao. 2015-03-04 10:30:53 -08:00
Haohui Mai f717dc51b2 HDFS-7879. hdfs.dll does not export functions of the public libhdfs API. Contributed by Chris Nauroth. 2015-03-04 09:17:21 -08:00
Vinayakumar B 3560180b6e HDFS-7869. Inconsistency in the return information while performing rolling upgrade ( Contributed by J.Andreina ) 2015-03-04 14:38:38 +05:30
Aaron T. Myers f2d7a67a2c HDFS-7682. {{DistributedFileSystem#getFileChecksum}} of a snapshotted file includes non-snapshotted content. Contributed by Charles Lamb. 2015-03-03 18:08:59 -08:00
Haohui Mai e2262d3d18 HDFS-6565. Use jackson instead jetty json in hdfs-client. Contributed by Akira AJISAKA. 2015-03-03 17:54:13 -08:00
Arpit Agarwal 1004473aa6 HDFS-7757. Misleading error messages in FSImage.java. (Contributed by Brahma Reddy Battula) 2015-03-03 10:55:22 -08:00
Tsuyoshi Ozawa d1c6accb6f HADOOP-11602. Fix toUpperCase/toLowerCase to use Locale.ENGLISH. (ozawa) 2015-03-03 14:17:52 +09:00
Jing Zhao b442aeec95 HDFS-7871. NameNodeEditLogRoller can keep printing 'Swallowing exception' message. Contributed by Jing Zhao. 2015-03-02 20:22:04 -08:00
Tsz-Wo Nicholas Sze 431e7d84c7 HDFS-7302. Remove "downgrade" from "namenode -rollingUpgrade" startup option since it may incorrectly finalize an ongoing rolling upgrade.
Contributed by Kai Sasaki
2015-03-03 10:04:08 +08:00
Haohui Mai c5eac9c6fe HDFS-7785. Improve diagnostics information for HttpPutFailedException. Contributed by Chengbing Liu. 2015-03-02 15:35:02 -08:00
Gera Shegalov cbb492578e HDFS-7789. DFSck should resolve the path to support cross-FS symlinks. (gera) 2015-03-02 00:55:35 -08:00
Tsz-Wo Nicholas Sze 67ed59348d HDFS-7439. Add BlockOpResponseProto's message to the exception messages. Contributed by Takanobu Asanuma 2015-03-02 15:03:58 +08:00
Akira Ajisaka 30e73ebc77 HADOOP-11657. Align the output of `hadoop fs -du` to be more Unix-like. (aajisaka) 2015-03-01 21:09:15 -08:00
Akira Ajisaka aa55fd3096 HDFS-5853. Add "hadoop.user.group.metrics.percentiles.intervals" to hdfs-default.xml (aajisaka) 2015-03-01 01:16:36 -08:00
Allen Wittenauer dbc9b6433e HDFS-4681. TestBlocksWithNotEnoughRacks#testCorruptBlockRereplicatedAcrossRacks fails using IBM java (Ayappan via aw) 2015-02-28 23:32:09 -08:00
Tsz-Wo Nicholas Sze cf51ff2fe8 recommit "HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir."
(cherry picked from commit 7c6b6547ee)
2015-02-27 14:30:41 -08:00
Akira Ajisaka 8719cdd4f6 HDFS-7685. Document dfs.namenode.heartbeat.recheck-interval in hdfs-default.xml. Contributed by Kai Sasaki. 2015-02-27 12:17:34 -08:00
Tsz-Wo Nicholas Sze a979f3b58f HDFS-7308. Change the packet chunk size computation in DFSOutputStream in order to enforce packet size <= 64kB. Contributed by Takuya Fukudome 2015-02-27 23:45:37 +08:00
Vinayakumar B 4f75b15628 HDFS-6753. Initialize checkDisk when DirectoryScanner not able to get files list for scanning (Contributed by J.Andreina) 2015-02-27 16:36:28 +05:30
Tsz-Wo Nicholas Sze 2954e65467 Revert "HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir."
This reverts commit 7c6b6547ee.

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
2015-02-27 18:25:32 +08:00
cnauroth c6d5b37a1c HDFS-7774. Unresolved symbols error while compiling HDFS on Windows 7/32 bit. Contributed by Kiran Kumar M R. 2015-02-26 13:37:46 -08:00
Colin Patrick Mccabe f0c980abed HDFS-7819. Log WARN message for the blocks which are not in Block ID based layout (Rakesh R via Colin P. McCabe) 2015-02-26 11:58:29 -08:00
Vinayakumar B 166eecf687 HDFS-7832. Show 'Last Modified' in Namenode's 'Browse Filesystem' (Contributed by Vinayakumar B) 2015-02-26 14:36:09 +05:30
Tsz-Wo Nicholas Sze 725cc499f0 HDFS-7537. Add "UNDER MIN REPL'D BLOCKS" count to fsck. Contributed by GAO Rui 2015-02-26 11:45:56 +08:00
Allen Wittenauer 8c4f76aa20 HDFS-7460. Rewrite httpfs to use new shell framework (John Smith via aw) 2015-02-25 18:57:41 -08:00
Tsz-Wo Nicholas Sze 606f5b517f HDFS-7843. A truncated file is corrupted after rollback from a rolling upgrade. 2015-02-26 10:14:40 +08:00
Benoy Antony d140d76a43 HDFS-7467. Provide storage tier information for a directory via fsck. (Benoy Antony) 2015-02-25 16:19:35 -08:00
Colin Patrick Mccabe caa42adf20 HDFS-7495. Remove updatePosition argument from DFSInputStream#getBlockAt() (cmccabe) 2015-02-25 13:30:01 -08:00
Andrew Wang 7105ebaa9f HDFS-7763. fix zkfc hung issue due to not catching exception in a corner case. Contributed by Liang Xie. 2015-02-24 15:31:13 -08:00
Jing Zhao 73bcfa99af HDFS-7831. Fix the starting index and end condition of the loop in FileDiffList.findEarlierSnapshotBlocks(). Contributed by Konstantin Shvachko. 2015-02-24 10:31:32 -08:00
Tsuyoshi Ozawa 1aea440560 Fix build because of 946456c6d8. 2015-02-25 00:48:51 +09:00
Tsuyoshi Ozawa 9cedad11d8 Revert "HADOOP-11602. Fix toUpperCase/toLowerCase to use Locale.ENGLISH. (ozawa)"
This reverts commit 946456c6d8.

Conflicts:
	hadoop-common-project/hadoop-common/CHANGES.txt
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/QuotaByStorageTypeEntry.java
2015-02-25 00:32:04 +09:00
Tsuyoshi Ozawa b53fd7163b HDFS-7008. xlator should be closed upon exit from DFSAdmin#genericRefresh(). (ozawa) 2015-02-24 23:59:34 +09:00
Colin Patrick Mccabe faaddb6ecb HDFS-7805. NameNode recovery prompt should be printed on console (Surendra Singh Lilhore via Colin P. McCabe) 2015-02-23 19:00:10 -08:00
Colin Patrick Mccabe 585768667e HDFS-7807. libhdfs htable.c: fix htable resizing, add unit test (cmccabe) 2015-02-23 18:44:53 -08:00
cnauroth 769507bd7a HDFS-7009. Active NN and standby NN have different live nodes. Contributed by Ming Ma. 2015-02-23 15:12:27 -08:00
Arpit Agarwal 8b465b4b8c HDFS-7806. Refactor: move StorageType from hadoop-hdfs to hadoop-common. (Contributed by Xiaoyu Yao) 2015-02-21 15:38:35 -08:00
yliu 737bad02d4 HDFS-7740. Test truncate with DataNodes restarting. (yliu) 2015-02-21 06:32:34 +08:00
cnauroth 0d6af574e0 HDFS-7813. TestDFSHAAdminMiniCluster#testFencer testcase is failing frequently. Contributed by Rakesh R. 2015-02-20 17:01:08 -08:00
cnauroth 02e7dec79d HDFS-7773. Additional metrics in HDFS to be accessed via jmx. Contributed by Anu Engineer. 2015-02-20 12:37:48 -08:00
cnauroth 8c6ae0d619 HDFS-7814. Fix usage string of storageType parameter for "dfsadmin -setSpaceQuota/clrSpaceQuota". Contributed by Xiaoyu Yao. 2015-02-20 12:21:46 -08:00
Kihwal Lee 7ae5255a16 HDFS-7788. Post-2.6 namenode may not start up with an image containing inodes created with an old release. Contributed by Rushabh Shah. 2015-02-20 09:09:02 -06:00
Harsh J b9a17909ba HDFS-7752. Improve description for "dfs.namenode.num.extra.edits.retained" and "dfs.namenode.num.checkpoints.retained" properties on hdfs-default.xml. Contributed by Wellington Chevreuil. 2015-02-20 19:20:41 +05:30
yliu 2fd02afeca HDFS-7656. Expose truncate API for HDFS httpfs. (yliu) 2015-02-19 08:36:31 +08:00
Tsuyoshi Ozawa 946456c6d8 HADOOP-11602. Fix toUpperCase/toLowerCase to use Locale.ENGLISH. (ozawa) 2015-02-19 13:06:53 +09:00
Haohui Mai 9a3e292087 HDFS-7808. Remove obsolete -ns options in in DFSHAAdmin.java. Contributed by Arshad Mohammad. 2015-02-18 15:15:08 -08:00
cnauroth 2aa9979a71 HDFS-7772. Document hdfs balancer -exclude/-include option in HDFSCommands.html. Contributed by Xiaoyu Yao. 2015-02-18 12:03:07 -08:00
Uma Maheswara Rao G 2ecea5ab74 HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) 2015-02-18 19:24:45 +05:30
Akira Ajisaka 6dc8812a95 HDFS-7780. Update use of Iterator to Iterable in DataXceiverServer and SnapshotDiffInfo. Contributed by Ray Chiang. 2015-02-17 14:47:53 -08:00
Haohui Mai 043e44bc36 HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. 2015-02-17 13:04:38 -08:00
Kihwal Lee db6606223c HDFS-7795. Show warning if not all favored nodes were chosen by namenode. Contributed by Kihwal Lee. 2015-02-17 13:05:43 -06:00
Allen Wittenauer 34b78d51b5 HDFS-7803. Wrong command mentioned in HDFSHighAvailabilityWithQJM documentation (Arshad Mohammad via aw) 2015-02-17 06:46:37 -10:00
Uma Maheswara Rao G f0412de1c1 HDFS-4266. BKJM: Separate write and ack quorum (Rakesh R via umamahesh) 2015-02-17 21:28:49 +05:30
Uma Maheswara Rao G f24a56787a HDFS-7797. Add audit log for setQuota operation (Rakesh R via umamahesh) 2015-02-17 20:11:11 +05:30
Tsuyoshi Ozawa 2f0f756b26 HADOOP-11600. Fix up source codes to be compiled with Guava 17.0. (ozawa) 2015-02-17 21:56:20 +09:00
yliu 500e6a0f46 HDFS-7798. Checkpointing failure caused by shared KerberosAuthenticator. (Chengbing Liu via yliu) 2015-02-17 07:46:33 +08:00
cnauroth 9729b244de HDFS-7604. Track and display failed DataNode storage locations in NameNode. Contributed by Chris Nauroth. 2015-02-16 14:43:02 -08:00
Arpit Agarwal f2231cebcd HDFS-7775. Use consistent naming for NN-internal quota related types and functions. (Contributed bu Xiaoyu Yao) 2015-02-13 21:01:33 -08:00
cnauroth 2efb2347a9 HDFS-7778. Rename FsVolumeListTest to TestFsVolumeList and commit it to branch-2. Contributed by Lei (Eddy) Xu. 2015-02-13 16:30:28 -08:00
Akira Ajisaka 0d521e3326 HDFS-4265. BKJM doesn't take advantage of speculative reads. Contributed by Rakesh R. 2015-02-13 15:20:52 -08:00
Colin Patrick Mccabe 19be82cd16 update CHANGES.txt for HDFS-7430, HDFS-7721, HDFS-7686 2015-02-13 15:15:31 -08:00
Colin Patrick Mccabe 8bb9a5000e HDFS-7686. Re-add rapid rescan of possibly corrupt block feature to the block scanner (cmccabe) 2015-02-13 14:35:49 -08:00
Arpit Agarwal 0a33a98eb4 HDFS-7776. Adding additional unit tests for Quota By Storage Type. (Contributed by Xiaoyu Yao) 2015-02-13 11:56:33 -08:00
Allen Wittenauer a126ac3edb HDFS-7791. dfs count -v should be added to quota documentation (Akira AJISAKA via aw) 2015-02-13 10:56:30 -08:00
Allen Wittenauer 2f1e5dc628 HDFS-7668. Convert site documentation from apt to markdown (Masatake Iwasaki via aw) 2015-02-12 18:19:45 -08:00
Allen Wittenauer 93b941c637 HADOOP-11565. Add --slaves shell option (aw) 2015-02-12 18:01:28 -08:00
Colin Patrick Mccabe 871cb56152 HDFS-7790. Do not create optional fields in DFSInputStream unless they are needed (cmccabe) 2015-02-12 17:48:51 -08:00
Akira Ajisaka 46b6d23e8f HDFS-7684. The host:port settings of the deamons should be trimmed before use. Contributed by Anu Engineer. 2015-02-12 17:40:30 -08:00
Haohui Mai 04d09ecd56 HDFS-7711. Move the entry in CHANGE.txt to the right place. 2015-02-12 15:44:05 -08:00
Allen Wittenauer 58cb9f5293 HDFS-7322. deprecate sbin/hadoop-daemon.sh (aw) 2015-02-12 11:51:35 -08:00
Arpit Agarwal 9e33c9944c HDFS-7584. Update CHANGES.txt 2015-02-12 10:52:15 -08:00
Colin Patrick Mccabe 6b39ad0865 HDFS-7694. FSDataInputStream should support "unbuffer" (cmccabe) 2015-02-12 10:40:46 -08:00
Kihwal Lee 8d7215d40f Adding missing files from HDFS-7404 2015-02-12 11:17:39 -06:00
Kihwal Lee 38262779bb HDFS-7704. DN heartbeat to Active NN may be blocked and expire if connection to Standby NN continues to time out. Contributed by Rushabh Shah. 2015-02-12 09:15:30 -06:00
Vinayakumar B 89a5449280 HDFS-7703. Support favouredNodes for the append for new blocks ( Contributed by Vinayakumar B) 2015-02-12 12:38:44 +05:30
yliu 8a54384a0a HDFS-7761. cleanup unnecssary code logic in LocatedBlock. (yliu) 2015-02-12 03:08:16 +08:00
Tsz-Wo Nicholas Sze 085b1e293f HDFS-6133. Add a feature for replica pinning so that a pinned replica will not be moved by Balancer/Mover. Contributed by zhaoyunjiong 2015-02-11 15:12:12 -08:00
Colin Patrick Mccabe 50625e660a HDFS-7771. fuse_dfs should permit FILE: on the front of KRB5CCNAME (cmccabe) 2015-02-11 12:14:40 -08:00
Haohui Mai f80c9888fa HDFS-7736. Fix typos in dfsadmin/fsck/snapshotDiff usage messages. Contributed by Brahma Reddy Battula. 2015-02-11 11:21:33 -08:00
Arpit Agarwal 078f3a9bc7 HDFS-7720. Update CHANGES.txt to reflect merge to branch-2. 2015-02-11 11:08:32 -08:00
Arpit Agarwal 5dae97a584 HDFS-7723. Quota By Storage Type namenode implemenation. (Contributed by Xiaoyu Yao) 2015-02-11 10:41:50 -08:00
Konstantin V Shvachko e42fc1a251 HDFS-7760. Document truncate for WebHDFS. Contributed by Konstantin Shvachko. 2015-02-11 09:53:50 -08:00
Allen Wittenauer b94c1117a2 HDFS-316. Balancer should run for a configurable # of iterations (Xiaoyu Yao via aw) 2015-02-11 08:10:34 -08:00
Konstantin V Shvachko a4ceea60f5 HDFS-7753. Fix Multithreaded correctness Warnings in BackupImage. Contributed by Rakesh R and Konstantin Shvachko. 2015-02-11 00:45:18 -08:00
Tsz-Wo Nicholas Sze 7c6b6547ee HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir. 2015-02-10 17:48:57 -08:00
Konstantin V Shvachko b73956fdad HDFS-7058. Tests for truncate CLI. Contributed by Dasha Boudnik. 2015-02-09 21:26:59 -08:00
Vinayakumar B 3d15728ff5 HDFS-7714. Simultaneous restart of HA NameNodes and DataNode can cause DataNode to register successfully with only one NameNode.(Contributed by Vinayakumar B) 2015-02-10 10:43:08 +05:30
Colin Patrick Mccabe 02340a24f2 HDFS-7718. Store KeyProvider in ClientContext to avoid leaking key provider threads when using FileContext (Arun Suresh via Colin P. McCabe) 2015-02-09 20:23:23 -08:00
Colin Patrick Mccabe a9dc5cd706 HDFS-7744. Fix potential NPE in DFSInputStream after setDropBehind or setReadahead is called (cmccabe) 2015-02-09 20:16:41 -08:00
yliu 260b5e32c4 HDFS-7756. Restore method signature for LocatedBlock#getLocations(). (Ted Yu via yliu) 2015-02-10 01:57:51 +08:00
yliu 1b56d1ce32 HADOOP-11510. Expose truncate API via FileContext. (yliu) 2015-02-10 01:45:29 +08:00
Allen Wittenauer 63613c79c1 HDFS-7546. Document, and set an accepting default for dfs.namenode.kerberos.principal.pattern (Harsh J via aw) 2015-02-09 13:58:58 -08:00
Allen Wittenauer 7d73202734 HDFS-7755. httpfs shell code has hardcoded path to bash (Dmitry Sivachenko via aw) 2015-02-09 13:05:14 -08:00
Allen Wittenauer fcad031d72 HDFS-7669. HDFS Design Doc references commands that no longer exist. (Brahma Reddy Battula via aw) 2015-02-09 12:56:48 -08:00
Allen Wittenauer 84cc071a7b HDFS-7670. HDFS Quota guide has typos, incomplete command lines (Brahma Reddy Battula via aw) 2015-02-09 12:54:03 -08:00
Allen Wittenauer 30b797ee9d HADOOP-8934. Shell command ls should include sort options (Jonathan Allen via aw) 2015-02-09 12:50:44 -08:00
Arpit Agarwal ab934e8594 HDFS-7647. DatanodeManager.sortLocatedBlocks sorts DatanodeInfos but not StorageIDs. (Contributed by Milan Desai) 2015-02-09 12:17:40 -08:00
Jing Zhao 1382ae525c HDFS-7743. Code cleanup of BlockInfo and rename BlockInfo to BlockInfoContiguous. Contributed by Jing Zhao. 2015-02-08 11:51:44 -08:00
Tsz-Wo Nicholas Sze 350b520c64 HDFS-7751. Fix TestHDFSCLI for quota with storage type. Contributed by Xiaoyu Yao 2015-02-07 15:40:47 -08:00
Tsz-Wo Nicholas Sze 8f7d4bb09f HDFS-7738. Revise the exception message for recover lease; add more truncate tests such as truncate with HA setup, negative tests, truncate with other operations and multiple truncates. 2015-02-07 15:21:16 -08:00
Akira Ajisaka cfb829ecd5 HDFS-7710. Remove dead code in BackupImage.java. Contributed by Xiaoyu Yao. 2015-02-06 18:59:31 -08:00
Arpit Agarwal 8de80ff712 HDFS-7720. Quota by Storage Type API, tools and ClientNameNode Protocol changes. (Contributed by Xiaoyu Yao) 2015-02-06 17:01:19 -08:00
Allen Wittenauer 5c79439568 HADOOP-11485. Pluggable shell integration (aw) 2015-02-06 13:09:01 -08:00
Akira Ajisaka eaab959a3e HDFS-7732. Fix the order of the parameters in DFSConfigKeys. Contributed by Brahma Reddy Battula. 2015-02-06 11:26:49 -08:00
yliu 7b10ef0c3b HDFS-7741. Remove unnecessary synchronized in FSDataInputStream and HdfsDataInputStream. (yliu) 2015-02-06 06:31:03 +08:00
yliu 45ea53f938 HDFS-7698. Fix locking on HDFS read statistics and add a method for clearing them. (Colin P. McCabe via yliu) 2015-02-05 23:56:29 +08:00
yliu 03f7ed382b HDFS-7655. Expose truncate API for Web HDFS. (yliu) 2015-02-05 23:45:06 +08:00
Haohui Mai c4980a2f34 HDFS-7270. Add congestion signaling capability to DataNode write protocol. Contributed by Haohui Mai. 2015-02-05 10:58:58 -08:00
Allen Wittenauer fb06c00837 HADOOP-7713. dfs -count -q should label output column (Jonathan Allen via aw) 2015-02-05 07:44:49 -08:00
Tsuyoshi Ozawa 20660b7a67 HDFS-7709. Fix findbug warnings in httpfs. Contributed by Rakesh R. 2015-02-05 19:57:07 +09:00
Allen Wittenauer 43d5caef5e HADOOP-11460. Deprecate shell vars (John Smith via aw) 2015-02-04 16:35:50 -08:00
Arpit Agarwal c6f20007eb HDFS-7733. NFS: readdir/readdirplus return null directory attribute on failure. (Contributed by Arpit Agarwal) 2015-02-04 16:25:31 -08:00
Colin Patrick Mccabe 40a415799b HDFS-7719. BlockPoolSliceStorage#removeVolumes fails to remove some in-memory state associated with volumes. (Lei (Eddy) Xu via Colin P. McCabe) 2015-02-04 12:10:00 -08:00
Andrew Wang 9175105eea HDFS-7734. Class cast exception in NameNode#main. Contributed by Yi Liu. 2015-02-04 11:31:38 -08:00
Tsuyoshi Ozawa ba58da29f4 HADOOP-11546. Checkstyle failing: Unable to instantiate DoubleCheckedLockingCheck. (ozawa) 2015-02-05 00:42:14 +09:00
Andrew Wang 3ae38ec7df HDFS-7712. Switch blockStateChangeLog to use slf4j. 2015-02-03 15:01:16 -08:00
Kihwal Lee 843806d03a HDFS-7707. Edit log corruption due to delayed block removal again. Contributed by Yongjun Zhang 2015-02-03 14:45:15 -06:00
Colin Patrick Mccabe 115428176e HDFS-7721. The HDFS BlockScanner may run fast during the first hour (cmccabe) 2015-02-03 11:05:31 -08:00
Haohui Mai 8cb473124c HDFS-6651. Deletion failure can leak inodes permanently. Contributed by Jing Zhao. 2015-02-02 16:32:38 -08:00
Tsz-Wo Nicholas Sze d085eb15d7 HDFS-7696. In FsDatasetImpl, the getBlockInputStream(..) and getTmpInputStreams(..) methods may leak file descriptors. 2015-02-02 13:38:36 -08:00
Tsz-Wo Nicholas Sze df01337b80 Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. 2015-02-02 13:34:12 -08:00
Colin Patrick Mccabe 09ad9a868a HADOOP-11498. Bump the version of HTrace to 3.1.0-incubating (Masatake Iwasaki via Colin P. McCabe) 2015-01-30 16:01:59 -08:00
Andrew Wang 951b3608a8 HDFS-7706. Switch BlockManager logging to use slf4j. 2015-01-30 11:33:03 -08:00
Colin Patrick Mccabe e36ef3b402 HADOOP-11403. Avoid using sys_errlist on Solaris, which lacks support for it (Malcolm Kavalsky via Colin P. McCabe) 2015-01-29 15:43:57 -08:00
Kihwal Lee 89b07490f8 HDFS-7603. The background replication queue initialization may not let others run. Contributed by Kihwal Lee. 2015-01-29 12:36:22 -06:00
yliu f37849188b HDFS-7423. various typos and message formatting fixes in nfs daemon and doc. (Charles Lamb via yliu) 2015-01-29 04:56:04 +08:00
Tsz-Wo Nicholas Sze 5a0051f4da HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas 2015-01-28 16:00:47 -08:00
Jing Zhao d244574d03 HDFS-7611. deleteSnapshot and delete of a file can leave orphaned blocks in the blocksMap on NameNode restart. Contributed by Jing Zhao and Byron Wong. 2015-01-28 15:25:03 -08:00
Andrew Wang caf7298e49 HDFS-6673. Add delimited format support to PB OIV tool. Contributed by Eddy Xu. 2015-01-28 12:36:29 -08:00
Colin Patrick Mccabe d12dd47f45 HDFS-7675. Remove unused member DFSClient.spanReceiverHost (cmccabe) 2015-01-27 20:52:02 -08:00
yliu 9ca565e970 HDFS-7677. DistributedFileSystem#truncate should resolve symlinks. (yliu) 2015-01-27 23:50:11 +08:00
Allen Wittenauer 0a05ae1782 HDFS-7566. Remove obsolete entries from hdfs-default.xml (Ray Chiang via aw) 2015-01-27 14:31:27 -08:00
Jing Zhao 2848db814a HDFS-3689. Add support for variable length block. Contributed by Jing Zhao. 2015-01-27 12:58:10 -08:00
Haohui Mai 1e2d98a394 HDFS-7683. Combine usages and percent stats in NameNode UI. Contributed by Vinayakumar B. 2015-01-27 11:09:29 -08:00
Steve Loughran 0da53a37ec HDFS-49. MiniDFSCluster.stopDataNode will always shut down a node in the cluster if a matching name is not found. (stevel) 2015-01-27 11:11:00 +00:00
Kihwal Lee 2b0fa20f69 HDFS-7224. Allow reuse of NN connections via webhdfs. Contributed by Eric Payne 2015-01-26 08:14:30 -06:00
Konstantin V Shvachko 370396509d HDFS-7676. Fix TestFileTruncate to avoid bug of HDFS-7611. Contributed by Konstantin Shvachko. 2015-01-24 18:03:11 -08:00
Konstantin V Shvachko 3ea353e7b9 Move truncate related messages in CHANGES.txt to branch 2 section. (shv) 2015-01-24 17:49:22 -08:00
yliu e9fd46ddbf HDFS-7659. truncate should check negative value of the new length. Contributed by Yi Liu. 2015-01-24 15:44:07 -08:00
Allen Wittenauer 8f26d5a8a1 HDFS-7320. The appearance of hadoop-hdfs-httpfs site docs is inconsistent (Masatake Iwasaki via aw) 2015-01-23 14:21:55 -08:00
Allen Wittenauer 6c3fec5ec2 HDFS-3750. API docs don't include HDFS (Jolly Chen via aw) 2015-01-23 14:10:44 -08:00
Allen Wittenauer 5c93ca2f3c HDFS-7644. minor typo in HttpFS doc (Charles Lamb via aw) 2015-01-23 13:46:31 -08:00
Allen Wittenauer d411460e0d HDFS-7667. Various typos and improvements to HDFS Federation doc (Charles Lamb via aw) 2015-01-23 13:37:52 -08:00
yliu 5f124efb3e HDFS-7660. BlockReceiver#close() might be called multiple times, which causes the fsvolume reference being released incorrectly. (Lei Xu via yliu) 2015-01-23 02:37:44 +08:00
cnauroth d3268c4b10 HDFS-3519. Checkpoint upload may interfere with a concurrent saveNamespace. Contributed by Ming Ma. 2015-01-22 16:26:21 -08:00
Arpit Agarwal 792b7d337a HDFS-7575. Fix CHANGES.txt 2015-01-22 14:37:16 -08:00
Arpit Agarwal d34074e237 HDFS-7575. Upgrade should generate a unique storage ID for each volume. (Contributed by Arpit Agarwal) 2015-01-22 14:08:20 -08:00
Colin Patrick Mccabe 6e62a1a672 HDFS-7430. Refactor the BlockScanner to use O(1) memory and use multiple threads (cmccabe) 2015-01-21 19:00:53 -08:00
Konstantin V Shvachko a0521bc83a HADOOP-11490. Expose truncate API via FileSystem and shell command. Contributed by Milan Desai. 2015-01-21 16:00:49 -08:00
Kihwal Lee c0af72c7f7 HDFS-7548. Corrupt block reporting delayed until datablock scanner thread detects it. Contributed by Rushabh Shah. 2015-01-21 14:41:31 -06:00
Tsz-Wo Nicholas Sze db334bb862 HDFS-3443. Fix NPE when namenode transition to active during startup by adding checkNNStartup() in NameNodeRpcServer. Contributed by Vinayakumar B 2015-01-21 11:33:55 -08:00
Colin Patrick Mccabe 39c1bcf7d9 HADOOP-11484: move CHANGES.txt entry to 3.0 2015-01-21 11:32:31 -08:00
Colin Patrick Mccabe 220a49de47 HADOOP-11484. hadoop-mapreduce-client-nativetask fails to build on ARM AARCH64 due to x86 asm statements (Edward Nevill via Colin P. McCabe) 2015-01-21 11:24:09 -08:00
Arpit Agarwal 6b17eb9eac HDFS-7643. Test case to ensure lazy persist files cannot be truncated. (Contributed by Yi Liu) 2015-01-20 21:58:38 -08:00
Colin Patrick Mccabe a1222784fb HDFS-7610. Add CHANGES.txt 2015-01-20 20:14:11 -08:00
Colin Patrick Mccabe a17584936c HDFS-7610. Fix removal of dynamically added DN volumes (Lei (Eddy) Xu via Colin P. McCabe) 2015-01-20 20:11:09 -08:00
Colin Patrick Mccabe 73b72a048f HDFS-7496: add to CHANGES.txt 2015-01-20 19:32:19 -08:00
Colin Patrick Mccabe b7f4a3156c HDFS-7496. Fix FsVolume removal race conditions on the DataNode by reference-counting the volume instances (lei via cmccabe) 2015-01-20 19:05:33 -08:00
yliu 889ab074d5 HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu) 2015-01-21 02:06:18 +08:00
yliu fc20129c56 HDFS-7623. Add htrace configuration properties to core-default.xml and update user doc about how to enable htrace. (yliu) 2015-01-21 00:59:47 +08:00
Arpit Agarwal dd0228b8f7 HDFS-7634. Fix CHANGES.txt 2015-01-20 12:14:03 -08:00
Arpit Agarwal c09c65b212 HDFS-7634. Disallow truncation of Lazy persist files. (Contributed by Yi Liu) 2015-01-20 12:11:36 -08:00
yliu 5a6c084f07 HDFS-7638: Small fix and few refinements for FSN#truncate. (yliu) 2015-01-20 00:45:12 +08:00
Haohui Mai 5e5e35b185 HDFS-7640. print NFS Client in the NFS log. Contributed by Brandon Li. 2015-01-19 17:29:46 -08:00
Tsz-Wo Nicholas Sze 4a4450836c HDFS-5631. Change BlockMetadataHeader.readHeader(..), ChunkChecksum class and constructor to public; and fix FsDatasetSpi to use generic type instead of FsVolumeImpl. Contributed by David Powell and Joe Pallas 2015-01-19 13:49:19 -08:00
Jing Zhao e843a0a8ce HDFS-7637. Fix the check condition for reserved path. Contributed by Yi Liu. 2015-01-19 10:28:29 -08:00
Haohui Mai 24315e7d37 HDFS-7573. Consolidate the implementation of delete() into a single class. Contributed by Haohui Mai. 2015-01-17 12:56:04 -08:00
Konstantin V Shvachko 60cbcff2f7 HDFS-7606. Fix potential NPE in INodeFile.getBlocks(). Contributed by Byron Wong. 2015-01-16 14:31:18 -08:00
cnauroth ec4389cf72 HDFS-7632. MiniDFSCluster configures DataNode data directories incorrectly if using more than 1 DataNode and more than 2 storage locations per DataNode. Contributed by Chris Nauroth. 2015-01-16 10:52:01 -08:00
cnauroth 9c94015e36 HDFS-7635. Remove TestCorruptFilesJsp from branch-2. Contributed by Chris Nauroth. 2015-01-16 10:39:27 -08:00
yliu c4ccbe62c0 HDFS-7189. Add trace spans for DFSClient metadata operations. (Colin P. McCabe via yliu) 2015-01-16 00:23:51 +08:00
Kihwal Lee 780a6bf145 HDFS-7457. DatanodeID generates excessive garbage. Contributed by Daryn Sharp. 2015-01-15 16:44:11 -06:00
Kihwal Lee 44eed6cbc9 HDFS-7615. Remove longReadLock. Contributed by Kihwal Lee. 2015-01-15 16:39:18 -06:00
Arpit Agarwal a6efbb21c2 HDFS-7591. hdfs classpath command should support same options as hadoop classpath. (Contributed by Varun Saxena) 2015-01-15 11:02:17 -08:00
Allen Wittenauer ce0117636a HDFS-7581. HDFS documentation needs updating post-shell rewrite (aw) 2015-01-15 07:48:55 -08:00
Tsz-Wo Nicholas Sze 6464a8929a HDFS-5782. Change BlockListAsLongs constructor to take Replica as parameter type instead of concrete classes Block and ReplicaInfo. Contributed by David Powell and Joe Pallas 2015-01-14 13:46:06 -08:00
Tsz-Wo Nicholas Sze 7fe0f25ad2 HDFS-2219. Change fsck to support fully qualified paths so that a particular namenode in a federated cluster with multiple namenodes can be specified in the path parameter. 2015-01-14 11:31:18 -08:00
Colin Patrick Mccabe 446545c496 HDFS-7585. Get TestEnhancedByteBufferAccess working on CPU architectures with page sizes other than 4096 (Sam Liu via Colin P. McCabe) 2015-01-14 11:13:55 -08:00
cnauroth 85aec75ce5 HDFS-7570. SecondaryNameNode need twice memory when calling reloadFromImageFile. Contributed by zhaoyunjiong. 2015-01-13 16:10:28 -08:00
Konstantin V Shvachko 08ac06283a HDFS-7056. Snapshot support for truncate. Contributed by Konstantin Shvachko and Plamen Jeliazkov. 2015-01-13 00:24:23 -08:00
Plamen Jeliazkov 7e9358feb3 HDFS-3107. Introduce truncate. Contributed by Plamen Jeliazkov. 2015-01-12 22:50:04 -08:00
Jing Zhao 6f3a63a41b HDFS-7600. Refine hdfs admin classes to reuse common code. Contributed by Jing Zhao. 2015-01-12 17:32:33 -08:00
Colin Patrick Mccabe f761bd8fe4 HDFS-5445. PacketReceiver populates the packetLen field in PacketHeader incorrectly (Jonathan Mace via Colin P. McCabe) 2015-01-12 17:11:03 -08:00
Colin Patrick Mccabe b3ddd7ee39 HDFS-7598. Remove dependency on old version of Guava in TestDFSClientCache#testEviction (Sangjin Lee via Colin P. McCabe) 2015-01-12 17:07:18 -08:00
Kihwal Lee 6bbf9fdd04 HDFS-7533. Datanode sometimes does not shutdown on receiving upgrade shutdown command. Contributed by Eric Payne. 2015-01-12 15:36:55 -06:00
Colin Patrick Mccabe b78b4a1536 HDFS-7326. Add documentation for hdfs debug commands (Vijay Bhat via Colin P. McCabe) 2015-01-12 12:16:36 -08:00
yliu 5b0d060d2a HDFS-7323. Move the get/setStoragePolicy commands out from dfsadmin. (jing9 via yliu) 2015-01-12 00:35:43 +08:00
cnauroth ef3c3a832c HDFS-7596. NameNode should prune dead storages from storageMap. Contributed by Arpit Agarwal. 2015-01-10 09:18:33 -08:00
Jing Zhao 2a06101e61 HDFS-7182. JMX metrics aren't accessible when NN is busy. Contributed by Ming Ma. 2015-01-09 17:35:57 -08:00
Colin Patrick Mccabe ae91b13a4b HADOOP-11470. Remove some uses of obsolete guava APIs from the hadoop codebase (Sangjin Lee via Colin P. McCabe) 2015-01-08 16:09:44 -08:00
cnauroth 7e2d9a3242 HDFS-7579. Improve log reporting during block report rpc failure. Contributed by Charles Lamb. 2015-01-08 15:12:56 -08:00
cnauroth 708b1aa074 HDFS-7589. Break the dependency between libnative_mini_dfs and libhdfs. Contributed by Zhanwei Wang. 2015-01-08 10:23:40 -08:00
Tsuyoshi Ozawa a6ed4894b5 HADOOP-11032. Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa) 2015-01-08 14:51:57 +09:00
Tsuyoshi Ozawa 9886396400 Revert "Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)" because of missing JIRA's number.
This reverts commit 2eba7eb9af.
2015-01-08 14:35:08 +09:00
Tsuyoshi Ozawa 2eba7eb9af Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa) 2015-01-08 14:21:30 +09:00
Konstantin V Shvachko e86943fd64 HDFS-7561. TestFetchImage should write fetched-image-dir under target. Contributed by Liang Xie. 2015-01-07 16:03:11 -08:00
Brandon Li 788ee35e2b HDFS-7564. NFS gateway dynamically reload UID/GID mapping file /etc/nfs.map. Contributed by Yongjun Zhang 2015-01-06 16:19:39 -08:00
Vinayakumar B 4cd66f7fb2 HDFS-7583. Fix findbug in TransferFsImage.java (Contributed by Vinayakumar B) 2015-01-06 09:31:35 +05:30
cnauroth dfd2589bcb HDFS-7572. TestLazyPersistFiles#testDnRestartWithSavedReplicas is flaky on Windows. Contributed by Arpit Agarwal. 2015-01-05 10:39:15 -08:00
Brandon Li 892b1bb746 HDFS-7563. NFS gateway parseStaticMap NumberFormatException. Contributed by Yongjun Zhang 2015-01-02 10:49:50 -08:00
Jing Zhao 5caebbae8c HDFS-7484. Make FSDirectory#addINode take existing INodes as its parameter. Contributed by Jing Zhao. 2014-12-22 23:19:20 -08:00
Vinayakumar B 50ae1a6664 HDFS-7456. De-duplicate AclFeature instances with same AclEntries do reduce memory footprint of NameNode (Contributed by Vinayakumar B) 2014-12-23 12:35:53 +05:30
cnauroth 2cf90a2c33 HDFS-7560. ACLs removed by removeDefaultAcl() will be back after NameNode restart/failover. Contributed by Vinayakumar B. 2014-12-22 13:59:10 -08:00