7141 Commits

Author SHA1 Message Date
Xiao Chen
2dd27c999b HDFS-13051. Fix dead lock during async editlog rolling if edit queue is full. Contributed by Daryn Sharp.
(cherry picked from commit 8e54da1511e78477c1d4655d5ff0a69d0330869f)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLogRace.java
2018-09-10 22:44:48 -07:00
Brahma Reddy Battula
77dd456461 HDFS-13237. [Documentation] RBF: Mount points across multiple subclusters. Contributed Íñigo Goiri
(cherry picked from commit 96892c469b16c5aaff1b7c42f66f820344256bc2)
2018-09-11 10:13:35 +05:30
Vinayakumar B
b8eaeca7e6 HDFS-13895. EC: Fix Intermittent Failure in TestDFSStripedOutputStreamWithFailureWithRandomECPolicy. Contributed by Ayush Saxena.
(cherry picked from commit eef3bafae8bc0fd31506637cd131599ec97f362f)
2018-09-10 09:24:08 +05:30
Brahma Reddy Battula
cbcdaefa37 HDFS-13862. RBF: Router logs are not capturing few of the dfsrouteradmin commands. Contributed by Ayush Saxena
(cherry picked from commit 8944407d938bb8e38c7182a68b4b64d1a7c778ca)
2018-09-09 23:21:45 +05:30
Inigo Goiri
a400ed3aab HDFS-13836. RBF: Handle mount table znode with null value. Contributed by yanghuafeng.
(cherry picked from commit 527288ef891dc26019d003bd85ddfd50eb4f3b7b)
2018-09-06 16:48:44 -07:00
Wei-Chiu Chuang
d1ea7df43d HADOOP-15696. KMS performance regression due to too many open file descriptors after Jetty migration. Contributed by Wei-Chiu Chuang.
(cherry picked from commit e780556ae9229fe7a90817eb4e5449d7eed35dd8)

Conflicts:
	hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestHttpServer.java
