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
Steve Loughran
2b575a90f3
Revert "HADOOP-13236. truncate will fail when we use viewfilesystem. Contributed by Brahma Reddy Battula"
...
This reverts commit b63dd7b63befc503a02289c1eabd0bd0da48e223.
2016-10-20 19:43:16 +01:00
Brahma Reddy Battula
b63dd7b63b
HADOOP-13236. truncate will fail when we use viewfilesystem. Contributed by Brahma Reddy Battula
...
(cherry picked from commit f872c6bc0390415f13e95b99749b0b1a690991b7)
2016-10-20 21:49:21 +05:30
Kihwal Lee
f57d81955e
HDFS-10627. Volume Scanner marks a block as "suspect" even if the exception is network-related. Contributed by Rushabh S Shah.
...
(cherry picked from commit 5c0bffddc0cb824a8a2751bcd0dc3e15ce081727)
2016-10-20 11:02:57 -05:00
Brahma Reddy Battula
d2fde9c8b0
HDFS-9480. Expose nonDfsUsed via StorageTypeStats. Contributed by Brahma Reddy Battula
...
(cherry picked from commit 4c73be135ca6ee2ba0b075a507097900db206b09)
2016-10-20 20:51:41 +05:30
Brahma Reddy Battula
f5b080e152
HDFS-11025. TestDiskspaceQuotaUpdate fails in trunk due to Bind exception. Contributed by Yiqun Lin
...
(cherry picked from commit 73504b1bdc4b93c64741de5eb9d022817fdfa22f)
2016-10-20 10:47:16 +05:30
Arpit Agarwal
e9592f14d5
HDFS-10752. Several log refactoring/improvement suggestion in HDFS. Contributed by Hanisha Koneru.
2016-10-19 17:22:23 -07:00
Xiao Chen
d22a6a8b82
HDFS-11009. Add a tool to reconstruct block meta file from CLI.
...
(cherry picked from commit bc4a32aea50e86819730312e89315c0244ce64bf)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetUtil.java
(cherry picked from commit ad7d3c4db8bfab007cc2ec1bad3c388fd7144369)
2016-10-18 22:42:09 -07:00
Xiaoyu Yao
190a53b898
HDFS-10906. Add unit tests for Trash with HDFS encryption zones. Contributed by Hanisha Koneru.
...
(cherry picked from commit 0c79d5af74944363f3d04f7e1702411db564bbfd)
2016-10-18 14:09:03 -07:00
Kai Zheng
d26e11f30e
HDFS-10920. TestStorageMover#testNoSpaceDisk is failing intermittently. Contributed by Rakesh R
2016-10-18 15:09:25 +06:00
Vinitha Reddy Gankidi
ae972dd080
HDFS-10712. TestDataNodeVolumeFailure should pass not null BlockReportContext. Contributed by Vinitha Gankidi.
...
(cherry picked from commit 278eeb105611444bee0261ce7a0e6ea983a5c615)
2016-10-17 19:02:29 -07:00
Xiaoyu Yao
f8b2d77207
HDFS-10922. Adding additional unit tests for Trash (II). Contributed by Weiwei Yang.
...
(cherry picked from commit f1802d0be05ecc0b3248690b6f9efedbc7784112)
2016-10-17 14:04:58 -07:00
Brahma Reddy Battula
1c473898aa
HDFS-11003. Expose XmitsInProgress through DataNodeMXBean. Contributed By Brahma Reddy Battula
...
(cherry picked from commit 5f4ae85bd8a20510948696467873498723b06477)
2016-10-15 22:40:57 +05:30
Vinitha Reddy Gankidi
2304501bcf
HDFS-10301. Remove FBR tracking state to fix false zombie storage detection for interleaving block reports. Contributed by Vinitha Gankidi.
...
(cherry picked from commit 391ce535a739dc92cb90017d759217265a4fd969)
2016-10-14 18:52:00 -07:00
Lei Xu
b9fdbd7107
HDFS-10960. TestDataNodeHotSwapVolumes#testRemoveVolumeBeingWritten fails at disk error verification after volume remove. (Manoj Govindassamy via lei)
...
(cherry picked from commit 78cb79fa915ad0ca26d649ad88fdb44b310a99d8)
2016-10-14 15:01:37 -07:00
Mingliang Liu
15b1d522ee
HDFS-11008. Change unit test for testing parsing "-source" parameter in Balancer CLI. Contributed by Mingliang Liu
...
(cherry picked from commit 76cc84e6d41c2b02218c2c98d60481cd565e067c)
2016-10-14 14:44:34 -07:00
Kihwal Lee
8d1fbf786b
Revert "HDFS-10960. TestDataNodeHotSwapVolumes#testRemoveVolumeBeingWritten fails at disk error verification after volume remove. (Manoj Govindassamy via lei)"
...
This reverts commit f981dd1bca1006f34f55361ba0d72e5d0a621753.
2016-10-14 16:37:51 -05:00
Lei Xu
f981dd1bca
HDFS-10960. TestDataNodeHotSwapVolumes#testRemoveVolumeBeingWritten fails at disk error verification after volume remove. (Manoj Govindassamy via lei)
...
(cherry picked from commit 8c520a27cbd9daba05367d3a83017a2eab5258eb)
2016-10-14 13:44:18 -07:00
Andrew Wang
f13b84b4eb
HDFS-10883. 's behavior is not consistent in DFS after enabling EZ. Contributed by Yuanbo Liu.
...
(cherry picked from commit 0007360c3344b3485fa17de0fd2015a628de947c)
2016-10-14 11:41:42 -07:00
Kihwal Lee
8c71fc1221
HDFS-10990. TestPendingInvalidateBlock should wait for IBRs. Contributed by Yiqun Lin.
...
(cherry picked from commit 8a9f6635a33e9648e9396e9ec5571fa34aa0c773)
2016-10-14 11:44:25 -05:00
Brahma Reddy Battula
0884c31aec
HDFS-10986. DFSAdmin should log detailed error message if any. Contributed by MingLiang Liu
2016-10-14 10:28:13 +05:30
Andrew Wang
3892fd810b
Revert "HDFS-10990. TestPendingInvalidateBlock should wait for IBRs. Contributed by Yiqun Lin."
...
This reverts commit 7a5aaa789d9160ac55f022aae64a0b437ddccf06.
2016-10-13 13:23:01 -07:00