Commit Graph

5927 Commits

Author SHA1 Message Date
Akira Ajisaka 901eca004d HDFS-11002. Fix broken attr/getfattr/setfattr links in ExtendedAttributes.md. Contributed by Mingliang Liu. 2016-10-13 14:29:30 +09:00
Kihwal Lee 85cd06f663 HDFS-10789. Route webhdfs through the RPC call queue. Contributed by Daryn Sharp and Rushabh S Shah. 2016-10-12 15:11:42 -05:00
Mingliang Liu 7ba7092bbc HDFS-10965. Add unit test for HDFS command 'dfsadmin -printTopology'. Contributed by Xiaobing Zhou 2016-10-11 17:23:54 -07:00
Mingliang Liu 3c9a01062e HDFS-10903. Replace config key literal strings with config key names II: hadoop hdfs. Contributed by Chen Liang 2016-10-11 16:29:30 -07:00
Xiaoyu Yao 61f0490a73 HDFS-10984. Expose nntop output as metrics. Contributed by Siddharth Wagle. 2016-10-11 15:55:02 -07:00
Andrew Wang dacd3ec66b HDFS-10991. Export hdfsTruncateFile symbol in libhdfs. Contributed by Surendra Singh Lilhore. 2016-10-11 15:07:14 -07:00
Lei Xu 809cfd27a3 HDFS-10916. Switch from "raw" to "system" xattr namespace for erasure coding policy. (Andrew Wang via lei) 2016-10-11 10:04:46 -07:00
Lei Xu 96b12662ea HDFS-10637. Modifications to remove the assumption that FsVolumes are backed by java.io.File. (Virajith Jalaparti via lei) 2016-10-10 15:30:03 -07:00
Mingliang Liu b963818621 HDFS-10988. Refactor TestBalancerBandwidth. Contributed by Brahma Reddy Battula 2016-10-10 13:19:17 -07:00
Mingliang Liu 3441c746b5 HDFS-10972. Add unit test for HDFS command 'dfsadmin -getDatanodeInfo'. Contributed by Xiaobing Zhou 2016-10-10 11:33:37 -07:00
Kai Zheng af50da3298 HDFS-10895. Update HDFS Erasure Coding doc to add how to use ISA-L based coder. Contributed by Sammi Chen 2016-10-10 11:55:49 +06:00
Jing Zhao 4d106213c0 HDFS-10968. BlockManager#isInNewRack should consider decommissioning nodes. Contributed by Jing Zhao. 2016-10-07 22:44:54 -07:00
Xiao Chen 6a38d118d8 HDFS-10797. Disk usage summary of snapshots causes renamed blocks to get counted twice. Contributed by Sean Mackrory. 2016-10-07 17:37:15 -07:00
Kihwal Lee e57fa81d95 HDFS-10980. Optimize check for existence of parent directory. Contributed by Daryn Sharp. 2016-10-07 17:20:15 -05:00
Kihwal Lee 3565c9af17 HDFS-10979. Pass IIP for FSDirDeleteOp methods. Contributed by Daryn Sharp. 2016-10-07 14:15:59 -05:00
Wei-Chiu Chuang 3059b251d8 HDFS-10933. Refactor TestFsck. Contributed by Takanobu Asanuma. 2016-10-07 10:17:50 -07:00
Brahma Reddy Battula be3cb10f53 HDFS-10969. Fix typos in hdfs-default.xml Contributed by Yiqun Lin 2016-10-07 22:18:40 +05:30
Kihwal Lee 48b9d5fd2a HDFS-10955. Pass IIP for FSDirAttr methods. Contributed by Daryn Sharp. 2016-10-06 16:33:46 -05:00
Chris Nauroth 1d330fbaf6 HADOOP-13150. Avoid use of toString() in output of HDFS ACL shell commands. Contributed by Chris Nauroth. 2016-10-06 13:19:16 -07:00
Kihwal Lee f32e9fc8f7 HDFS-10939. Reduce performance penalty of encryption zones. Contributed by Daryn sharp. 2016-10-06 15:11:14 -05:00
Andrew Wang 72a2ae6452 HADOOP-13688. Stop bundling HTML source code in javadoc JARs. 2016-10-06 11:19:38 -07:00
Vinayakumar B 311954883f HDFS-10957. Retire BKJM from trunk (Vinayakumar B) 2016-10-06 19:28:25 +05:30
Brahma Reddy Battula b90fc70d67 HDFS-10963. Reduce log level when network topology cannot find enough datanodes. Contributed by Xiao chen 2016-10-06 17:47:31 +05:30
Mingliang Liu 202325485d HDFS-10893. Refactor TestDFSShell by setting up MiniDFSCluser once for all commands test. Contributed by Mingliang Liu 2016-10-05 22:33:29 -07:00
Wei-Chiu Chuang c5ca216915 HDFS-10683. Make class Token$PrivateToken private. Contributed by John Zhuge. 2016-10-05 17:36:50 -07:00
Andrew Wang e68c7b96c7 HDFS-10962. TestRequestHedgingProxyProvider is flaky. 2016-10-05 15:08:56 -07:00
Jing Zhao 8867762256 HDFS-10826. Correctly report missing EC blocks in FSCK. Contributed by Takanobu Asanuma. 2016-10-05 10:52:50 -07:00
Kihwal Lee 44f48ee96e HDFS-10956. Remove rename/delete performance penalty when not using snapshots. Contributed by Daryn Sharp. 2016-10-04 15:05:09 -05:00
Kihwal Lee 382307cbdd HDFS-10878. TestDFSClientRetries#testIdempotentAllocateBlockAndClose throws ConcurrentModificationException. Contributed by Rushabh S Shah. 2016-10-04 11:09:03 -05:00
Brahma Reddy Battula ef7f06f7d1 HDFS-10947. Correct the API name for truncate in webhdfs document. Contributed by Surendra Singh Lilhore 2016-10-04 18:46:42 +05:30
Brahma Reddy Battula 5ea0210c7f HDFS-10944. Correct the javadoc of dfsadmin#disallowSnapshot. Contributed by Jagadesh Kiran N 2016-10-04 18:33:22 +05:30
Mingliang Liu f61e3d13e9 HDFS-10934. TestDFSShell#testStat fails intermittently. Contributed by Eric Badger 2016-10-03 22:34:41 -04:00
Mingliang Liu 8078a5efd0 HDFS-10810. setreplication removing block from underconstrcution temporarily. Contributed by Brahma Reddy Battula 2016-10-03 21:50:16 -04:00
Xiao Chen 853d65a157 HDFS-10918. Add a tool to get FileEncryptionInfo from CLI. Contributed by Xiao Chen. 2016-10-03 16:01:54 -07:00
Xiaoyu Yao 607705c488 HDFS-10690. Optimize insertion/removal of replica in ShortCircuitCache. Contributed by Fenghua Hu. 2016-10-03 10:53:21 -07:00
Kihwal Lee 744208431f HDFS-10940. Reduce performance penalty of block caching when not used. Contributed by Daryn Sharp. 2016-10-03 11:27:23 -05:00
Kihwal Lee 90020624b0 HDFS-10619. Cache path in InodesInPath. Contributed by Daryn Sharp. 2016-10-03 09:13:04 -05:00
Arpit Agarwal fe9ebe20ab Revert "HDFS-10923. Make InstrumentedLock require ReentrantLock."
This reverts commit c7ce6fdc20.
2016-09-30 23:11:51 -07:00
Arpit Agarwal c7ce6fdc20 HDFS-10923. Make InstrumentedLock require ReentrantLock. 2016-09-30 23:00:06 -07:00
Zhe Zhang 434c5ea75d HDFS-10896. Move lock logging logic from FSNamesystem into FSNamesystemLock. Contributed by Erik Krogen. 2016-09-30 13:16:08 -07:00
Wei-Chiu Chuang 7fad1221d6 HDFS-10907. Fix Erasure Coding documentation. Contributed by Manoj Govindassamy. 2016-09-30 12:51:27 -07:00
Wei-Chiu Chuang ee33a02234 HDFS-10910. HDFS Erasure Coding doc should state its currently supported erasure coding policies. Contributed by Yiqun Lin. 2016-09-30 12:48:11 -07:00
Wei-Chiu Chuang 2ab1ef15c5 HDFS-10908. Improve StripedBlockReader#createBlockReader error logging. Contributed by Manoj Govindassamy. 2016-09-30 12:35:47 -07:00
Kihwal Lee a0730aa5ce HDFS-10851. FSDirStatAndListingOp: stop passing path as string. Contributed by Daryn Sharp. 2016-09-30 13:03:24 -05:00
Kihwal Lee 0670149c88 HDFS-10850. getEZForPath should NOT throw FNF. Contributed by Andrew Wang. 2016-09-30 08:44:18 -05:00
Mingliang Liu 84c6264079 HDFS-10892. Add unit tests for HDFS command 'dfs -tail' and 'dfs -stat'. Contributed by Mingliang Liu 2016-09-28 16:03:51 -07:00
Andrew Wang 92e5e91598 HDFS-10914. Move remnants of oah.hdfs.client to hadoop-hdfs-client. 2016-09-28 16:01:03 -07:00
Kihwal Lee 5f34402ada HDFS-10779. Rename does not need to re-solve destination. Contributed by Daryn Sharp. 2016-09-28 17:57:23 -05:00
Arpit Agarwal c3b235e565 HDFS-10824. MiniDFSCluster#storageCapacities has no effects on real capacity. Contributed by Xiaobing Zhou. 2016-09-28 11:47:37 -07:00
Anu Engineer 03f519a757 HDFS-9850. DiskBalancer: Explore removing references to FsVolumeSpi. Contributed by Manoj Govindassamy. 2016-09-27 21:35:06 -07:00
Mingliang Liu 6437ba18c5 HDFS-10915. Fix time measurement bug in TestDatanodeRestart. Contributed by Xiaobing Zhou 2016-09-27 20:40:17 -07:00
Anu Engineer 9c9736463b HDFS-10900. DiskBalancer: Complete the documents for the report command. Contributed by Yiqun Lin. 2016-09-27 19:28:41 -07:00
Yongjun Zhang 2acfb1e1e4 HDFS-10376. Enhance setOwner testing. (John Zhuge via Yongjun Zhang) 2016-09-27 14:55:28 -07:00
Wangda Tan 875062b5bc HADOOP-13544. JDiff reports unncessarily show unannotated APIs and cause confusion while our javadocs only show annotated and public APIs. (vinodkv via wangda) 2016-09-27 11:26:45 -07:00
Arpit Agarwal 8ae4729107 HDFS-10828. Fix usage of FsDatasetImpl object lock in ReplicaMap. (Arpit Agarwal) 2016-09-27 10:02:15 -07:00
Masatake Iwasaki f55eb981dd HDFS-10426. TestPendingInvalidateBlock failed in trunk. Contributed by Yiqun Lin. 2016-09-28 01:29:24 +09:00
Brahma Reddy Battula df1d0f5d56 HDFS-10889. Remove outdated Fault Injection Framework documentaion. Contributed by Brahma Reddy Battula 2016-09-27 19:33:10 +05:30
Brahma Reddy Battula edf0d0f8b2 HDFS-9444. Add utility to find set of available ephemeral ports to ServerSocketUtil. Contributed by Masatake Iwasaki 2016-09-27 07:04:37 +05:30
Arpit Agarwal 059058f961 HDFS-10713. Throttle FsNameSystem lock warnings. Contributed by Hanisha Koneru. 2016-09-26 17:09:47 -07:00
Wei-Chiu Chuang 8e06d865c4 Addendum patch for HDFS-10609. Uncaught InvalidEncryptionKeyException during pipeline recovery may abort downstream applications. 2016-09-26 14:41:04 -07:00
Wei-Chiu Chuang 3ae652f821 HDFS-10609. Uncaught InvalidEncryptionKeyException during pipeline recovery may abort downstream applications. Contributed by Wei-Chiu Chuang. 2016-09-26 13:11:32 -07:00
Brahma Reddy Battula 3e37e243ee HDFS-10869. Remove the unused method InodeId#checkId(). Contributed by Jagadesh Kiran N 2016-09-25 11:02:46 +05:30
Konstantin V Shvachko 6eb700ee74 HDFS-10866. Fix Eclipse Java compile errors related to generic parameters. Contributed by Konstantin Shvachko. 2016-09-23 14:10:11 -07:00
Wei-Chiu Chuang 74b3dd514c HDFS-10876. Dispatcher#dispatch should log IOException stacktrace. Contributed by Manoj Govindassamy. 2016-09-23 13:26:57 -07:00
Konstantin V Shvachko a5bb88c8e0 HDFS-10843. Update space quota when a UC block is completed rather than committed. Contributed by Erik Krogen. 2016-09-23 10:37:46 -07:00
Brahma Reddy Battula bbdf350ff9 HDFS-10886. Replace fs.default.name with fs.defaultFS in viewfs document. 2016-09-23 19:21:34 +05:30
Brahma Reddy Battula c4480f7f42 HDFS-10894. Remove the redundant charactors for command -saveNamespace in HDFSCommands.md Contributed by Yiqun Lin. 2016-09-23 19:11:02 +05:30
Anu Engineer d85d9b2e7b HDFS-10871. DiskBalancerWorkItem should not import jackson relocated by htrace. Contributed by Manoj Govindassamy. 2016-09-22 19:36:16 -07:00
Andrew Wang 40acacee08 HDFS-10877. Make RemoteEditLogManifest.committedTxnId optional in Protocol Buffers. Contributed by Sean Mackrory. 2016-09-22 11:43:11 -07:00
Masatake Iwasaki 964e546ab1 HDFS-9333. Some tests using MiniDFSCluster errored complaining port in use. (iwasakims) 2016-09-21 10:35:25 +09:00
Xiao Chen 0e918dff59 HDFS-10879. TestEncryptionZonesWithKMS#testReadWrite fails intermittently. Contributed by Xiao Chen. 2016-09-20 16:56:52 -07:00
Kai Zheng 734d54c1a8 HDFS-10861. Refactor StripeReaders and use ECChunk version decode API. Contributed by Sammi Chen 2016-09-21 21:34:48 +08:00
Xiao Chen e52d6e7a46 HDFS-10875. Optimize du -x to cache intermediate result. Contributed by Xiao Chen. 2016-09-19 21:44:42 -07:00
Andrew Wang c54f6ef30f HDFS-10868. Remove stray references to DFS_HDFS_BLOCKS_METADATA_ENABLED. 2016-09-19 11:17:03 -07:00
Xiao Chen ea839bd48e HDFS-10489. Deprecate dfs.encryption.key.provider.uri for HDFS encryption zones. Contributed by Xiao Chen. 2016-09-17 22:25:39 -07:00
Andrew Wang 8a40953058 HDFS-10823. Implement HttpFSFileSystem#listStatusIterator. 2016-09-16 15:37:36 -07:00
Akira Ajisaka b09a03cd7d HDFS-10862. Typos in 4 log messages. Contributed by Mehran Hassani. 2016-09-16 16:08:47 +09:00
Arpit Agarwal ec3ea18875 HDFS-9895. Remove unnecessary conf cache from DataNode. Contributed by Xiaobing Zhou. 2016-09-15 15:25:47 -07:00
Arpit Agarwal 2a8f55a0cf HDFS-10805. Reduce runtime for append test. Contributed by Gergely Novak. 2016-09-14 09:31:17 -07:00
Kai Zheng ea0c2b8b05 HADOOP-13218. Migrate other Hadoop side tests to prepare for removing WritableRPCEngine. Contributed by Wei Zhou and Kai Zheng 2016-09-15 10:46:00 +08:00
Lei Xu 86c9862bec HDFS-10636. Modify ReplicaInfo to remove the assumption that replica metadata and data are stored in java.io.File. (Virajith Jalaparti via lei) 2016-09-13 12:54:14 -07:00
Anu Engineer 1c0d18f322 HDFS-10562. DiskBalancer: update documentation on how to report issues and debug. Contributed by Anu Engineer. 2016-09-13 12:42:10 -07:00
Andrew Wang db6d243cf8 HDFS-10837. Standardize serializiation of WebHDFS DirectoryListing. 2016-09-13 11:02:36 -07:00
Anu Engineer e3f7f58a5f HDFS-10599. DiskBalancer: Execute CLI via Shell. Contributed by Manoj Govindassamy. 2016-09-13 09:38:12 -07:00
Akira Ajisaka f0876b8b60 HDFS-10856. Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport. Contributed by Yiqun Lin. 2016-09-13 14:50:03 +09:00
Yongjun Zhang d2466ec3e0 HDFS-10657. testAclCLI.xml setfacl test should expect mask r-x. (John Zhuge via Yongjun Zhang) 2016-09-12 21:25:06 -07:00
Jing Zhao 72dfb048a9 HDFS-10858. FBR processing may generate incorrect reportedBlock-blockGroup mapping. Contributed by Jing Zhao. 2016-09-12 16:40:11 -07:00
Anu Engineer 8a93f45a80 HDFS-10821. DiskBalancer: Report command support with multiple nodes. Contributed by Yiqun Lin. 2016-09-12 15:45:26 -07:00
Allen Wittenauer 58ed4fa544 HADOOP-13341. Deprecate HADOOP_SERVERNAME_OPTS; replace with (command)_(subcommand)_OPTS
This commit includes the following changes:

	HADOOP-13356. Add a function to handle command_subcommand_OPTS
	HADOOP-13355. Handle HADOOP_CLIENT_OPTS in a function
	HADOOP-13554. Add an equivalent of hadoop_subcmd_opts for secure opts
	HADOOP-13562. Change hadoop_subcommand_opts to use only uppercase
	HADOOP-13358. Modify HDFS to use hadoop_subcommand_opts
	HADOOP-13357. Modify common to use hadoop_subcommand_opts
	HADOOP-13359. Modify YARN to use hadoop_subcommand_opts
	HADOOP-13361. Modify hadoop_verify_user to be consistent with hadoop_subcommand_opts (ie more granularity)
	HADOOP-13564. modify mapred to use hadoop_subcommand_opts
	HADOOP-13563. hadoop_subcommand_opts should print name not actual content during debug
	HADOOP-13360. Documentation for HADOOP_subcommand_OPTS