2018-09-05 10:17:58 -07:00
Yiqun Lin
c898757f55 HDFS-13815. RBF: Add check to order command. Contributed by Ranith Sardar.
(cherry picked from commit 9315db5f5da09c2ef86be168465c16932afa2d85)
2018-09-05 23:35:30 +08:00
Hrishikesh Gadre
fde3b5ac22 HDFS-13812. Fix the inconsistent default refresh interval on Caching documentation. Contributed by Hrishikesh Gadre.
Signed-off-by: Xiao Chen <xiao@apache.org>
(cherry picked from commit 6ccb809c2d38a45e716153ba16e135cb76167b2b)
2018-09-04 21:54:43 -07:00
Inigo Goiri
a26565960a HDFS-13857. RBF: Choose to enable the default nameservice to read/write files. Contributed by yanghuafeng.
(cherry picked from commit 54f2044595206455484284b43e5976c8a1982aaf)
2018-09-04 12:17:49 -07:00
Vinayakumar B
9cf35d99b9 HDFS-13774. EC: 'hdfs ec -getPolicy' is not retrieving policy details when the special REPLICATION policy set on the directory. Contributed by Ayush Saxena.
(cherry picked from commit 3801436e49822c724c8f4e393e6e5abbd0d2573a)
2018-09-03 14:39:11 +05:30
Vinayakumar B
6776db5aec HDFS-13867. RBF: Add validation for max arguments for Router admin ls, clrQuota, setQuota, rm and nameservice commands. Contributed by Ayush Saxena.
(cherry picked from commit 780df9034f265a8e602856b34cc21d9be02f5c48)
2018-09-03 14:29:28 +05:30
Wei-Chiu Chuang
9f0cd2ade2 Revert "HDFS-13838. WebHdfsFileSystem.getFileStatus() won't return correct "snapshot enabled" status. Contributed by Siyao Meng."
This reverts commit 41732e7b28bb70f7ba56cf6131ac10c062f93fc3.
2018-08-30 11:58:42 -07:00
Vinayakumar B
65977e5d81 HDFS-13027. Handle possible NPEs due to deleted blocks in race condition. Contributed by Vinayakumar B. 2018-08-30 22:14:47 +05:30
Yiqun Lin
8a3be0d5a4 HDFS-13863. FsDatasetImpl should log DiskOutOfSpaceException. Contributed by Fei Hui.
(cherry picked from commit 582cb10ec74ed5666946a3769002ceb80ba660cb)
2018-08-30 11:22:57 +08:00
Yiqun Lin
b9b2b97e9d HDFS-13634. RBF: Configurable value in xml for async connection request queue size. Contributed by CR Hota.
(cherry picked from commit a0ebb6b39f2932d3ea2fb5e287f52b841e108428)
2018-08-29 16:18:15 +08:00
Brahma Reddy Battula
c01c240f6f HDFS-13854. RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit. Contributed by yanghuafeng.
(cherry picked from commit 64ad0298d441559951bc9589a40f8aab17c93a5f)
2018-08-29 08:31:19 +05:30
Zsolt Venczel
5cbb9b1ca9 HDFS-13731. ReencryptionUpdater fails with ConcurrentModificationException during processCheckpoints. Contributed by Zsolt Venczel.
(cherry picked from commit 3e18b957ebdf20925224ab9c28e6c2f4b6bbdb24)
2018-08-28 15:14:13 -07:00
Brahma Reddy Battula
450ba6790d HDFS-13861. RBF: Illegal Router Admin command leads to printing usage for all commands. Contributed by Ayush Saxena.
(cherry picked from commit cb9d371ae2cda1624fc83316ddc09de37d8d0bd3)
2018-08-29 00:31:16 +05:30
Yiqun Lin
2cbc3c7d43 HDFS-13831. Make block increment deletion number configurable. Contributed by Ryan Wu.
(cherry picked from commit b9b964d25335943fb15cdfcf369d123bbd7e454a)
2018-08-28 09:36:02 -07:00
Vinayakumar B
9265d1a61a HDFS-13858. RBF: Add check to have single valid argument to safemode command. Contributed by Ayush Saxena.
(cherry picked from commit 75691ad600473d4d315434b0876d6d10d3050a6b)
2018-08-28 09:21:42 +05:30
Wei-Chiu Chuang
41732e7b28 HDFS-13838. WebHdfsFileSystem.getFileStatus() won't return correct "snapshot enabled" status. Contributed by Siyao Meng.
(cherry picked from commit 26c2a97c566969f50eb8e8432009724c51152a98)
2018-08-27 16:03:52 -07:00
Konstantin V Shvachko
60fd202a59 HDFS-13848. Refactor NameNode failover proxy providers. Contributed by Konstantin Shvachko.
(cherry picked from commit a4121c71c29d13866a605d9c0d013e5de9c147c3)
2018-08-24 18:44:04 -07:00
Yiqun Lin
0d73497aa7 HDFS-13821. RBF: Add dfs.federation.router.mount-table.cache.enable so that users can disable cache. Contributed by Fei Hui.
(cherry picked from commit 81847392badcd58d934333e7c3b5bf14b4fa1f3f)
2018-08-22 13:05:23 +08:00
Vinayakumar B
8df2eb8119 HDFS-13772. Erasure coding: Unnecessary NameNode Logs displaying for Enabling/Disabling Erasure coding policies which are already enabled/disabled. Contributed by Ayush Saxena 2018-08-21 09:34:57 +05:30
Wei-Chiu Chuang
865650052b HDFS-10240. Race between close/recoverLease leads to missing block. Contributed by Jinglun, zhouyingchao and Wei-Chiu Chuang. 2018-08-20 14:57:40 -07:00
Xiao Chen
0424715207 HDFS-13732. ECAdmin should print the policy name when an EC policy is set. Contributed by Zsolt Venczel. 2018-08-20 14:57:07 -07:00
Xiao Chen
81fbfe500e HDFS-13217. Audit log all EC policy names during addErasureCodingPolicies. Contributed by liaoyuxiangqin. 2018-08-20 14:56:47 -07:00
Daniel Templeton
c15853f87a HDFS-13819. TestDirectoryScanner#testDirectoryScannerInFederatedCluster is flaky
Change-Id: I1cea6e67fcec72702ad202775dee3373261ac5cd
2018-08-20 14:54:58 -07:00
drankye
975d60685e HDFS-13668. FSPermissionChecker may throws AIOOE when check inode permission. Contributed by He Xiaoqiao. 2018-08-20 14:53:32 -07:00
Xiao Chen
c0ac0a5337 HDFS-13658. Expose HighestPriorityLowRedundancy blocks statistics. Contributed by Kitti Nanasi. 2018-08-20 14:52:28 -07:00
Márton Elek
366517ba99 HDFS-13447. Fix Typos - Node Not Chosen. Contributed by Beluga Behr. 2018-08-20 14:52:04 -07:00
Vinayakumar B
a517ee4f5b HDFS-13785. EC: 'removePolicy' is not working for built-in/system Erasure Code policies. Contributed by Ayush Saxena 2018-08-20 14:51:53 -07:00
Xiao Chen
754069906b HDFS-13799. TestEditLogTailer#testTriggersLogRollsForAllStandbyNN fails due to missing synchronization
between rollEditsRpcExecutor and tailerThread shutdown. Contributed by Hrishikesh Gadre.
2018-08-20 14:51:07 -07:00
Wei-Chiu Chuang
78fb14ba49 HADOOP-14212. Expose SecurityEnabled boolean field in JMX for other services besides NameNode. Contributed by Adam Antal. 2018-08-20 14:49:24 -07:00
Yiqun Lin
d7442c244f HDFS-13750. RBF: Router ID in RouterRpcClient is always null. Contributed by Takanobu Asanuma.
(cherry picked from commit 01ff8178148790f7b0112058cf08d23d031b6868)
2018-08-20 23:05:55 +08:00
Xiao Chen
06f0d5e257 HDFS-13747. Statistic for list_located_status is incremented incorrectly by listStatusIterator. Contributed by Antal Mihalyi.
(cherry picked from commit c67b0650ea10896c6289703595faef0d262c00b3)
2018-08-16 23:15:48 -07:00
Daniel Templeton
fbedf89377 HDFS-13746. Still occasional "Should be different group" failure in TestRefreshUserMappings#testGroupMappingRefresh
(Contributed by Siyao Meng via Daniel Templeton)

