Skip to content

HDFS-15492. Make trash root inside each snapshottable directory - #2176

Merged
smengcl merged 15 commits into
apache:trunkfrom
smengcl:HDFS-15492
Aug 11, 2020
Merged

HDFS-15492. Make trash root inside each snapshottable directory#2176
smengcl merged 15 commits into
apache:trunkfrom
smengcl:HDFS-15492

Conversation

@smengcl

@smengclsmengcl commented Jul 29, 2020

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/HDFS-15492

TODOs

  • Mod getTrashRoot
  • Make this a config and disable it by default
  • Mod getTrashRoots
  • Add unit test
  • Check result when both encryption zone and snapshot are enabled on the same directory
  • Possibly reduce overhead of calling getSnapshottableDirListing() every time because the snapshot list can be large if there are a lot of snapshots on a cluster

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 37sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 💚mvninstall23m 30strunk passed
+1 💚compile1m 2strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile0m 49strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle0m 24strunk passed
+1 💚mvnsite0m 51strunk passed
+1 💚shadedclient16m 50sbranch has no errors when building and testing our client artifacts.
-1 ❌javadoc0m 37shadoop-hdfs-client in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚javadoc0m 31strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs2m 33sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 30strunk passed
_ Patch Compile Tests _
+1 💚mvninstall0m 47sthe patch passed
+1 💚compile0m 52sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javac0m 52sthe patch passed
+1 💚compile0m 43sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚javac0m 43sthe patch passed
-0 ⚠️checkstyle0m 18shadoop-hdfs-project/hadoop-hdfs-client: The patch generated 1 new + 64 unchanged - 0 fixed = 65 total (was 64)
+1 💚mvnsite0m 45sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient15m 28spatch has no errors when building and testing our client artifacts.
-1 ❌javadoc0m 33shadoop-hdfs-client in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚javadoc0m 27sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs2m 36sthe patch passed
_ Other Tests _
+1 💚unit2m 2shadoop-hdfs-client in the patch passed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
75m 24s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2176/1/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
unameLinux 29d5cd719f3d 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / 5d8600e
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
javadochttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/1/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
checkstylehttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/1/artifact/out/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs-client.txt
javadochttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/1/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
Test Resultshttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/1/testReport/
Max. process+thread count311 (vs. ulimit of 5500)
modulesC: hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project/hadoop-hdfs-client
Console outputhttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/1/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec29m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 💚mvninstall22m 2strunk passed
+1 💚compile0m 55strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile0m 47strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle0m 24strunk passed
+1 💚mvnsite0m 52strunk passed
+1 💚shadedclient16m 51sbranch has no errors when building and testing our client artifacts.
-1 ❌javadoc0m 39shadoop-hdfs-client in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚javadoc0m 30strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs2m 29sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 27strunk passed
_ Patch Compile Tests _
+1 💚mvninstall0m 48sthe patch passed
+1 💚compile0m 49sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javac0m 49sthe patch passed
+1 💚compile0m 42sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚javac0m 42sthe patch passed
+1 💚checkstyle0m 18sthe patch passed
+1 💚mvnsite0m 45sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient15m 22spatch has no errors when building and testing our client artifacts.
-1 ❌javadoc0m 32shadoop-hdfs-client in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚javadoc0m 28sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs2m 32sthe patch passed
_ Other Tests _
+1 💚unit1m 55shadoop-hdfs-client in the patch passed.
+1 💚asflicense0m 27sThe patch does not generate ASF License warnings.
102m 4s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2176/2/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
unameLinux 5bd346f89f5a 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / 5d8600e
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
javadochttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/2/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
javadochttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/2/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
Test Resultshttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/2/testReport/
Max. process+thread count306 (vs. ulimit of 5500)
modulesC: hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project/hadoop-hdfs-client
Console outputhttps://builds.apache.org/job/hadoop-multibranch/job/PR-2176/2/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec29m 0sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 💚mvninstall20m 13strunk passed
+1 💚compile0m 58strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile0m 53strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle0m 29strunk passed
+1 💚mvnsite0m 58strunk passed
+1 💚shadedclient15m 17sbranch has no errors when building and testing our client artifacts.
-1 ❌javadoc0m 40shadoop-hdfs-client in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚javadoc0m 36strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs2m 22sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 20strunk passed
_ Patch Compile Tests _
+1 💚mvninstall0m 47sthe patch passed
+1 💚compile0m 50sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javac0m 50sthe patch passed
+1 💚compile0m 43sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚javac0m 43sthe patch passed
+1 💚checkstyle0m 19sthe patch passed
+1 💚mvnsite0m 46sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient14m 15spatch has no errors when building and testing our client artifacts.
-1 ❌javadoc0m 34shadoop-hdfs-client in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚javadoc0m 32sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs2m 36sthe patch passed
_ Other Tests _
+1 💚unit1m 59shadoop-hdfs-client in the patch passed.
+1 💚asflicense0m 29sThe patch does not generate ASF License warnings.
97m 42s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/2/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
unameLinux e3692f3aa35a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / 05b3337
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
javadochttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/2/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
javadochttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/2/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/2/testReport/
Max. process+thread count413 (vs. ulimit of 5500)
modulesC: hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project/hadoop-hdfs-client
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/2/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@smengclsmengcl self-assigned this Aug 4, 2020
@smengclsmengcl changed the title [WIP] HDFS-15492. Make trash root inside each snapshottable directoryHDFS-15492. Make trash root inside each snapshottable directoryAug 4, 2020
@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 36sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep0m 53sMaven dependency ordering for branch
+1 💚mvninstall20m 18strunk passed
+1 💚compile22m 24strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile18m 47strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle2m 53strunk passed
+1 💚mvnsite4m 25strunk passed
+1 💚shadedclient21m 42sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 43strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 52strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs3m 28sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs8m 27strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for patch
+1 💚mvninstall2m 56sthe patch passed
+1 💚compile22m 17sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
-1 ❌cc22m 17sroot-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 38 new + 124 unchanged - 38 fixed = 162 total (was 162)
+1 💚javac22m 17sthe patch passed
+1 💚compile18m 27sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌cc18m 27sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 23 new + 139 unchanged - 23 fixed = 162 total (was 162)
+1 💚javac18m 27sthe patch passed
-0 ⚠️checkstyle2m 55sroot: The patch generated 3 new + 826 unchanged - 0 fixed = 829 total (was 826)
+1 💚mvnsite3m 56sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient15m 5spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 39sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 49sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs8m 23sthe patch passed
_ Other Tests _
+1 💚unit9m 21shadoop-common in the patch passed.
+1 💚unit2m 21shadoop-hdfs-client in the patch passed.
-1 ❌unit96m 9shadoop-hdfs in the patch passed.
+1 💚asflicense1m 7sThe patch does not generate ASF License warnings.
292m 57s
ReasonTests
Failed junit testshadoop.hdfs.server.namenode.TestAddStripedBlockInFBR
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
hadoop.tools.TestHdfsConfigFields
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 40a24d11891b 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / ab2b3df
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/artifact/out/diff-checkstyle-root.txt
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/testReport/
Max. process+thread count4814 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/5/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 14sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for branch
+1 💚mvninstall19m 15strunk passed
+1 💚compile21m 24strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile18m 12strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle2m 56strunk passed
+1 💚mvnsite4m 9strunk passed
+1 💚shadedclient21m 48sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 35strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 57strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs3m 23sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs8m 17strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for patch
+1 💚mvninstall3m 1sthe patch passed
+1 💚compile20m 25sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
-1 ❌cc20m 25sroot-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 30 new + 132 unchanged - 30 fixed = 162 total (was 162)
+1 💚javac20m 25sthe patch passed
+1 💚compile18m 32sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌cc18m 32sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 36 new + 126 unchanged - 36 fixed = 162 total (was 162)
+1 💚javac18m 32sthe patch passed
-0 ⚠️checkstyle3m 4sroot: The patch generated 3 new + 826 unchanged - 0 fixed = 829 total (was 826)
+1 💚mvnsite4m 13sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient14m 41spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 37sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 54sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs9m 5sthe patch passed
_ Other Tests _
+1 💚unit9m 37shadoop-common in the patch passed.
+1 💚unit2m 18shadoop-hdfs-client in the patch passed.
-1 ❌unit150m 21shadoop-hdfs in the patch passed.
+1 💚asflicense1m 6sThe patch does not generate ASF License warnings.
343m 53s
ReasonTests
Failed junit testshadoop.tools.TestHdfsConfigFields
hadoop.hdfs.TestStripedFileAppend
hadoop.hdfs.TestDecommissionWithStriped
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestAclsEndToEnd
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.TestMaintenanceState
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics
hadoop.hdfs.TestLeaseRecovery2
hadoop.hdfs.TestDFSStripedInputStreamWithRandomECPolicy
hadoop.hdfs.TestDFSClientFailover
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.hdfs.TestReservedRawPaths
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 1e62ed8ab7a6 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / ab2b3df
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/artifact/out/diff-checkstyle-root.txt
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/testReport/
Max. process+thread count3801 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/6/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec2m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep0m 24sMaven dependency ordering for branch
+1 💚mvninstall22m 34strunk passed
+1 💚compile20m 59strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile18m 33strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle3m 3strunk passed
+1 💚mvnsite4m 11strunk passed
+1 💚shadedclient22m 26sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 30strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc4m 7strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs3m 15sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs8m 16strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for patch
+1 💚mvninstall2m 53sthe patch passed
+1 💚compile20m 27sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
-1 ❌cc20m 27sroot-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 39 new + 123 unchanged - 39 fixed = 162 total (was 162)
+1 💚javac20m 27sthe patch passed
+1 💚compile18m 38sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌cc18m 38sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 21 new + 141 unchanged - 21 fixed = 162 total (was 162)
+1 💚javac18m 38sthe patch passed
-0 ⚠️checkstyle3m 21sroot: The patch generated 3 new + 826 unchanged - 0 fixed = 829 total (was 826)
+1 💚mvnsite4m 3sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient16m 57spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 43sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc4m 7sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs9m 27sthe patch passed
_ Other Tests _
+1 💚unit10m 13shadoop-common in the patch passed.
+1 💚unit2m 26shadoop-hdfs-client in the patch passed.
-1 ❌unit151m 58shadoop-hdfs in the patch passed.
+1 💚asflicense1m 3sThe patch does not generate ASF License warnings.
354m 36s
ReasonTests
Failed junit testshadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFS
hadoop.tools.TestHdfsConfigFields
hadoop.hdfs.server.diskbalancer.TestDiskBalancerWithMockMover
hadoop.hdfs.server.balancer.TestBalancerWithEncryptedTransfer
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.server.balancer.TestBalancerRPCDelay
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics
hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics
hadoop.hdfs.server.blockmanagement.TestPendingDataNodeMessages
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes
hadoop.hdfs.server.balancer.TestBalancerWithNodeGroup
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.hdfs.server.balancer.TestBalancerWithSaslDataTransfer
hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 132b8352a85f 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / ab2b3df
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/artifact/out/diff-checkstyle-root.txt
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/testReport/
Max. process+thread count3804 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/7/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep0m 28sMaven dependency ordering for branch
+1 💚mvninstall19m 51strunk passed
+1 💚compile20m 15strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile17m 20strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle2m 57strunk passed
+1 💚mvnsite4m 2strunk passed
+1 💚shadedclient21m 30sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 42strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 53strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs3m 14sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs8m 3strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for patch
+1 💚mvninstall2m 55sthe patch passed
+1 💚compile19m 57sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
-1 ❌cc19m 57sroot-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 35 new + 127 unchanged - 35 fixed = 162 total (was 162)
+1 💚javac19m 57sthe patch passed
+1 💚compile17m 58sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌cc17m 58sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 34 new + 128 unchanged - 34 fixed = 162 total (was 162)
+1 💚javac17m 58sthe patch passed
-0 ⚠️checkstyle2m 47sroot: The patch generated 1 new + 826 unchanged - 0 fixed = 827 total (was 826)
+1 💚mvnsite3m 59sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient13m 56spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 43sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 53sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs8m 38sthe patch passed
_ Other Tests _
+1 💚unit9m 50shadoop-common in the patch passed.
+1 💚unit2m 25shadoop-hdfs-client in the patch passed.
-1 ❌unit125m 40shadoop-hdfs in the patch passed.
+1 💚asflicense1m 5sThe patch does not generate ASF License warnings.
315m 11s
ReasonTests
Failed junit testshadoop.hdfs.server.namenode.snapshot.TestSnapshot
hadoop.tools.TestHdfsConfigFields
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics
hadoop.hdfs.server.namenode.snapshot.TestSnapshotRename
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.server.namenode.snapshot.TestRenameWithSnapshots
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.hdfs.server.namenode.snapshot.TestNestedSnapshots
hadoop.hdfs.TestReconstructStripedFileWithRandomECPolicy
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 6b2713f6389f 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / 0277856
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/artifact/out/diff-checkstyle-root.txt
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/testReport/
Max. process+thread count3649 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/8/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@bshashikantbshashikant left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good overall. The point of concern here is with each delete call with trash interval set on the filesystem, will potentially have one more rpc call to fetch the snapshottable dir list from namenode every time.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's say we have a structure like /dir1/dir2 where dir1 is ez enabled and dir2 is made snapshottable. In such cases, anything deleted under dir2 will be under trash location under dir2 while everything which is deleted within dir1 but not dir2, will exist in trash under dir1. Will it lead to any issues??

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a288110174c55b2c601b79b2beca9a27b2f34102, when a path given to getTrashRoot() is both inside an EZ and in a snapshottable dir, it should now choose the inner most trash.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 21sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 1sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep3m 21sMaven dependency ordering for branch
-1 ❌mvninstall28m 26sroot in trunk failed.
-1 ❌compile13m 23sroot in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌compile10m 47sroot in trunk failed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09.
-0 ⚠️checkstyle2m 29sThe patch fails to run checkstyle in root
+1 💚mvnsite3m 37strunk passed
+1 💚shadedclient20m 23sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 14strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 23strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs2m 30sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs7m 36strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 27sMaven dependency ordering for patch
+1 💚mvninstall2m 52sthe patch passed
-1 ❌compile13m 19sroot in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌cc13m 19sroot in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌javac13m 19sroot in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚compile17m 21sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌cc17m 21sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 129 new + 33 unchanged - 0 fixed = 162 total (was 33)
-1 ❌javac17m 21sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 192 new + 1756 unchanged - 0 fixed = 1948 total (was 1756)
-0 ⚠️checkstyle2m 40sThe patch fails to run checkstyle in root
+1 💚mvnsite4m 0sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient14m 3spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 52sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc4m 3sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌findbugs2m 51shadoop-hdfs-project/hadoop-hdfs-client generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit9m 32shadoop-common in the patch passed.
+1 💚unit2m 18shadoop-hdfs-client in the patch passed.
-1 ❌unit97m 9shadoop-hdfs in the patch passed.
+1 💚asflicense1m 9sThe patch does not generate ASF License warnings.
274m 37s
ReasonTests
FindBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Load of known null value in org.apache.hadoop.hdfs.DistributedFileSystem.getTrashRoot(Path) At DistributedFileSystem.java:in org.apache.hadoop.hdfs.DistributedFileSystem.getTrashRoot(Path) At DistributedFileSystem.java:[line 3292]
Failed junit testshadoop.hdfs.TestGetFileChecksum
hadoop.hdfs.server.namenode.ha.TestHAAppend
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.tools.TestHdfsConfigFields
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 58fae0238d0e 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / c7e71a6
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
mvninstallhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/branch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/branch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/branch-compile-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/buildtool-branch-checkstyle-root.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
javachttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
javachttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/diff-compile-javac-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/buildtool-patch-checkstyle-root.txt
findbugshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/new-findbugs-hadoop-hdfs-project_hadoop-hdfs-client.html
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/testReport/
Max. process+thread count4450 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/9/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec26m 0sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep3m 21sMaven dependency ordering for branch
-1 ❌mvninstall25m 8sroot in trunk failed.
-1 ❌compile12m 40sroot in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌compile10m 40sroot in trunk failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
-0 ⚠️checkstyle2m 31sThe patch fails to run checkstyle in root
+1 💚mvnsite3m 32strunk passed
+1 💚shadedclient20m 42sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 17strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 22strunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗spotbugs2m 38sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs7m 44strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 27sMaven dependency ordering for patch
+1 💚mvninstall2m 46sthe patch passed
-1 ❌compile12m 46sroot in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌cc12m 46sroot in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌javac12m 46sroot in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌compile11m 48sroot in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
-1 ❌cc11m 48sroot in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
-1 ❌javac11m 48sroot in the patch failed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.
-0 ⚠️checkstyle2m 40sThe patch fails to run checkstyle in root
+1 💚mvnsite3m 27sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient14m 32spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 11sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 11sthe patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
-1 ❌findbugs2m 31shadoop-hdfs-project/hadoop-hdfs-client generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚unit9m 40shadoop-common in the patch passed.
+1 💚unit2m 6shadoop-hdfs-client in the patch passed.
-1 ❌unit99m 3shadoop-hdfs in the patch passed.
+1 💚asflicense0m 47sThe patch does not generate ASF License warnings.
287m 15s
ReasonTests
FindBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Load of known null value in org.apache.hadoop.hdfs.DistributedFileSystem.getTrashRoot(Path) At DistributedFileSystem.java:in org.apache.hadoop.hdfs.DistributedFileSystem.getTrashRoot(Path) At DistributedFileSystem.java:[line 3292]
Failed junit testshadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics
hadoop.hdfs.server.namenode.TestAddOverReplicatedStripedBlocks
hadoop.tools.TestHdfsConfigFields
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.server.namenode.TestDecommissioningStatus
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.TestRollingUpgrade
hadoop.hdfs.server.datanode.TestBlockScanner
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 8f8155b72828 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / c7e71a6
Default JavaPrivate Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
mvninstallhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/branch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/branch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/branch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/buildtool-branch-checkstyle-root.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
javachttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-compile-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
compilehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
javachttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/buildtool-patch-checkstyle-root.txt
findbugshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/new-findbugs-hadoop-hdfs-project_hadoop-hdfs-client.html
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/testReport/
Max. process+thread count3891 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/10/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess we need to define these configs in SnapshotManager if we intend not add it in hdfs-default.xml(which i would prefer). It leads to test failure here "hadoop.tools.TestHdfsConfigFields"

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. I will put it in FSNameSystem as private config then as it is used there, similar to HDFS-15481did.

