6988 Commits

Author SHA1 Message Date
Yiqun Lin
0a216c3285 HDFS-13410. RBF: Support federation with no subclusters. Contributed by Inigo Goiri.
(cherry picked from commit a92200f4a6cec57b7080d1cd6e2a20d79d772dd6)
2018-04-10 14:34:25 +08:00
Inigo Goiri
877f963a05 HDFS-13388. RequestHedgingProxyProvider calls multiple configured NNs all the time. Contributed by Jinglun.
(cherry picked from commit ac32b3576da4cc463dff85118163ccfff02215fc)
2018-04-09 09:18:03 -07:00
Yiqun Lin
c3d8eda9bd HDFS-13402. RBF: Fix java doc for StateStoreFileSystemImpl. Contributed by Yiran Wu.
(cherry picked from commit 5700556cd65a558f4393e05acb7ea8db3ccd2f36)
2018-04-08 12:05:32 +08:00
Manoj Govindassamy
218a21a0f0 HADOOP-13055. Implement linkMergeSlash and linkFallback for ViewFileSystem
(cherry picked from commit 133d7ca76e3d4b60292d57429d4259e80bec650a)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ViewFs.md
2018-04-06 15:19:01 -07:00
Arpit Agarwal
492a597942 HDFS-11968. ViewFS: StoragePolicies commands fail with HDFS federation. Contributed by Mukul Kumar Singh.
(cherry picked from commit b91305119b434d23b99ae7e755aea6639f48b6ab)
2018-04-06 15:19:01 -07:00
Wei Yan
9638c3fe67 HDFS-13353. RBF: TestRouterWebHDFSContractCreate failed. Contributed by Takanobu Asanuma.
(cherry picked from commit 3121e8c29361cb560df29188e1cd1061a5fc34c4)
2018-04-05 13:19:05 -07:00
Lei Xu
9fe337096d HDFS-13350. Negative legacy block ID will confuse Erasure Coding to be considered as striped block. (Contributed by Lei (Eddy) Xu).
(cherry picked from commit 1cbf23df145af01692b8aaa438642b64e330cd05)
2018-04-05 09:54:15 -07:00
Yiqun Lin
f2d89d7bf9 HDFS-13364. Addendum to fix branch-3.0 compilation. 2018-04-05 09:52:50 +08:00
Yiqun Lin
794ecb0284 HDFS-13364. RBF: Support NamenodeProtocol in the Router. Contributed by Inigo Goiri.
(cherry picked from commit 2be64eb201134502a92f7239bef8aa780771ca0b)
2018-04-03 15:26:02 +08:00
Xiao Chen
ce37f586f5 HADOOP-15317. Improve NetworkTopology chooseRandom's loop.
(cherry picked from commit 57374c4737ab0fccf52dae3cea911fc6bd90e1b7)
2018-04-02 22:49:03 -07:00
Inigo Goiri
8266696aa3 HDFS-13289. RBF: TestConnectionManager#testCleanup() test case need correction. Contributed by Dibyendu Karmakar.
(cherry picked from commit dc8e3432013153ac11d31d6b462aa96f8ca2c443)
2018-03-31 09:47:06 -07:00
Konstantin V Shvachko
4ba5efa96f HADOOP-15253. Should update maxQueueSize when refresh call queue. Contributed by Tao Jie.
(cherry picked from commit acfd764fcc9990e507c0e7cea746652375aaa632)
2018-03-30 19:05:01 -07:00
Yiqun Lin
7483acf484
HDFS-13349. Unresolved merge conflict in ViewFs.md
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2018-03-30 23:28:59 +09:00
Xiao Chen
cd74a281a7 HDFS-13087. Snapshotted encryption zone information should be immutable. Contributed by LiXin Ge.
(cherry picked from commit 2c6cfad5a31ca4d9126ecd2b3c43cca8543aacb4)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirEncryptionZoneOp.java
2018-03-29 16:07:09 -07:00
Arpit Agarwal
198f2bc35e HDFS-13314. NameNode should optionally exit if it detects FsImage corruption. Contributed by Arpit Agarwal. 2018-03-28 12:49:09 -07:00
Yiqun Lin
c903efeb51 HDFS-13347. RBF: Cache datanode reports. Contributed by Inigo Goiri.
(cherry picked from commit a71656c1c1bf6c680f1382a76ddcac870061f320)
2018-03-28 11:05:58 +08:00
Inigo Goiri
7cc06217de HDFS-13352. RBF: Add xsl stylesheet for hdfs-rbf-default.xml. Contributed by Takanobu Asanuma.
(cherry picked from commit 4cef01147f98451de8acaa90f42a4d4cd4d0af45)
2018-03-27 10:32:56 -07:00
Inigo Goiri
b8e82a4f66 HDFS-13204. RBF: Optimize name service safe mode icon. Contributed by liuhongtong.
(cherry picked from commit 947b2829844f2b4ce42f72b7e3ee27d7c4a27df2)
2018-03-26 09:43:59 -07:00
Yiqun Lin
fdcd139c55 HDFS-13291. RBF: Implement available space based OrderResolver. Contributed by Yiqun Lin.
(cherry picked from commit cfc3a1c8f06fba4f4bd5ffe8bb2a6944d066948e)
2018-03-26 18:37:40 +08:00
Lei Xu
beb98bb419 Update 3.0.1 jdiff file and jdiff stable api version 2018-03-23 11:51:40 -07:00
Wei Yan
f4d6fee96b HDFS-12512. RBF: Add WebHDFS.
(cherry picked from commit 6e31a090842f8aeedb331b653b075499f8df6c60)
2018-03-23 08:55:26 -07:00
Arpit Agarwal
26b08e002f
HDFS-12781. After Datanode down, In Namenode UI Datanode tab is throwing warning message.. Contributed by Brahma Reddy Battula.
(cherry picked from commit 46c93453e9eb66f91b677777e011abc96113f9b0)
2018-03-23 18:12:48 +09:00
Inigo Goiri
50b6dc9f3e HDFS-12792. RBF: Test Router-based federation using HDFSContract. Contributed by Inigo Goiri.
(cherry picked from commit e196d158a275bfdcfaf372e0f5bcbbc8bbe24106)
2018-03-22 13:35:24 -07:00
Kihwal Lee
7212c98ba5 HDFS-13195. DataNode conf page cannot display the current value after reconfig. Contributed by maobaolong.
(cherry picked from commit 66461ed98b0b2f630b682bff927dbd74c251c26e)
2018-03-22 12:29:21 -05:00
Inigo Goiri
471f758673 HDFS-13318. RBF: Fix FindBugs in hadoop-hdfs-rbf. Contributed by Ekanth S.
(cherry picked from commit 3d0ee8b80438bfbdf7e5af853b9044a63bd1352c)
2018-03-22 09:22:46 -07:00
Konstantin V Shvachko
987d90aa4c HDFS-12884. BlockUnderConstructionFeature.truncateBlock should be of type BlockInfo. Contributed by chencan.
(cherry picked from commit 8d898ab25f1c2032a07c9bbd96ba3d0c4eb5be87)
2018-03-21 17:17:41 -07:00
Yiqun Lin
e65db99799 HDFS-13250. RBF: Router to manage requests across multiple subclusters. Contributed by Inigo Goiri.
(cherry picked from commit 2caba999bbb9d6e3ec56024a0a9d3d56a229edcf)
2018-03-21 11:41:14 +08:00
weiy
62a819d5ee HDFS-13215. RBF: Move Router to its own module. 2018-03-19 23:15:53 -07:00
Inigo Goiri
c6b1125a24 HDFS-12886. Ignore minReplication for block recovery. Contributed by Lukas Majercak.
(cherry picked from commit 08ff1586d5d3e39f546200f9e696f62ea4cf000d)
2018-03-16 10:30:34 -07:00
Inigo Goiri
ba9a656ffa HDFS-13224. RBF: Resolvers to support mount points across multiple subclusters. Contributed by Inigo Goiri.
(cherry picked from commit e71bc00a471422ddb26dd54e706f09f0fe09925c)
2018-03-15 10:35:20 -07:00
Inigo Goiri
6b8a60b62a HDFS-12723. TestReadStripedFileWithMissingBlocks#testReadFileWithMissingBlocks failing consistently. Contributed by Ajay Kumar.
(cherry picked from commit 6de135169eaaba9a4707d2bef380793ef91478d7)
2018-03-15 10:15:46 -07:00
Inigo Goiri
cfa7cc2aa4 HDFS-13198. RBF: RouterHeartbeatService throws out CachedStateStore related exceptions when starting router. Contributed by Wei Yan.
(cherry picked from commit 41fc7f80beb32f4a1fac73faf7c9116ad5ee3420)
2018-03-14 13:15:51 -07:00
Sammi Chen
e97234f274 HDFS-11600. Refactor TestDFSStripedOutputStreamWithFailure test classes. Contributed by Sammi Chen.
(cherry picked from commit ad1b988a828608b12cafb6382436cd17f95bfcc5)
2018-03-14 14:51:51 +08:00
Yiqun Lin
a105069729 HDFS-12773. RBF: Improve State Store FS implementation. Contributed by Inigo Goiri.
(cherry picked from commit 76be6cbf6c33f866794f27ca2560ca7c7b2fa0e7)
2018-03-14 11:31:35 +08:00
Xiao Chen
fc6f3e2a6f HDFS-12505. Extend TestFileStatusWithECPolicy with a random EC policy. Contributed by Takanobu Asanuma.
(cherry picked from commit 8211a3d4693fea46cff11c5883c16a9b4df7b4de)
2018-03-13 11:18:22 -07:00
Xiao Chen
f23ef858ff Revert "HDFS-12505. Extend TestFileStatusWithECPolicy with a random EC policy. Contributed by Takanobu Asanuma."
This reverts commit 752e116f413214cfe8d9feae6caef4c5b21db2da.
2018-03-13 10:39:50 -07:00
Xiao Chen
c0aa249a1d HDFS-12587. Use Parameterized tests in TestBlockInfoStriped and TestLowRedundancyBlockQueues to test all EC policies. Contributed by Takanobu Asanuma.
(cherry picked from commit 3b8dbc2cb766ba9fc1d655c891d32f5b4e4aa9c8)
2018-03-13 10:14:39 -07:00
Xiao Chen
8f4bfb3ed5 HDFS-13239. Fix non-empty dir warning message when setting default EC policy. Contributed by Bharat Viswanadham.
(cherry picked from commit d6931c30c5a643ca192109b05a9c44da42a6318c)
2018-03-13 10:08:09 -07:00
Xiao Chen
752e116f41 HDFS-12505. Extend TestFileStatusWithECPolicy with a random EC policy. Contributed by Takanobu Asanuma.
(cherry picked from commit 84c10955863eca1e300aeeac1d9cd7a1186144b6)
2018-03-13 09:58:50 -07:00
Xiaoyu Yao
2a93ba690c HDFS-12455. WebHDFS - Adding "snapshot enabled" status to ListStatus query result. Contributed by Ajay Kumar.
(cherry picked from commit 107c177782a24a16c66113841f2fc5144f56207b)
2018-03-12 20:23:52 -07:00
Yiqun Lin
840c83bf7a HDFS-13226. RBF: Throw the exception if mount table entry validated failed. Contributed by maobaolong. 2018-03-13 11:13:15 +08:00
Chris Douglas
a03c8ea61f HADOOP-14696. parallel tests don't work for Windows. Contributed by Allen Wittenauer
(cherry picked from commit 45d1b0fdcc04a86be91a9b72073cdc30bec04d3b)
(cherry picked from commit 09940b1eb3b7ed764149f4a993c1857e9c6ad938)
2018-03-12 20:06:22 -07:00
Yiqun Lin
430cdfefc0 HDFS-13253. RBF: Quota management incorrect parent-child relationship judgement. Contributed by Yiqun Lin. 2018-03-13 10:41:44 +08:00
Akira Ajisaka
89105a623b
HDFS-12156. TestFSImage fails without -Pnative
(cherry picked from commit 319defafc105c0d0b69b83828b578d9c453036f5)
2018-03-13 11:27:46 +09:00
Inigo Goiri
177dd6580d HDFS-13241. RBF: TestRouterSafemode failed if the port 8888 is in use. Contributed by maobaolong.
(cherry picked from commit 91c82c90f05ea75fe59c6ffad3dc3fcac1429e9e)
2018-03-12 17:30:00 -07:00
Chris Douglas
2210593dad HADOOP-14742. Document multi-URI replication Inode for ViewFS. Contributed by Gera Shegalov
(cherry picked from commit ddb67ca707de896cd0ba5cda3c0d1a2d9edca968)
(cherry picked from commit c9364b3bce30946a6c0154974d0adc6accb3bea3)
2018-03-12 13:55:10 -07:00
Inigo Goiri
29cf29a853 HDFS-11399. Many tests fails in Windows due to injecting disk failures. Contributed by Yiqun Lin.
(cherry picked from commit ac627f561f0946e98a650850fb507536cbd2f2c4)
2018-03-12 10:05:43 -07:00
Yiqun Lin
2e607f2103 HDFS-13240. RBF: Update some inaccurate document descriptions. Contributed by Yiqun Lin.
(cherry picked from commit 4743d4a2c70a213a41804a24c776e6db00e1b90d)
2018-03-10 11:32:12 +08:00
Inigo Goiri
465c3f0e24 HDFS-13232. RBF: ConnectionPool should return first usable connection. Contributed by Ekanth S.
(cherry picked from commit 8133cd5305d7913453abb2d48da12f672c0ce334)
2018-03-09 18:27:17 -08:00
Inigo Goiri
c453fcb23f HDFS-13212. RBF: Fix router location cache issue. Contributed by Weiwei Wu.
(cherry picked from commit afe1a3ccd56a12fec900360a8a2855c080728e65)
2018-03-09 17:20:29 -08:00