Change-Id: I9fad1537ace38367a463d9fe67aaa28d3178fc69
(cherry picked from commit 8512e1a91be3e340d919c7cdc9c09dfb762a6a4e)
2018-08-16 15:01:34 -07:00
Xiao Chen
83d0d82a69 HDFS-13788. Update EC documentation about rack fault tolerance. Contributed by Kitti Nanasi.
(cherry picked from commit cede33997f7ab09fc046017508b680e282289ce3)
2018-08-14 11:57:50 -07:00
Wei-Chiu Chuang
7a115e8de4 HDFS-13758. DatanodeManager should throw exception if it has BlockRecoveryCommand but the block is not under construction. Contributed by chencan.
(cherry picked from commit 61a9b4f58b639e71c564d84b529ac66aaae7f8ef)
2018-08-14 11:52:24 -07:00
Wei-Chiu Chuang
74d4fd975a HDFS-13738. fsck -list-corruptfileblocks has infinite loop if user is not privileged. Contributed by Yuen-Kuei Hsueh.
(cherry picked from commit 4023eeba05aefe48384e870da3c95bb3af474514)
2018-08-13 17:37:12 -07:00
Wei-Chiu Chuang
b38649c59a HDFS-13813. Exit NameNode if dangling child inode is detected when saving FsImage. Contributed by Siyao Meng.
(cherry picked from commit 23854443efa62aa70a1c30c32c3816750e5d7a5b)
2018-08-13 16:13:36 -07:00
Vinayakumar B
b3f29e3504 HDFS-13786. EC: Display erasure coding policy for sub-directories is not working. Contributed by Ayush Saxena.
(cherry picked from commit 2b0f9772417d205e8df16bac6921c2bb8bdcf740)
2018-08-13 13:58:27 -07:00
Chen Liang
e05b38f132 HDFS-13735. Make QJM HTTP URL connection timeout configurable. Contributed by Chao Sun. 2018-08-13 12:48:12 -07:00
Arpit Agarwal
4e197a4b46 HDFS-13823. NameNode UI : "Utilities -> Browse the file system -> open a file -> Head the file" is not working. Contributed by Nanda kumar. 2018-08-13 11:36:15 -07:00
Chao Sun
baca64cc68 Remove super user privilege requirement for NameNode.getServiceStatus. Contributed by Chao Sun.
(cherry picked from commit a2a8c486998b81d2c73804a07cc74f5269bfd904)
2018-08-10 16:07:02 -07:00
Xiao Chen
7d1e2e1fbb HDFS-13721. NPE in DataNode due to uninitialized DiskBalancer. 2018-08-10 13:53:34 -07:00
Wangda Tan
781620a44d Make 3.1.1 awared by other branches
(cherry picked from commit 49c687608b65b772faeed614700ece8e526432e8)
2018-08-08 13:04:05 -07:00
Xiao Chen
bf03b25f4b HDFS-13728. Disk Balancer should not fail if volume usage is greater than capacity. Contributed by Stephen O'Donnell.
(cherry picked from commit 6677717c689cc94a15f14c3466242e23652d473b)
2018-08-07 22:05:51 -07:00
Wangda Tan
5583711419 Preparing for 3.1.2 release
Change-Id: If2793e2ed2b5b349a9e1f98f78df43f309dcfcbd
2018-07-31 13:08:55 -07:00
Brahma Reddy Battula
6f6d9ee9bf HDFS-12716. 'dfs.datanode.failed.volumes.tolerated' to support minimum number of volumes to be available. Contributed by Ranith Sardar and usharani
(cherry picked from commit 3108d27edde941d153a58f71fb1096cce2995531)
2018-07-30 15:57:58 +05:30