6819 Commits

Author SHA1 Message Date
Inigo Goiri
af9bc982ce HDFS-13509. Bug fix for breakHardlinks() of ReplicaInfo/LocalReplica, and fix TestFileAppend failures on Windows. Contributed by Xiao Liang.
(cherry picked from commit eb7fe1d588de903be2ff6e20384c25c184881532)
2018-04-28 09:06:58 -07:00
Inigo Goiri
d83254312b HDFS-13508. RBF: Normalize paths (automatically) when adding, updating, removing or listing mount table entries. Contributed by Ekanth S.
(cherry picked from commit 484440602c5b69fbd8106010603c61ae051056dd)
2018-04-27 16:29:23 -07:00
Inigo Goiri
71e52c936d HDFS-13434. RBF: Fix dead links in RBF document. Contributed by Chetna Chaudhari.
(cherry picked from commit f469628bba350ba79bc6a0d38f9dc1cb5eb65c77)
2018-04-27 15:16:03 -07:00
Yiqun Lin
1c65529dc3 HDFS-13499. RBF: Show disabled name services in the UI. Contributed by Inigo Goiri.
(cherry picked from commit 0a293de00d5f123c7c8248459aa8ae88a45f39b1)
2018-04-27 10:40:13 +08:00
Inigo Goiri
a71d184f4f HDFS-13326. RBF: Improve the interfaces to modify and view mount tables. Contributed by Gang Li.
(cherry picked from commit c394051a3d4d9d531f418503cb519606ae2b2e69)
2018-04-26 13:13:02 -07:00
Yiqun Lin
caffd538af HDFS-13484. RBF: Disable Nameservices from the federation. Contributed by Inigo Goiri.
(cherry picked from commit 30fef0bf1e5c8c0ca073df99ad9b33cb0e4431a5)
2018-04-25 15:39:16 +08:00
Yiqun Lin
14cfcf6b71 HDFS-13490. RBF: Fix setSafeMode in the Router. Contributed by Inigo Goiri.
(cherry picked from commit b06601acce38ed60b726b99e2830f38a1ee3d2b5)
2018-04-24 11:28:06 +08:00
Inigo Goiri
7bb2709c4a HDFS-13336. Test cases of TestWriteToReplica failed in windows. Contributed by Xiao Liang.
(cherry picked from commit df92a17e02fe86279a6f4e413719d0a465b50837)
2018-04-23 19:13:25 -07:00
Lei Xu
463fcfb50a Update CHANGES, RELEASENOTES, and jdiff for 3.0.2 release.
(cherry picked from commit f6ecb76d0b919b9836600fe28ec9e637b223cd54)

Conflicts:
	hadoop-project-dist/pom.xml
2018-04-23 14:17:29 -07:00
Chris Douglas
956ab12ede HDFS-13408. MiniDFSCluster to support being built on randomized base directory. Contributed by Xiao Liang
(cherry picked from commit f411de6a79a0a87f03c09366cfe7a7d0726ed932)
(cherry picked from commit cf272c5179a9cb4b524016c0fca7c69c9eaa92f1)
2018-04-23 11:15:15 -07:00
Arpit Agarwal
e8f62357c0 HDFS-13433. webhdfs requests can be routed incorrectly in federated cluster. Contributed by Arpit Agarwal. 2018-04-23 10:09:16 -07:00
Yiqun Lin
45b11fe359 HDFS-13478. RBF: Disabled Nameservice store API. Contributed by Inigo Goiri.
(cherry picked from commit b6dae26f4490bbd03360b8df19ef00cf843430f3)
2018-04-21 14:43:49 +08:00
Sangjin Lee
6becb3de0b
HDFS-10183. Prevent race condition during class initialization. Contributed by Pavel Avgustinov.
(cherry picked from commit f40969a141ec6aff254c41e4185cc61ea9e4e554)
2018-04-20 21:10:39 -07:00
Inigo Goiri
f8330d969d HDFS-13453. RBF: getMountPointDates should fetch latest subdir time/date when parent dir is not present but /parent/child dirs are present in mount table. Contributed by Dibyendu Karmakar.
(cherry picked from commit 1134af9ad1daf683204df8f95a8f03d7baaa74d4)
2018-04-19 14:57:33 -07:00
Xiao Chen
9f19c3b03e HDFS-13430. Fix TestEncryptionZonesWithKMS failure due to HADOOP-14445.
(cherry picked from commit 650359371175fba416331e73aa03d2a96ccb90e5)
2018-04-18 22:35:30 -05:00
Shashikant Banerjee
2c4b1c2b15
HADOOP-15396. Some java source files are executable
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit e4c39f3247da77d03c6015de4f18be75924fcb22)
2018-04-19 08:36:59 +09:00
Erik Krogen
1f8fd96eaf
HDFS-12828. OIV ReverseXML Processor fails with escaped characters
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 2d9e791a9073de9f65fef5407efd3a42894bc97f)
2018-04-18 14:40:24 +09:00
Wei Yan
0124c7ffd6 HDFS-13466. RBF: Add more router-related information to the UI.
(cherry picked from commit e4313e7e4725261b652dd7202048ff2373b05e28)
2018-04-17 15:04:05 -07:00
Inigo Goiri
282bbd56e8 HDFS-13462. Add BIND_HOST configuration for JournalNode's HTTP and RPC Servers. Contributed by Lukas Majercak.
(cherry picked from commit c9b33514b8d11db44b5f95b4df43789ed45c47a7)
2018-04-17 14:29:20 -07:00
Yiqun Lin
24bdad925e HDFS-13435. RBF: Improve the error loggings for printing the stack trace.
(cherry picked from commit c4d3636c21acaeb2b7d56d19cd4996aa25151bd1)
2018-04-17 11:26:13 +08:00
Wei-Chiu Chuang
dc01e323ed HDFS-13330. ShortCircuitCache#fetchOrCreate never retries. Contributed by Gabor Bota.
(cherry picked from commit e66e287efe2b43e710137a628f03c7df3ebdf498)
(cherry picked from commit ca8bb322be5e21ce00bb49cecfc4f515b49d2a37)
2018-04-13 12:20:01 -07:00
Akira Ajisaka
64105868e9
HDFS-13436. Fix javadoc of package-info.java
(cherry picked from commit 9b0b9f2af2f6827d7430f995d3203c4cb7ef7e48)
2018-04-13 13:25:19 +09:00
Lei Xu
3717df89ee Preparing for 3.0.3 development 2018-04-12 13:57:46 -07:00
Akira Ajisaka
94daa4f3b3
HDFS-13427. Fix the section titles of transparent encryption document.
(cherry picked from commit c7cd362afd21add324c3a82c594b133d41cf8d03)
2018-04-12 10:46:40 +09:00
Inigo Goiri
5fe2b97dd0 HDFS-13386. RBF: Wrong date information in list file(-ls) result. Contributed by Dibyendu Karmakar.
(cherry picked from commit 18de6f2042b70f9f0d7a2620c60de022768a7b13)
2018-04-11 12:03:57 -07:00
Inigo Goiri
670abc4121 HDFS-13428. RBF: Remove LinkedList From StateStoreFileImpl.java. Contributed by BELUGA BEHR.
(cherry picked from commit 6a881cd842fb4eab596a386b39670ea03536891a)
2018-04-11 10:41:40 -07:00
Wei Yan
8433f6256c HDFS-13045. RBF: Improve error message returned from subcluster. Contributed by Inigo Goiri. 2018-04-11 08:51:47 -07:00
Rakesh Radhakrishnan
afbdd8fdcf HDFS-13328. Abstract ReencryptionHandler recursive logic in separate class. Contributed by Surendra Singh Lilhore.
(cherry picked from commit f89594f0b80e8efffdcb887daa4a18a2b0a228b3)
2018-04-10 23:43:28 +05:30
Inigo Goiri
fe7a70e586 Revert "HDFS-13388. RequestHedgingProxyProvider calls multiple configured NNs all the time. Contributed by Jinglun."
This reverts commit 877f963a059d21e942b0b5cbff5f60ce23c5b5fe.
2018-04-10 10:08:34 -07:00
Weiwei Yang
1a0ce93696 HDFS-13420. License header is displayed in ArchivalStorage/MemoryStorage html pages. Contributed by Akira Ajisaka.
(cherry picked from commit 6729047a8ba273d27edcc6a1a9d397a096f44d84)
2018-04-10 22:16:25 +08:00
Yiqun Lin
d4e438ff63 HDFS-13384. RBF: Improve timeout RPC call mechanism. Contributed by Inigo Goiri.
(cherry picked from commit e87be8a2a49573897e40bfdf43541e3635e35c98)
2018-04-10 15:38:18 +08:00
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