You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@goiri@slfan1989 Sir, this pr is used to improve code with Lambada in org.apache.hadoop.hdfs.server.namenode sub packages. Please help me review, thanks.
The 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 💚
mvninstall
45m 1s
trunk passed
+1 💚
compile
1m 59s
trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
compile
1m 42s
trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
checkstyle
1m 20s
trunk passed
+1 💚
mvnsite
1m 59s
trunk passed
+1 💚
javadoc
1m 32s
trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javadoc
1m 55s
trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
spotbugs
4m 19s
trunk passed
+1 💚
shadedclient
29m 1s
branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚
mvninstall
1m 34s
the patch passed
+1 💚
compile
1m 41s
the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javac
1m 41s
the patch passed
+1 💚
compile
1m 30s
the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
The 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 💚
mvninstall
41m 48s
trunk passed
+1 💚
compile
1m 44s
trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
compile
1m 33s
trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
checkstyle
1m 19s
trunk passed
+1 💚
mvnsite
1m 44s
trunk passed
+1 💚
javadoc
1m 21s
trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javadoc
1m 48s
trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
spotbugs
4m 1s
trunk passed
+1 💚
shadedclient
27m 6s
branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚
mvninstall
1m 32s
the patch passed
+1 💚
compile
1m 38s
the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javac
1m 38s
the patch passed
+1 💚
compile
1m 25s
the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
javac
1m 25s
the patch passed
+1 💚
blanks
0m 0s
The patch has no blanks issues.
+1 💚
checkstyle
1m 3s
hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 92 unchanged - 11 fixed = 92 total (was 103)
+1 💚
mvnsite
1m 37s
the patch passed
+1 💚
javadoc
1m 0s
the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javadoc
1m 34s
the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
spotbugs
3m 43s
the patch passed
+1 💚
shadedclient
26m 22s
patch has no errors when building and testing our client artifacts.
The 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 💚
mvninstall
41m 9s
trunk passed
+1 💚
compile
1m 43s
trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
compile
1m 33s
trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
checkstyle
1m 17s
trunk passed
+1 💚
mvnsite
1m 41s
trunk passed
+1 💚
javadoc
1m 21s
trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javadoc
1m 43s
trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
spotbugs
3m 52s
trunk passed
+1 💚
shadedclient
26m 5s
branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+1 💚
mvninstall
1m 24s
the patch passed
+1 💚
compile
1m 31s
the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javac
1m 31s
the patch passed
+1 💚
compile
1m 22s
the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
javac
1m 22s
the patch passed
+1 💚
blanks
0m 0s
The patch has no blanks issues.
+1 💚
checkstyle
1m 1s
hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 90 unchanged - 11 fixed = 90 total (was 101)
+1 💚
mvnsite
1m 26s
the patch passed
+1 💚
javadoc
0m 59s
the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚
javadoc
1m 30s
the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚
spotbugs
3m 35s
the patch passed
+1 💚
shadedclient
26m 17s
patch has no errors when building and testing our client artifacts.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Improve Code with Lambda in org.apahce.hadoop.hdfs.server.namenode sub packages.
For example:
Current logic:
Improved Code with Lambda: