Commit Graph

8934 Commits

Author SHA1 Message Date
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
hemanthboyina 528a799a78 HDFS-15229. Truncate info should be logged at INFO level. Contributed by Ravuri Sushma sree. 2020-08-02 12:02:37 +05:30
Yuan e756fe3590
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>
2020-07-31 16:49:49 +09:00
Tsz-Wo Nicholas Sze 05b3337a46
HDFS-15481. Ordered snapshot deletion: garbage collect deleted snapshots (#2165) 2020-07-30 23:06:51 +05:30
bshashikant 68287371cc
HDFS-15488. Add a command to list all snapshots for a snaphottable root with snapshot Ids. (#2166) 2020-07-29 21:33:25 +05:30
touchida 026dce5334
HDFS-15465. Support WebHDFS accesses to the data stored in secure Datanode through insecure Namenode. (#2135) 2020-07-27 09:55:11 -07:00
bshashikant 2d12496643
HDFS-15480. Ordered snapshot deletion: record snapshot deletion in XAttr (#2163) 2020-07-22 16:16:27 -07:00
Uma Maheswara Rao G ac9a07b51a
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. 2020-07-21 23:29:10 -07:00
Masatake Iwasaki 1b29c9bfee
HADOOP-17138. Fix spotbugs warnings surfaced after upgrade to 4.0.6. (#2155) 2020-07-22 13:40:20 +09:00
Inigo Goiri 8b7695bb26 HDFS-15246. ArrayIndexOfboundsException in BlockManager CreateLocatedBlock. Contributed by Hemanth Boyina. 2020-07-21 09:00:07 -07:00
Tsz-Wo Nicholas Sze d57462f2da
HDFS-15479. Ordered snapshot deletion: make it a configurable feature (#2156) 2020-07-21 11:36:24 +05:30
Shashikant Banerjee d9441f95c3 HDFS-15470. Added more unit tests to validate rename behaviour across snapshots. Contributed by Shashikant Banerjee. 2020-07-21 11:13:05 +05:30
Chen Liang 3833c616e0 HDFS-15404. ShellCommandFencer should expose info about source. Contributed by Chen Liang. 2020-07-20 12:49:58 -07:00
Ayush Saxena 6cbd8854ee HDFS-15381. Fix typos corrputBlocksFiles to corruptBlocksFiles. Contributed by bianqi. 2020-07-20 21:49:05 +05:30
Tsz-Wo Nicholas Sze 2cec50cf16
HDFS-15463. Add a tool to validate FsImage. (#2140) 2020-07-20 11:44:30 +05:30
Suraj Naik 4101b0c0ed
HDFS-15476 Make AsyncStream executor private (#2151) 2020-07-19 23:26:54 +05:30