Commit Graph

8949 Commits

Author SHA1 Message Date
Siyao Meng
6d3312de47
HDFS-15539. When disallowing snapshot on a dir, throw exception if its trash root is not empty (#2258) 2020-09-14 13:31:34 -07:00
Akira Ajisaka
c78d18023d
HDFS-15555. RBF: Refresh cacheNS when SocketException occurs. (#2267) 2020-09-14 11:34:52 +09:00
Uma Maheswara Rao G
d2779de3f5
HDFS-15532: listFiles on root/InternalDir will fail if fallback root has file. (#2298). Contributed by Uma Maheswara Rao G. 2020-09-12 17:06:39 -07:00
Mingliang Liu
f59f7f2175
HDFS-15573. Only log warning if considerLoad and considerStorageType are both true. Contributed by Stephen O'Donnell 2020-09-12 01:41:38 -07:00
hemanthboyina
2a6fdcedeb HDFS-15564. Add Test annotation for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui. 2020-09-11 18:21:25 +05:30
imbajin
89428f142f
HDFS-15551. Tiny Improve for DeadNode detector (#2265)
Contributed by imbajin.

Reviewed-by: leosunli <lisheng.sun08@gmail.com>
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2020-09-11 15:44:03 +08:00
1996fanrui
56ebabd426
HADOOP-17222. Create socket address leveraging URI cache (#2241)
Contributed by fanrui.

Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2020-09-10 22:30:52 -07:00
zz
12a316cdf9
HADOOP-15891. provide Regex Based Mount Point In Inode Tree (#2185). Contributed by Zhenzhao Wang.
Co-authored-by: Zhenzhao Wang <zhenzhaowang@gmail.com>
2020-09-10 21:20:32 -07:00
Siyao Meng
43c52d6495
HDFS-15563. Incorrect getTrashRoot return value when a non-snapshottable dir prefix matches the path of a snapshottable dir (#2295)
Change-Id: Iefcbc14ca939b61f0c1befc9a94d686be1684ddc
2020-09-10 15:55:23 +05:30
He Xiaoqiao
1d6d0d8207 HDFS-14694. Call recoverLease on DFSOutputStream close exception. Contributed by Lisheng Sun.
Co-authored-by: Chen Zhang <chzhang1987@gmail.com>

Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
2020-09-09 20:09:13 +08:00
Uma Maheswara Rao G
ac7d4623ae
HDFS-15558: ViewDistributedFileSystem#recoverLease should call super.recoverLease when there are no mounts configured (#2275) Contributed by Uma Maheswara Rao G. 2020-09-07 11:36:13 -07:00
Uma Maheswara Rao G
b3660d0147
HDFS-15529: getChildFilesystems should include fallback fs as well (#2234). Contributed by Uma Maheswara Rao G. 2020-09-03 11:06:20 -07:00
He Xiaoqiao
60de592a88 HDFS-15550. Remove unused imports from TestFileTruncate.java. Contributed by Ravuri Sushma sree. 2020-08-31 14:49:12 +08:00
bshashikant
2d03209a06
HDFS-15542. Add identified snapshot corruption tests for ordered snapshot deletion (#2251) 2020-08-31 11:29:48 +05:30
Steve Loughran
c392d9022a
HDFS-15471. TestHDFSContractMultipartUploader failing (#2252)
Contributed by Steve Loughran
(Was: broken by Steve Loughran)
2020-08-28 15:39:09 +01:00
Vivek Ratnavel Subramanian
06793da100
HDFS-15531. Namenode UI: List snapshots in separate table for each snapshottable directory (#2230) 2020-08-27 11:36:30 -07:00
Tsz-Wo Nicholas Sze
41182a9b6d
HDFS-15500. In-order deletion of snapshots: Diff lists must be update only in the last snapshot. (#2233) 2020-08-27 14:54:52 +05:30
Stephen O'Donnell
2ffe00fc46 HDFS-15540. Directories protected from delete can still be moved to the trash. Contributed by Stephen O'Donnell.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2020-08-26 23:05:32 -07:00
Takanobu Asanuma
ca8e7a7725 HDFS-15510. RBF: Quota and Content Summary was not correct in Multiple Destinations. Contributed by Hemanth Boyina. 2020-08-27 12:10:39 +09:00
hemanthboyina
6e618b6a7e HDFS-15536. RBF: Clear Quota in Router was not consistent. 2020-08-26 13:03:08 +05:30
S O'Donnell
6a49bf9bff HDFS-14852. Removing from LowRedundancyBlocks does not remove the block from all queues. Contributed by Fei Hui. 2020-08-25 15:18:36 +01:00
He Xiaoqiao
a7830423c5 HDFS-15448. Remove duplicate BlockPoolManager starting when run DataNode. Contriubted by jianghua zhu. 2020-08-24 21:16:00 +08:00
hemanthboyina
83fd15b412 HDFS-14504. Rename with Snapshots does not honor quota limit. 2020-08-23 16:10:47 +05:30
Chen Liang
f734455e5d HDFS-15290. NPE in HttpServer during NameNode startup. Contributed by Simbarashe Dzinamarira. 2020-08-20 15:25:10 -07:00
Ayush Saxena
4813a37023 HDFS-15535. RBF: Fix Namespace path to snapshot path resolution for snapshot API. Contributed by Ayush Saxena. 2020-08-20 23:54:35 +05:30
Uma Maheswara Rao G
dd013f2fdf
HDFS-15533: Provide DFS API compatible class, but use ViewFileSystemOverloadScheme inside. (#2229). Contributed by Uma Maheswara Rao G. 2020-08-19 09:30:41 -07:00
Siyao Meng
b65e43fe38
HDFS-15525. Make trash root inside each snapshottable directory for WebHDFS (#2220) 2020-08-18 19:28:19 +09:00
bshashikant
092bfe7c8e
HDFS-15483. Ordered snapshot deletion: Disallow rename between two snapshottable directories. (#2172)
* HDFS-15483. Ordered snapshot deletion: Disallow rename between two snapshottable directories.

* Addressed review comments.

* Rebased to latest trunk and added snapshotTrashRoot config check.

* Addressed review comments.

* Removede empty line added in SnapshotManager.Java.

* Addressed whitespace issues.
2020-08-17 12:56:13 +05:30
Ayush Saxena
e3d1966f58 HDFS-15439. Setting dfs.mover.retry.max.attempts to negative value will retry forever. Contributed by AMC-team. 2020-08-15 15:07:58 +05:30
Tsz-Wo Nicholas Sze
b93dd7c281
HDFS-15519. Check inaccessible INodes in FsImageValidation. (#2224) 2020-08-14 10:10:01 -07:00
bshashikant
15a76e8d65
HDFS-15524. Add edit log entry for Snapshot deletion GC thread snapshot deletion. (#2219) 2020-08-14 20:46:48 +05:30
Vivek Ratnavel Subramanian
cb50e3fcf7
HDFS-15496. Add UI for deleted snapshots (#2212) 2020-08-13 22:36:15 +05:30
Aryan Gupta
e592ec5f8b
HDFS-15518. Wrong operation name in FsNamesystem for listSnapshots. (#2217)
* HDFS-15518. Fixed String operationName = ListSnapshot.

* HDFS-15518. Changed ListSnapshot to operationName.

Co-authored-by: Aryan Gupta <aryan.gupta@cloudera.com>
2020-08-13 00:09:38 +05:30
S O'Donnell
10716040a8 HDFS-15493. Update block map and name cache in parallel while loading fsimage. Contributed by Chengwei Wang 2020-08-12 09:02:47 +01:00
Tsz-Wo Nicholas Sze
11cec9ab94
HDFS-15523. Fix findbugs warnings from HDFS-15520. (#2218) 2020-08-11 21:41:28 -07:00
Siyao Meng
3fd3aeb621
HDFS-15492. Make trash root inside each snapshottable directory (#2176) 2020-08-11 08:52:16 -07:00
Gautham B A
909f1e82d3
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>
2020-08-11 16:35:08 +09:00
Uma Maheswara Rao G
8955a6ceb7
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
2020-08-11 00:01:58 -07:00
Tsz-Wo Nicholas Sze
592127bdc2
HDFS-15520 Use visitor pattern to visit namespace tree (#2203) 2020-08-11 12:30:30 +05:30
Akira Ajisaka
32895f4f7e
HDFS-15507. [JDK 11] Fix javadoc errors in hadoop-hdfs-client module. Contributed by Xieming Li. 2020-08-11 13:49:56 +09:00
Akira Ajisaka
7938ebfb9d
HDFS-15506. [JDK 11] Fix javadoc errors in hadoop-hdfs module. Contributed by Xieming Li. 2020-08-11 11:14:58 +09:00
Akira Ajisaka
9062814bab
HDFS-15508. [JDK 11] Fix javadoc errors in hadoop-hdfs-rbf module 2020-08-11 10:58:56 +09:00
Ayush Saxena
c2a17659d1 HDFS-15443. Setting dfs.datanode.max.transfer.threads to a very small value can cause strange failure. Contributed by AMC-team. 2020-08-08 14:33:53 +05:30
Ayush Saxena
975b6024dd HDFS-15514. Remove useless dfs.webhdfs.enabled. Contributed by Fei Hui. 2020-08-07 22:19:17 +05:30
Takanobu Asanuma
1d5ccc790b
HDFS-15512. Remove smallBufferSize in DFSClient. (#2191) 2020-08-06 22:47:12 +05:30
Mingliang Liu
58def7cecb
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 20:48:45 -07:00
bshashikant
e072d33327
HDFS-15497. Make snapshot limit on global as well per snapshot root directory configurable (#2175) 2020-08-04 14:10:29 +05:30
hemanthboyina
82f3ffcd64 HDFS-15503. File and directory permissions are not able to be modified from WebUI. 2020-08-03 23:21:01 +05:30
Akira Ajisaka
c40cbc57fa
HADOOP-17091. [JDK11] Fix Javadoc errors (#2098) 2020-08-03 10:46:51 +09:00
bshashikant
d8a2df25ad
HDFS-15498. Show snapshots deletion status in snapList cmd. (#2181) 2020-08-02 21:59:56 +05:30