Uma Maheswara Rao G
4fe491d10e
HDFS-15478: When Empty mount points, we are assigning fallback link to self. But it should not use full URI for target fs. ( #2160 ). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ac9a07b51aefd0fd3b4602adc844ab0f172835e3)
2020-07-31 01:31:37 -07:00
Uma Maheswara Rao G
ae8261c671
HDFS-15464: ViewFsOverloadScheme should work when -fs option pointing to remote cluster without mount links ( #2132 ). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 3e700066394fb9f516e23537d8abb4661409cae1)
2020-07-31 01:31:15 -07:00
Uma Maheswara Rao G
10f8010519
HDFS-15449. Optionally ignore port number in mount-table name when picking from initialized uri. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit dc0626b5f2f2ba0bd3919650ea231cedd424f77a)
2020-07-31 01:30:54 -07:00
Uma Maheswara Rao G
aea1a8e2bd
HDFS-15450. Fix NN trash emptier to work if ViewFSOveroadScheme enabled. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 55a2ae80dc9b45413febd33840b8a653e3e29440)
2020-07-31 01:30:30 -07:00
Uma Maheswara Rao G
35fe6fd54f
HDFS-15430. create should work when parent dir is internalDir and fallback configured. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 1f2a80b5e5024aeb7fb1f8c31b8fdd0fdb88bb66)
2020-07-31 01:29:46 -07:00
Yuan
e1ac16a318
HDFS-14950. fix missing libhdfspp lib in dist-package ( #1947 )
...
libhdfspp.{a,so} are missed in dist-package.
This patch fixed this by copying these libs to the right directory
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
(cherry picked from commit e756fe3590906bfd8ffe4ab5cc8b9b24a9b2b4b2)
2020-07-31 16:51:05 +09:00
Ayush Saxena
e3b8d4eb05
HADOOP-17100. Replace Guava Supplier with Java8+ Supplier in Hadoop. Contributed by Ahmed Hussein.
2020-07-22 18:21:14 +05:30
Chen Liang
c8c40be761
HDFS-15404. ShellCommandFencer should expose info about source. Contributed by Chen Liang.
...
(cherry picked from commit 3833c616e087518196bcb77ac2479c66a0b188d8)
2020-07-20 15:22:34 -07:00
Ahmed Hussein
9e7266df6c
HADOOP-17099. Replace Guava Predicate with Java8+ Predicate
...
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit 1f71c4ae71427a8a7476eaef64187a5643596552)
2020-07-15 11:40:13 -05:00
Ahmed Hussein
5969922305
HADOOP-17101. Replace Guava Function with Java8+ Function
...
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit 98fcffe93f9ef910654574f69591fcdc621523af)
2020-07-15 09:57:36 -05:00
Shashikant Banerjee
292e22578a
HDFS-15313. Ensure inodes in active filesytem are not deleted during snapshot delete. Contributed by Shashikant Banerjee.
...
(cherry picked from commit 82343790eebc3ebe7ef81f6b89260e5bbf121d83)
2020-07-15 13:13:27 +01:00
Steve Loughran
a51d72f0c6
HDFS-13934. Multipart uploaders to be created through FileSystem/FileContext.
...
Contributed by Steve Loughran.
Change-Id: Iebd34140c1a0aa71f44a3f4d0fee85f6bdf123a3
2020-07-13 13:32:04 +01:00
He Xiaoqiao
e7e7a6d503
HDFS-14498 LeaseManager can loop forever on the file for which create has failed. Contributed by Stephen O'Donnell.
2020-07-13 14:31:50 +08:00
Uma Maheswara Rao G
f85ce2570e
HDFS-15394. Add all available fs.viewfs.overload.scheme.target.<scheme>.impl classes in core-default.xml bydefault. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 3ca15292c5584ec220b3eeaf76da85d228bcbd8b)
2020-07-09 16:26:04 -07:00
Shanyu Zhao
10c9df1d0a
HDFS-15451. Do not discard non-initial block report for provided storage. ( #2119 ). Contributed by Shanyu Zhao.
...
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2020-07-07 11:44:42 +08:00
Ayush Saxena
b8d9218189
HDFS-15446. CreateSnapshotOp fails during edit log loading for /.reserved/raw/path with error java.io.FileNotFoundException: Directory does not exist: /.reserved/raw/path. Contributed by Stephen O'Donnell.
2020-07-04 12:25:29 +05:30
Akira Ajisaka
3e9422d1c7
HDFS-15421. IBR leak causes standby NN to be stuck in safe mode.
...
(cherry picked from commit c71ce7ac3370e220995bad0ae8b59d962c8d30a7)
2020-06-28 16:04:47 +09:00
Virajith Jalaparti
ea97fe250c
HDFS-15436. Default mount table name used by ViewFileSystem should be configurable ( #2100 )
...
* HDFS-15436. Default mount table name used by ViewFileSystem should be configurable
* Replace Constants.CONFIG_VIEWFS_DEFAULT_MOUNT_TABLE use in tests
* Address Uma's comments on PR#2100
* Sort lists in test to match without concern to order
* Address comments, fix checkstyle and fix failing tests
* Fix checkstyle
(cherry picked from commit bed0a3a37404e9defda13a5bffe5609e72466e46)
2020-06-27 16:22:50 -07:00
Uma Maheswara Rao G
81e33d22a0
HDFS-15429. mkdirs should work when parent dir is an internalDir and fallback configured. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit d5e1bb6155496cf9d82e121dd1b65d0072312197)
2020-06-27 15:42:36 -07:00
Uma Maheswara Rao G
29a8ee4be6
HDFS-15427. Merged ListStatus with Fallback target filesystem and InternalDirViewFS. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 7c02d1889bbeabc73c95a4c83f0cd204365ff410)
2020-06-27 15:42:14 -07:00
Uma Maheswara Rao G
5f67c3f3ca
HDFS-15418. ViewFileSystemOverloadScheme should represent mount links as non symlinks. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit b27810aa6015253866ccc0ccc7247ad7024c0730)
2020-06-27 15:41:48 -07:00
Uma Maheswara Rao G
3cddd0be29
HADOOP-17060. Clarify listStatus and getFileStatus behaviors inconsistent in the case of ViewFs implementation for isDirectory. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 93b121a9717bb4ef5240fda877ebb5275f6446b4)
2020-06-27 15:39:38 -07:00
Stephen O'Donnell
7613191fcd
HDFS-15372. Files in snapshots no longer see attribute provider permissions. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 630ac9e7e5fdbc3ce86476cf0167255ab9b0470a)
2020-06-18 06:45:28 -07:00
Wei-Chiu Chuang
10880dc396
Revert "HDFS-15372. Files in snapshots no longer see attribute provider permissions. Contributed by Stephen O'Donnell."
...
This reverts commit 0b9e5ea592b66e1b370feaae9677a7b99fdbd03c.
2020-06-18 06:45:28 -07:00
S O'Donnell
3dc9db3aed
HDFS-15406. Improve the speed of Datanode Block Scan. Contributed by hemanthboyina
...
(cherry picked from commit 123777823edc98553fcef61f1913ab6e4cd5aa9a)
2020-06-18 12:29:12 +01:00
Uma Maheswara Rao G
120ee793fc
HDFS-15387. FSUsage#DF should consider ViewFSOverloadScheme in processPath. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 785b1def959fab6b8b7ffff66410bcd240feee13)
2020-06-16 20:02:44 -07:00
Ayush Saxena
bee2846bee
HDFS-15389. DFSAdmin should close filesystem and dfsadmin -setBalancerBandwidth should work with ViewFSOverloadScheme. Contributed by Ayush Saxena
...
(cherry picked from commit cc671b16f7b0b7c1ed7b41b96171653dc43cf670)
2020-06-16 16:54:40 -07:00
Uma Maheswara Rao G
418580446b
HDFS-15330. Document the ViewFSOverloadScheme details in ViewFS guide. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 76fa0222f0d2e2d92b4a1eedba8b3e38002e8c23)
2020-06-16 16:54:01 -07:00
Uma Maheswara Rao G
0b5e202614
HDFS-15321. Make DFSAdmin tool to work with ViewFileSystemOverloadScheme. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ed83c865dd0b4e92f3f89f79543acc23792bb69c)
2020-06-16 16:53:38 -07:00
Uma Maheswara Rao G
8e71e85af7
HDFS-15322. Make NflyFS to work when ViewFsOverloadScheme's scheme and target uris schemes are same. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 4734c77b4b64b7c6432da4cc32881aba85f94ea1)
2020-06-16 16:53:10 -07:00
Abhishek Das
5b248de42d
HADOOP-17024. ListStatus on ViewFS root (ls "/") should list the linkFallBack root (configured target root). Contributed by Abhishek Das.
...
(cherry picked from commit ce4ec7445345eb94c6741d416814a4eac319f0a6)
2020-06-16 16:52:29 -07:00
Uma Maheswara Rao G
544996c857
HDFS-15306. Make mount-table to read from central place ( Let's say from HDFS). Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ac4a2e11d98827c7926a34cda27aa7bcfd3f36c1)
2020-06-16 16:50:57 -07:00
Stephen O'Donnell
0b9e5ea592
HDFS-15372. Files in snapshots no longer see attribute provider permissions. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 730a39d1388548f22f76132a6734d61c24c3eb72)
2020-06-16 16:02:07 -07:00
Eric Yang
d73cdb1c86
SPNEGO TLS verification
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 81d8a887b0406380e469c76ed2e41022a6372dd7)
2020-06-15 11:12:08 +09:00
Takanobu Asanuma
3b8418250f
HDFS-15403. NPE in FileIoProvider#transferToSocketFully. Contributed by hemanthboyina.
...
(cherry picked from commit f41a144077fc0e2d32072e0d088c1abd1897cee5)
2020-06-15 09:17:40 +09:00
Vinayakumar B
534b15caf9
HADOOP-17046. Support downstreams' existing Hadoop-rpc implementations using non-shaded protobuf classes ( #2026 )
2020-06-12 23:20:10 +05:30
Ayush Saxena
043628dcf1
HDFS-15398. EC: hdfs client hangs due to exception during addBlock. Contributed by Hongbing Wang.
2020-06-10 12:09:34 +05:30
Ayush Saxena
2d4faa39e8
HDFS-15211. EC: File write hangs during close in case of Exception during updatePipeline. Contributed by Ayush Saxena.
...
*Added missed test file.
2020-06-09 18:47:24 +05:30
Toshihiro Suzuki
ec8f3714e0
HDFS-15386. ReplicaNotFoundException keeps happening in DN after removing multiple DN's data directories ( #2052 )
...
Contributed by Toshihiro Suzuki.
(cherry picked from commit 545a0a147c5256c44911ba57b4898e01d786d836)
2020-06-05 11:17:13 +01:00
Wanqiang Ji
9b84a637b7
HADOOP-17055. Remove residual code of Ozone ( #2039 )
...
(cherry picked from commit d9838f2d42eaadd0769167847af4e8f2963817fb)
2020-05-29 16:50:10 +09:00
Ayush Saxena
6b7040a1cb
HDFS-13183. Addendum: Standby NameNode process getBlocks request to reduce Active load. Contributed by Xiaoqiao He.
2020-05-28 13:04:22 +05:30
Ayush Saxena
718c8a5868
HDFS-15369. Refactor method VolumeScanner#runLoop(). Contributed by Yang Yun.
2020-05-24 18:06:19 +05:30
Takanobu Asanuma
c44d8b8bdf
HDFS-15363. BlockPlacementPolicyWithNodeGroup should validate if it is initialized by NetworkTopologyWithNodeGroup. Contributed by hemanthboyina.
...
(cherry picked from commit 4d22d1c58f0eb093775f0fe4f39ef4be639ad752)
2020-05-23 17:33:39 +09:00
Chen Liang
e452163a06
HDFS-15293. Relax the condition for accepting a fsimage when receiving a checkpoint. Contributed by Chen Liang
...
(cherry picked from commit 7bb902bc0d0c62d63a8960db444de3abb0a6ad22)
2020-05-19 09:52:25 +09:00
He Xiaoqiao
eb045ea056
HDFS-13183. Standby NameNode process getBlocks request to reduce Active load. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit a3f44dacc1fa19acc4eefd1e2505e54f8629e603)
2020-05-18 09:59:12 -07:00
Ayush Saxena
3915d1afc7
HDFS-15356. Unify configuration dfs.ha.allow.stale.reads
to DFSConfigKeys. Contributed by Xiaoqiao He.
...
(cherry picked from commit 178336f8a8bb291eb355bede729082f2f0382216)
2020-05-18 09:58:59 -07:00
Wei-Chiu Chuang
240cba7e6d
HDFS-15202 Boost short circuit cache (rebase PR-1884) ( #2016 )
...
(cherry picked from commit 2abcf7762ae74b936e1cedb60d5d2b4cc4ee86ea)
2020-05-18 09:41:11 -07:00
Wei-Chiu Chuang
289f8acc64
Revert "HDFS-15202 Boost short circuit cache (rebase PR-1884) ( #2016 )"
...
This reverts commit ad9a6a0ee3d6cb3bde5e23c73151c0857d47ffd4.
2020-05-18 09:41:03 -07:00
Wei-Chiu Chuang
53d22fdb88
Revert "HDFS-13183. Standby NameNode process getBlocks request to reduce Active load. Contributed by Xiaoqiao He."
...
This reverts commit acae31aa2824bf50fe9291148357b4f5c76a9329.
2020-05-18 09:39:57 -07:00
Wei-Chiu Chuang
032ccba67c
HDFS-15207. VolumeScanner skip to scan blocks accessed during recent scan peroid. Contributed by Yang Yun.
...
(cherry picked from commit 50caba1a92cb36ce78307d47ed7624ce216562fc)
2020-05-18 08:42:20 -07:00