Konstantin V Shvachko
23b6ab67f7
HDFS-15567. [SBN Read] HDFS should expose msync() API to allow downstream applications call it explicitly. Contributed by Konstantin V Shvachko.
...
(cherry picked from commit b3786d6c3c
)
2020-10-12 17:42:58 -07:00
Doroszlai, Attila
61563885f8
HADOOP-16990. Update Mockserver. Contributed by Attila Doroszlai.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 8675a0d283bcf1f6a0c1e5953d28f7497c63ba66)
2020-10-08 23:44:33 -07:00
Stephen O'Donnell
71d006130e
HDFS-15415. Reduce locking in Datanode DirectoryScanner. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2020-09-28 12:45:28 -07:00
Kihwal Lee
25a51f2f39
HDFS-15581. Access Controlled HttpFS Server. Contributed by Richard Ross.
...
(cherry picked from commit dfc2682213
)
2020-09-22 11:12:43 -05:00
S O'Donnell
5f34e3214e
HDFS-15583. Backport DirectoryScanner improvements HDFS-14476, HDFS-14751 and HDFS-15048 to branch 3.2 and 3.1. Contributed by Stephen O'Donnell
2020-09-22 10:34:05 +01:00
hemanthboyina
aa582ccc2a
HDFS-15574. Remove unnecessary sort of block list in DirectoryScanner. Contributed by Stephen O'Donnell.
2020-09-17 10:15:18 +05:30
Ayush Saxena
544d6da3ab
HDFS-15117. EC: Add getECTopologyResultForPolicies to DistributedFileSystem. Contributed by Ayush Saxena. ( #2261 )
2020-09-06 07:56:16 +05:30
Kitti Nanasi
9b8eaa0572
HDFS-14188. Make hdfs ec -verifyClusterSetup command accept an erasure coding policy as a parameter. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 14282e311b
)
2020-08-30 10:21:53 +05:30
Kitti Nanasi
3ba40d0ccf
HDFS-14125. Use parameterized log format in ECTopologyVerifier. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 5f15a60e32
)
2020-08-30 10:21:53 +05:30
Kitti Nanasi
0dbcb81a41
HDFS-14061. Check if the cluster topology supports the EC policy before setting, enabling or adding it. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 951cdd7e4c
)
2020-08-30 10:21:53 +05:30
Kitti Nanasi
a78430abf4
HDFS-12946. Add a tool to check rack configuration against EC policies. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit dd5e7c6b72
)
2020-08-30 10:21:35 +05:30
Surendra Singh Lilhore
3bacea2e5e
HDFS-14096. [SPS] : Add Support for Storage Policy Satisfier in ViewFs. Contributed by Ayush Saxena.
...
(cherry picked from commit 788e7473a4
)
2020-08-26 10:31:39 -07:00
Uma Maheswara Rao G
0512b27172
HDFS-8631. WebHDFS : Support setQuota. Contributed by Chao Sun. (Backported)
2020-08-26 09:33:51 -07:00
Uma Maheswara Rao G
978ce5a1ee
HDFS-15515: mkdirs on fallback should throw IOE out instead of suppressing and returning false ( #2205 )
...
* HDFS-15515: mkdirs on fallback should throw IOE out instead of suppressing and returning false
* Used LambdaTestUtils#intercept in test
(cherry picked from commit 99b120a06e
)
2020-08-25 12:05:31 -07:00
S O'Donnell
a3f12f7f20
HDFS-14852. Removing from LowRedundancyBlocks does not remove the block from all queues. Contributed by Fei Hui.
...
(cherry picked from commit 6a49bf9bff
)
2020-08-25 15:49:54 +01:00
Chen Liang
4ab14692e6
HDFS-15290. NPE in HttpServer during NameNode startup. Contributed by Simbarashe Dzinamarira.
...
(cherry picked from commit f734455e5d
)
2020-08-20 15:26:44 -07:00
Steve Loughran
42c71a5790
HADOOP-15691. Add PathCapabilities to FileSystem and FileContext.
...
Contributed by Steve Loughran.
This complements the StreamCapabilities Interface by allowing applications to probe for a specific path on a specific instance of a FileSystem client
to offer a specific capability.
This is intended to allow applications to determine
* Whether a method is implemented before calling it and dealing with UnsupportedOperationException.
* Whether a specific feature is believed to be available in the remote store.
As well as a common set of capabilities defined in CommonPathCapabilities,
file systems are free to add their own capabilities, prefixed with
fs. + schema + .
The plan is to identify and document more capabilities -and for file systems which add new features, for a declaration of the availability of the feature to always be available.
Note
* The remote store is not expected to be checked for the feature;
It is more a check of client API and the client's configuration/knowledge
of the state of the remote system.
* Permissions are not checked.
2020-08-19 17:15:06 +01:00
Gautham B A
ff907b310d
HADOOP-17196. Fix C/C++ standard warnings ( #2208 )
...
* Passing C/C++ standard flags -std is
not cross-compiler friendly as not all
compilers support all values.
* Thus, we need to make use of the
appropriate flags provided by CMake in
order to specify the C/C++ standards.
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 909f1e82d3
)
2020-08-11 16:47:26 +09:00
Ayush Saxena
d6a9ed8140
HDFS-15514. Remove useless dfs.webhdfs.enabled. Contributed by Fei Hui.
2020-08-07 22:23:02 +05:30
Mingliang Liu
41c211d762
HDFS-15499. Clean up httpfs/pom.xml to remove aws-java-sdk-s3 exclusion ( #2188 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2020-08-04 23:01:04 -07:00
Uma Maheswara Rao G
cd5efe91d9
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 ac9a07b51a
)
2020-07-31 01:39:41 -07:00
Uma Maheswara Rao G
65778cdd47
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 3e70006639
)
2020-07-31 01:39:06 -07:00
Uma Maheswara Rao G
1369e41c65
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 dc0626b5f2
)
2020-07-31 01:38:45 -07:00
Uma Maheswara Rao G
512d1d6d27
HDFS-15450. Fix NN trash emptier to work if ViewFSOveroadScheme enabled. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 55a2ae80dc
)
2020-07-31 01:38:18 -07:00
Uma Maheswara Rao G
655b39cc30
HDFS-15430. create should work when parent dir is internalDir and fallback configured. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 1f2a80b5e5
)
2020-07-31 01:37:14 -07:00
Yuan
737bbab90a
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 e756fe3590
)
2020-07-31 16:52:14 +09:00
Ayush Saxena
27a97e4f28
HADOOP-17100. Replace Guava Supplier with Java8+ Supplier in Hadoop. Contributed by Ahmed Hussein.
2020-07-22 18:39:49 +05:30
Chen Liang
370efc6d95
HDFS-15404. ShellCommandFencer should expose info about source. Contributed by Chen Liang.
...
(cherry picked from commit 3833c616e0
)
2020-07-20 14:07:10 -07:00
Akira Ajisaka
0d949d375e
HADOOP-16753. Refactor HAAdmin. Contributed by Xieming Li.
...
(cherry picked from commit 1defe3a65a
)
2020-07-20 13:20:34 -07:00
He Xiaoqiao
6d003f67dd
HDFS-14498. LeaseManager can loop forever on the file for which create has failed. Contributed by Stephen O'Donnell.
2020-07-16 23:59:05 +08:00
Ahmed Hussein
8fd3dcc9ce
HADOOP-17099. Replace Guava Predicate with Java8+ Predicate
...
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit 1f71c4ae71
)
2020-07-15 12:05:49 -05:00
Ahmed Hussein
43a865dc07
HADOOP-17101. Replace Guava Function with Java8+ Function
...
Signed-off-by: Jonathan Eagles <jeagles@gmail.com>
(cherry picked from commit 98fcffe93f
)
2020-07-15 10:18:47 -05:00
Shashikant Banerjee
acaee85a69
HDFS-15313. Ensure inodes in active filesytem are not deleted during snapshot delete. Contributed by Shashikant Banerjee.
...
(cherry picked from commit 82343790ee
)
2020-07-15 13:38:29 +01:00
Eric Badger
37032bcaf6
Revert "HDFS-14498 LeaseManager can loop forever on the file for which create has failed. Contributed by Stephen O'Donnell."
...
This reverts commit edb45cac82
.
2020-07-13 21:08:12 +00:00
He Xiaoqiao
edb45cac82
HDFS-14498 LeaseManager can loop forever on the file for which create has failed. Contributed by Stephen O'Donnell.
2020-07-13 14:40:21 +08:00
Uma Maheswara Rao G
7607f24c9e
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 3ca15292c5
)
2020-07-09 16:29:02 -07:00
Shanyu Zhao
8d4028864d
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:53:29 +08:00
Ayush Saxena
642aafb106
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:54 +05:30
Akira Ajisaka
37e0a1208c
HDFS-15421. IBR leak causes standby NN to be stuck in safe mode.
...
(cherry picked from commit c71ce7ac33
)
2020-06-28 16:16:49 +09:00
Virajith Jalaparti
704b273ec8
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 bed0a3a374
)
2020-06-27 16:25:04 -07:00
Uma Maheswara Rao G
d030f4b2a6
HDFS-15429. mkdirs should work when parent dir is an internalDir and fallback configured. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit d5e1bb6155
)
2020-06-27 15:56:10 -07:00
Uma Maheswara Rao G
80111fe5bb
HDFS-15427. Merged ListStatus with Fallback target filesystem and InternalDirViewFS. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 7c02d1889b
)
2020-06-27 15:55:41 -07:00
Uma Maheswara Rao G
6c22210baa
HDFS-15418. ViewFileSystemOverloadScheme should represent mount links as non symlinks. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit b27810aa60
)
2020-06-27 15:55:11 -07:00
Uma Maheswara Rao G
4a9ec4d143
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 93b121a971
)
2020-06-27 15:54:37 -07:00
Uma Maheswara Rao G
aa8de2f43b
HDFS-15387. FSUsage#DF should consider ViewFSOverloadScheme in processPath. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 785b1def95
)
(cherry picked from commit 120ee793fc
)
2020-06-27 15:53:07 -07:00
Ayush Saxena
e80421820a
HDFS-15389. DFSAdmin should close filesystem and dfsadmin -setBalancerBandwidth should work with ViewFSOverloadScheme. Contributed by Ayush Saxena
...
(cherry picked from commit cc671b16f7
)
(cherry picked from commit bee2846bee
)
2020-06-27 15:52:47 -07:00
Uma Maheswara Rao G
e7cead1143
HDFS-15330. Document the ViewFSOverloadScheme details in ViewFS guide. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit 76fa0222f0
)
(cherry picked from commit 418580446b
)
2020-06-27 15:52:18 -07:00
Uma Maheswara Rao G
852ee71354
HDFS-15321. Make DFSAdmin tool to work with ViewFileSystemOverloadScheme. Contributed by Uma Maheswara Rao G.
...
(cherry picked from commit ed83c865dd
)
(cherry picked from commit 0b5e202614
)
2020-06-27 15:51:51 -07:00
Uma Maheswara Rao G
84ceb6d520
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 4734c77b4b
)
(cherry picked from commit 8e71e85af7
)
2020-06-27 15:51:28 -07:00
Abhishek Das
7cf9601987
HADOOP-17024. ListStatus on ViewFS root (ls "/") should list the linkFallBack root (configured target root). Contributed by Abhishek Das.
...
(cherry picked from commit ce4ec74453
)
(cherry picked from commit 5b248de42d
)
2020-06-27 15:50:41 -07:00