This closes apache/hadoop#126
2016-09-12 11:10:00 -07:00
Xiao Chen cc01ed7026 HDFS-10855. Fix typos in HDFS documents. Contributed by Yiqun Lin. 2016-09-10 23:24:49 -07:00
Arpit Agarwal a99bf26a08 HDFS-10830. FsDatasetImpl#removeVolumes crashes with IllegalMonitorStateException when vol being removed is in use. (Arpit Agarwal and Manoj Govindassamy) 2016-09-10 18:22:25 -07:00
Anu Engineer bee9f57f5c HDFS-10808. DiskBalancer does not execute multi-steps plan-redux. Contributed by Anu Engineer. 2016-09-09 15:00:39 -07:00
Andrew Wang cba973f036 HDFS-10832. Propagate ACL bit and isEncrypted bit in HttpFS FileStatus permissions. 2016-09-09 12:12:29 -07:00
Xiao Chen a0b0383677 Addendum patch for HDFS-9781. FsDatasetImpl#getBlockReports can occasionally throw NullPointerException. Contributed by Manoj Govindassamy. 2016-09-09 10:54:14 -07:00
Anu Engineer baab48922a HDFS-9849. DiskBalancer: reduce lock path in shutdown code. Contributed by Yuanbo Liu. 2016-09-08 20:00:42 -07:00
Anu Engineer 35c5943b8b HDFS-10553. DiskBalancer: Rename Tools/DiskBalancer class to Tools/DiskBalancerCLI. Contributed by Manoj Govindassamy. 2016-09-08 19:26:56 -07:00
Andrew Wang b07c266dca HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong zhao. 2016-09-08 18:30:18 -07:00
Chris Douglas 011f3b24d4 HDFS-10742. Measure lock time in FsDatasetImpl. Contributed by Chen Liang 2016-09-08 17:53:40 -07:00
Chris Douglas b6d839a60c HDFS-10845. Change defaults in hdfs-site.xml to match timeunit type. Contributed by Yiqun Lin 2016-09-08 13:29:30 -07:00
Zhe Zhang 401db4fc65 HDFS-8901. Use ByteBuffer in striping positional read. Contributed by Sammi Chen and Kai Zheng. 2016-09-08 11:54:33 -07:00