smengcl added 12 commits August 7, 2020 12:03
Change-Id: I43aeb4959c5d0b9140eaed8f899b2f93f642eb04
Change-Id: I29120bf9c946841615c0e7efaac5c0056f1f795c
Change-Id: I7b497d7f10fcc9c37916abdab330c21c8bb05a16
…e on server-side only.
Change-Id: I3d88fc5a437f8211755abe5d8b840de040a46099
Change-Id: Ic7c6078669925a3e13c6e462e6d0e51c3b9ff0fa
…ing snapshot on the test dir.
Change-Id: I3dbe20785351b84375c644de6d06610c74d6e7d9
Change-Id: I6c65115eb8f176bc948f38f7c91e417391f8cab8
… null.
Change-Id: Iff9a24d76966857340eacb8586c88d7b991468f9
…and EZ enabled to be added to the result twice; added test case for this.
Change-Id: Iecad971f0712ad6d1183bdc14fc7a05864d9e84b
Change-Id: Ib023bd014afa1496b90c678645cb868d9056c9ed
…pshottable dir, it should choose the inner most trash.
Change-Id: Ibf58de1031c94b0166f27f623eb5e9ea1669bac0
…eys, since it the NN will be the only source of truth for this config.
Change-Id: I5247537803c2017b5af860e7eac057123031a86f
Change-Id: I6fd630e4d47fc9d403811d2bb92077322e7d4895
Change-Id: Id3c130c4f94508d21c656602a867fc59f2e6126a
…meSystem.
Change-Id: Ife297d420156b9aafcb5d774ae419b6f3b6ce149
@smengcl

