Robert Kanter
92ee5e2077
HADOOP-13838. KMSTokenRenewer should close providers (xiaochen via rkanter)
...
(cherry picked from commit 47ca9e26fba4a639e43bee5bfc001ffc4b42330d)
(cherry picked from commit 285edf691db42a3e17138d960f8560c62d8d0dde)
2016-11-28 18:23:23 -08:00
Akira Ajisaka
011d478aab
HDFS-11175. Document uppercase key names are not supported in TransparentEncryption.md. Contributed by Yiqun Lin.
...
(cherry picked from commit 636f7547b7067c315cf5448d77e49a8fe55651b3)
(cherry picked from commit 0df7f5cdf673d9b0f97f85099c52a0a77342836e)
2016-11-25 17:50:43 +09:00
Brahma Reddy Battula
9be7b353dd
HADOOP-13646. Remove outdated overview.html. Contributed By Brahma Reddy Battula.
...
(cherry picked from commit afcf8d38e750f935c06629e641a1321b79c4cace)
2016-11-22 20:36:32 +05:30
Kihwal Lee
f5410f0814
HDFS-10966. Enhance Dispatcher logic on deciding when to give up a source DataNode. Contributed by Mark Wagner and Zhe Zhang.
...
(cherry picked from commit 774b0cd845a67bc0e2ef99b415ce1e5432769551)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
2016-11-21 10:52:42 -06:00
Brahma Reddy Battula
ce4cd98784
HDFS-11101. TestDFSShell#testMoveWithTargetPortEmpty fails intermittently. Contributed By Brahma Reddy Battula.
...
(cherry picked from commit f92206774899b84e8abaecdf97399b65e0995ed8)
2016-11-21 19:36:57 +05:30
Brahma Reddy Battula
23ddb98e1b
HDFS-11144. TestFileCreationDelete#testFileCreationDeleteParent fails wind bind exception. Contributed By Brahma Reddy Battula.
...
(cherry picked from commit c68dad18ab5cdf01f3dea1bb5988f896609956b4)
2016-11-21 11:00:15 +05:30
Brahma Reddy Battula
f0e2271149
HDFS-11134. Fix bind exception threw in TestRenameWhileOpen. Contributed By Yiqun Lin.
...
(cherry picked from commit b2d4b7b1b902aa830d44889d7747a4e1b816ab9d)
2016-11-17 10:26:50 +05:30
Mingliang Liu
a8dadd8c53
HDFS-11105. TestRBWBlockInvalidation#testRWRInvalidation fails intermittently. Contributed by Yiqun Lin
...
(cherry picked from commit c90891e7b3afaa66dbca967b83a9997e80e893d8)
2016-11-16 13:13:19 -08:00
Kihwal Lee
15f08e9298
HDFS-8870. Lease is leaked on write failure. Contributed by Kuhu Shukla.
...
(cherry picked from commit 4fcea8a0c8019d6d9a5e6f315c83659938b93a40)
2016-11-15 14:57:04 -06:00
Zhe Zhang
c6e7b631bd
HDFS-10872. Add MutableRate metrics for FSNamesystemLock operations. Contributed by Erik Krogen.
...
(cherry picked from commit 818915aabb22653e212f4646b1b3cd0673330328)
2016-11-14 16:39:26 -08:00
Brahma Reddy Battula
4dc40fe28e
HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin
...
(cherry picked from commit 6efb8c9c6018ec688eeba8c61c220009ec350a44)
2016-11-14 20:42:50 +05:30
Erik Krogen
3d52459712
HDFS-11087. NamenodeFsck should check if the output writer is still writable. Contributed by Erik Krogen.
...
(cherry picked from commit 98d9e9c4c823d865ddfc017e71c82d12c8328e53)
2016-11-13 14:54:49 -08:00
Mingliang Liu
4bcef1c616
HADOOP-13813. TestDelegationTokenFetcher#testDelegationTokenWithoutRenewer is failing. Contributed by Mingliang Liu
...
(cherry picked from commit fb3a5085e8057c79e0785e7e7bf7da031c3f3c12)
2016-11-12 10:37:46 -08:00
Mingliang Liu
fcedb6812b
HDFS-11129. TestAppendSnapshotTruncate fails with bind exception. Contributed by Brahma Reddy Battula
...
(cherry picked from commit 2ee18fc15e60dff9a42a80eb0c30e8bd8cedc26a)
2016-11-11 22:19:39 -08:00
Xiaoyu Yao
c443ecb267
HDFS-10941. Improve BlockManager#processMisReplicatesAsync log. Contributed by Chen Liang.
...
(cherry picked from commit 4484b48498b2ab2a40a404c487c7a4e875df10dc)
2016-11-11 14:32:11 -08:00
Mingliang Liu
ae7a20f524
HDFS-11122. TestDFSAdmin#testReportCommand fails due to timed out. Contributed by Yiqun Lin
...
(cherry picked from commit aa6010ccca3045ce9f0bb819fb2cb7ff65e1822b)
2016-11-11 12:35:21 -08:00
Brahma Reddy Battula
121b56de14
HDFS-11128. CreateEditsLog throws NullPointerException. Contributed by Hanisha Koneru.
...
(cherry picked from commit 1ae57f0f75695178dc135b0c259d066f7da31c9d)
2016-11-11 20:11:13 +05:30
Xiao Chen
d81706cd99
HDFS-11120. TestEncryptionZones should waitActive. Contributed by John Zhuge.
...
(cherry picked from commit 907b1431c0ead934e26cf7dbc51bfab5d7cc5ddc)
2016-11-09 17:16:36 -08:00
Wei-Chiu Chuang
1d75da8e26
HDFS-11056. Concurrent append and read operations lead to checksum error. Contributed by Wei-Chiu Chuang.
...
(cherry picked from commit 16430c64b788bce6997f3a9e4401a2914f37b959)
2016-11-09 13:32:35 -08:00
Mingliang Liu
ad992e05a6
HDFS-11083. Add unit test for DFSAdmin -report command. Contributed by Xiaobing Zhou
...
(cherry picked from commit 62d8c17dfda75a6a6de06aedad2f22699a1cbad6)
2016-11-08 17:10:59 -08:00
Mingliang Liu
00625004b7
HDFS-11085. Add unit test for NameNode failing to start when name dir is unwritable. Contributed by Xiaobing Zhou
...
(cherry picked from commit 0c0ab102ab392ba07ed2aa8d8a67eef4c20cad9b)
2016-11-04 14:45:43 -07:00
Mingliang Liu
b082d4b746
HDFS-11076. Add unit test for extended Acls. Contributed by Chen Liang
...
(cherry picked from commit 7534aee09af47c6961100588312da8d133be1b27)
2016-11-03 13:55:43 -07:00
Arpit Agarwal
3f2bfdba3e
HDFS-11097. Fix warnings for deprecated StorageReceivedDeletedBlocks constructor. Contributed by Yiqun Lin.
2016-11-03 10:33:28 -07:00
Brahma Reddy Battula
77142827e8
HDFS-11031. Add additional unit test for DataNode startup behavior when volumes fail. Contributed by Mingliang Liu.
...
(cherry picked from commit 35e6081020d34be966724f44df678f1f5ee6f6d8)
2016-11-02 10:40:22 +05:30
Mingliang Liu
10eb21e52e
HDFS-11065. Add space quota tests for heterogenous storages. Contributed by Xiaobing Zhou
...
(cherry picked from commit fa1512a740b2ed2661743d6b5483ef3eb49e5634)
2016-11-01 14:50:16 -07:00
Kihwal Lee
db6dfeca1a
HDFS-10997. Reduce number of path resolving methods. Contributed by Daryn Sharp.
...
(cherry picked from commit 7c1a1834e49cf88c64837d92b78bbc07ea9e9efc)
2016-11-01 08:26:25 -05:00
Brahma Reddy Battula
c895f08936
HDFS-10455. Logging the username when deny the setOwner operation. Contributed by Rakesh R.
...
(cherry picked from commit 1c5708f6ded6ba9fc007eed93c1f65ba44451241)
2016-11-01 10:53:37 +05:30
Kihwal Lee
91640a0170
Addendum of HDFS-10722 to include HDFS-7964 logic.
...
(cherry picked from commit 4a8e6dc02fb1d0dc89c3981b444575494511444a)
(cherry picked from commit 3b2554f3b0f686a66e3df20b7c381babb9bc74d3)
(cherry picked from commit c2bb9bf00c4a32644f96c673078a812087ef3c46)
2016-10-31 16:37:00 -07:00
Zhe Zhang
7900b1e803
Revert "HDFS-10722. Fix race condition in TestEditLog#testBatchedSyncWithClosedLogs. Contributed by Daryn Sharp."
...
This reverts commit c2bb9bf00c4a32644f96c673078a812087ef3c46.
2016-10-31 16:35:05 -07:00
Kihwal Lee
c2bb9bf00c
HDFS-10722. Fix race condition in TestEditLog#testBatchedSyncWithClosedLogs. Contributed by Daryn Sharp.
...
(cherry picked from commit 4a8e6dc02fb1d0dc89c3981b444575494511444a)
(cherry picked from commit 3b2554f3b0f686a66e3df20b7c381babb9bc74d3)
2016-10-31 16:30:39 -07:00
Akira Ajisaka
a17fc1dca3
HDFS-10485. Fix findbugs warning in FSEditLog.java. (aajisaka)
...
(cherry picked from commit e620530301fd3e62537d4b7bc3d8ed296bda1ffc)
(cherry picked from commit b8c1db6f63f9d01f44f8f43921aadfe999eefd76)
2016-10-31 16:24:35 -07:00
Jing Zhao
e327325a37
HDFS-7964. Add support for async edit logging. Contributed by Daryn Sharp.
...
(cherry picked from commit 2151716832ad14932dd65b1a4e47e64d8d6cd767)
(cherry picked from commit 3cb7ae11a839c01b8be629774874c1873f51b747)
2016-10-31 16:24:35 -07:00
Mingliang Liu
fece3c881b
HDFS-11030. TestDataNodeVolumeFailure#testVolumeFailure is flaky (though passing). Contributed by Mingliang Liu
...
(cherry picked from commit 6bb12ecc3f63afb2070296c2db009c6f9a2d884b)
2016-10-31 16:06:41 -07:00
Arpit Agarwal
f0a6d17e3b
HDFS-11074. Remove unused method FsDatasetSpi#getFinalizedBlocksOnPersistentStorage. Contributed by Hanisha Koneru.
2016-10-31 12:40:03 -07:00
Mingliang Liu
616c1194fe
HDFS-11047. Remove deep copies of FinalizedReplica to alleviate heap consumption on DataNode. Contributed by Xiaobing Zhou
...
(cherry picked from commit 2848a27700e76fc2c2d3ab87adba54ca8e93ba39)
2016-10-28 11:18:26 -07:00
Mingliang Liu
a8a99f3423
HDFS-11048. Audit Log should escape control characters. Contributed by Eric Badger
...
(cherry picked from commit 8a9388e5f6d622152798aaaa256064919e4fec37)
2016-10-28 11:01:09 -07:00
Erik Krogen
2ec90a1a4b
HDFS-9500. Fix software version counts for DataNodes during rolling upgrade. Contributed by Erik Krogen.
...
(cherry picked from commit f3ac1f41b8fa82a0ac87a207d7afa2061d90a9bd)
2016-10-27 16:04:58 -07:00
Kihwal Lee
40dbf2a18d
HDFS-11069. Tighten the authorization of datanode RPC. Contributed by Kihwal Lee
...
(cherry picked from commit ae48c496dce8d0eae4571fc64e6850d602bae688)
2016-10-27 14:18:48 -05:00
Kihwal Lee
5b0d32b4aa
Revert "HDFS-10455. Logging the username when deny the setOwner operation. Contributed by Tianyin Xiu"
...
This reverts commit d6dfc76dfee4489b2a55cfb8562970c3212b15b5.
2016-10-27 14:10:52 -05:00
Brahma Reddy Battula
d6dfc76dfe
HDFS-10455. Logging the username when deny the setOwner operation. Contributed by Tianyin Xiu
...
(cherry picked from commit ac35ee9393e0afce9fede1d2052e7bf4032312fd)
2016-10-27 20:23:07 +05:30
Vinayakumar B
7279ce831d
HDFS-8492. DN should notify NN when client requests a missing block (Contributed by Walter Su)
...
(cherry picked from commit 1cf6ec4ad4e1f4ea71f912923b5e8627b61ef482)
(cherry picked from commit 144f7a9e0eb3084eaaff7ab0bee1f5943e16d136)
2016-10-27 16:56:25 +05:30
Mingliang Liu
a7684f6517
HDFS-10921. TestDiskspaceQuotaUpdate doesn't wait for NN to get out of safe mode. Contributed by Eric Badger
...
(cherry picked from commit 55e1fb8e3221941321e6f5e04b334246c5f23027)
2016-10-26 14:18:00 -07:00
Kihwal Lee
e7bd2e8d63
HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.
...
(cherry picked from commit e90af4a89ba2741aeca20ead47699587b14f0de8)
2016-10-26 09:18:01 -05:00
Arpit Agarwal
df83d86da7
HDFS-11054. Suppress verbose log message in BlockPlacementPolicyDefault. Contributed by Chen Liang.
2016-10-25 19:51:53 -07:00
Xiaoyu Yao
e0fc749a46
HDFS-11011. Add unit tests for HDFS command 'dfsadmin -set/clrSpaceQuota'. Contributed by Xiaobing Zhou.
...
(cherry picked from commit 85f6fec0370b3cd94d6c2f19920c0b6d33f127c6)
(cherry picked from commit c2ba4b650168be4fad7ffdb546b8a0d985268393)
2016-10-25 11:22:07 -07:00
Zhe Zhang
262518fa5b
HDFS-11015. Enforce timeout in balancer. Contributed by Kihwal Lee.
...
(cherry picked from commit f6367c5f44a88cb5eb7edffb015b10b657504a61)
(cherry picked from commit ff806cbfc7f5d1bdccd51a1802b6d69f4777219e)
2016-10-25 10:59:03 -07:00
Kihwal Lee
c82910203c
HDFS-11042. Add missing cleanupSSLConfig() call for tests that use setupSSLConfig(). Contributed by Kuhu Shukla.
...
(cherry picked from commit 086577c67a458b466acc3595f5c74beffbcaab50)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/test/java/org/apache/hadoop/fs/http/client/TestHttpFSFWithSWebhdfsFileSystem.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTokens.java
2016-10-24 09:00:28 -05:00
Brahma Reddy Battula
5754772bd6
HADOOP-13236. truncate will fail when we use viewfilesystem. Contributed by Brahma Reddy Battula
...
(cherry picked from commit f872c6bc0390415f13e95b99749b0b1a690991b7)
2016-10-21 16:22:42 +05:30
Mingliang Liu
cfac82a443
HDFS-10998. Add unit tests for HDFS command 'dfsadmin -fetchImage' in HA. Contributed by Xiaobing Zhou
...
(cherry picked from commit d7d87deece66333c188e9b7c10b4b56ddb529ce9)
2016-10-20 19:59:32 -07:00
Wei-Chiu Chuang
b4edd115b4
HDFS-11018. Incorrect check and message in FsDatasetImpl#invalidate. Contributed by Yiqun Lin.
...
(cherry picked from commit 6d2da38d16cebe9b82f1048f87127eecee33664c)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
(cherry picked from commit 6f4192d77d0551b2ca847c8c1ee5b1c4a3380c36)
2016-10-20 12:41:00 -07:00