Copy link
Copy Markdown
ContributorAuthor

I rebased the commits on to the latest trunk. Also made dfs.namenode.snapshot.trashroot.enabled a private config in FSNameSystem.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep3m 22sMaven dependency ordering for branch
+1 💚mvninstall26m 42strunk passed
+1 💚compile19m 26strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile16m 51strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚checkstyle3m 7strunk passed
+1 💚mvnsite4m 5strunk passed
+1 💚shadedclient21m 42sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 53strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc4m 0strunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗spotbugs2m 35sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs7m 50strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 26sMaven dependency ordering for patch
+1 💚mvninstall2m 45sthe patch passed
+1 💚compile18m 45sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
-1 ❌cc18m 45sroot-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 11 new + 151 unchanged - 11 fixed = 162 total (was 162)
+1 💚javac18m 45sthe patch passed
+1 💚compile16m 46sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌cc16m 46sroot-jdkPrivateBuild-1.8.0_252-8u252-b09-118.04-b09 with JDK Private Build-1.8.0_252-8u252-b09-118.04-b09 generated 25 new + 137 unchanged - 25 fixed = 162 total (was 162)
+1 💚javac16m 46sthe patch passed
-0 ⚠️checkstyle2m 59sroot: The patch generated 1 new + 826 unchanged - 0 fixed = 827 total (was 826)
+1 💚mvnsite4m 6sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient14m 1spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 53sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc4m 0sthe patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚findbugs8m 22sthe patch passed
_ Other Tests _
+1 💚unit9m 23shadoop-common in the patch passed.
+1 💚unit2m 20shadoop-hdfs-client in the patch passed.
-1 ❌unit114m 52shadoop-hdfs in the patch passed.
+1 💚asflicense1m 7sThe patch does not generate ASF License warnings.
309m 49s
ReasonTests
Failed junit testshadoop.hdfs.TestDFSStorageStateRecovery
hadoop.hdfs.server.namenode.TestFSEditLogLoader
hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
hadoop.hdfs.TestReconstructStripedFile
hadoop.hdfs.TestDecommissionWithStripedBackoffMonitor
hadoop.hdfs.server.namenode.TestQuotaByStorageType
hadoop.hdfs.server.namenode.ha.TestStandbyInProgressTail
hadoop.hdfs.server.namenode.TestFSDirectory
hadoop.hdfs.server.namenode.TestFsck
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.server.namenode.ha.TestBootstrapAliasmap
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.server.namenode.TestNamenodeRetryCache
hadoop.hdfs.TestErasureCodeBenchmarkThroughput
hadoop.hdfs.server.namenode.TestBlockPlacementPolicyRackFaultTolerant
hadoop.hdfs.server.namenode.ha.TestHASafeMode
hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 1720ab99aba2 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / 975b602
Default JavaPrivate Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_252-8u252-b09-1~18.04-b09.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/artifact/out/diff-checkstyle-root.txt
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/testReport/
Max. process+thread count4146 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/13/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec34m 9sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗buf0m 0sbuf was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗mvndep3m 19sMaven dependency ordering for branch
+1 💚mvninstall48m 25strunk passed
+1 💚compile25m 45strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚compile21m 33strunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚checkstyle3m 41strunk passed
+1 💚mvnsite4m 22strunk passed
+1 💚shadedclient24m 54sbranch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 28strunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 33strunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+0 🆗spotbugs2m 36sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs8m 4strunk passed
_ Patch Compile Tests _
+0 🆗mvndep0m 22sMaven dependency ordering for patch
+1 💚mvninstall2m 49sthe patch passed
+1 💚compile20m 10sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
-1 ❌cc20m 10sroot-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 27 new + 135 unchanged - 27 fixed = 162 total (was 162)
+1 💚javac20m 10sthe patch passed
+1 💚compile17m 42sthe patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
-1 ❌cc17m 42sroot-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu218.04-b01 with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu218.04-b01 generated 25 new + 137 unchanged - 25 fixed = 162 total (was 162)
+1 💚javac17m 42sthe patch passed
-0 ⚠️checkstyle3m 35sroot: The patch generated 1 new + 826 unchanged - 0 fixed = 827 total (was 826)
+1 💚mvnsite3m 47sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedclient16m 9spatch has no errors when building and testing our client artifacts.
+1 💚javadoc1m 26sthe patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚javadoc3m 36sthe patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
+1 💚findbugs8m 24sthe patch passed
_ Other Tests _
+1 💚unit9m 21shadoop-common in the patch passed.
+1 💚unit2m 9shadoop-hdfs-client in the patch passed.
-1 ❌unit121m 17shadoop-hdfs in the patch passed.
+1 💚asflicense0m 57sThe patch does not generate ASF License warnings.
387m 35s
ReasonTests
Failed junit testshadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics
hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader
hadoop.hdfs.TestSafeModeWithStripedFileWithRandomECPolicy
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/artifact/out/Dockerfile
GITHUB PR#2176
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc buflint bufcompat
unameLinux 5425af46f42b 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / 5e0f879
Default JavaPrivate Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
cchttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt
checkstylehttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/artifact/out/diff-checkstyle-root.txt
unithttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/testReport/
Max. process+thread count2650 (vs. ulimit of 5500)
modulesC: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2176/14/console
versionsgit=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered byApache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@smengcl

smengcl commented Aug 11, 2020

Copy link
Copy Markdown
ContributorAuthor

Reran the test. Much less unrelated flaky test failures now.

I'm merging this PR in a minute.

@smengcl
smengcl merged commit 3fd3aeb into apache:trunkAug 11, 2020
@jojochuang

Copy link
Copy Markdown
Contributor

I'm late to this. But we should verify to make sure httpfs also behaves the sames. Otherwise it'll break Hue.

@smengcl

smengcl commented Sep 14, 2020

Copy link
Copy Markdown
ContributorAuthor

I'm late to this. But we should verify to make sure httpfs also behaves the sames. Otherwise it'll break Hue.

hey @jojochuang, thanks for checking in!

I have written a simple test for verifying HttpFS (over WebHDFS). HttpFS works as expected. But I haven't figured out how to add a config to the HDFS cluster that BaseTestHttpFSWith launches. Currently the config change for this test is a bit hacky. Ergo, I haven't submitted a patch for new jira to add this test. I would file a new jira to add it once this little problem is solved.

HDFS-15492.TestHttpFS.001.patch.txt

jojochuang pushed a commit to jojochuang/hadoop that referenced this pull request May 23, 2023
…he#2176)
Conflicts: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelperClient.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
Change-Id: Ibe23d5760d61326865dad93460c6b426d002947d
(cherry picked from commit 10ce000)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@smengcl@hadoop-yetus@jojochuang@bshashikant