You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/07/15 05:38:22 UTC

[GitHub] [spark] panbingkun opened a new pull request, #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

panbingkun opened a new pull request, #37199:
URL: https://github.com/apache/spark/pull/37199

   ### What changes were proposed in this pull request?
   Review code and found some issue about unused method and redundant throw exception declare.
   
   ### Why are the changes needed?
   Eliminate redundant information and make the code cleaner
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Pass GA.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] panbingkun commented on a diff in pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

Posted by GitBox <gi...@apache.org>.
panbingkun commented on code in PR #37199:
URL: https://github.com/apache/spark/pull/37199#discussion_r922689973


##########
launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java:
##########
@@ -208,7 +208,7 @@ public void testExamplesRunnerNoMainClass() throws Exception {
   }
 
   @Test
-  public void testExamplesRunnerWithMasterNoMainClass() throws Exception {

Review Comment:
   AbstractCommandBuilder.buildClassPath is not test methods.
   In fact, When I review launcher module, I found the following **two kinds** of problems: https://github.com/apache/spark/pull/37199 & https://github.com/apache/spark/pull/37200
   
   #### Should I close the above two PR?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] panbingkun closed pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

Posted by GitBox <gi...@apache.org>.
panbingkun closed pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare
URL: https://github.com/apache/spark/pull/37199


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] panbingkun commented on pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

Posted by GitBox <gi...@apache.org>.
panbingkun commented on PR #37199:
URL: https://github.com/apache/spark/pull/37199#issuecomment-1186651021

   i will close


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on PR #37199:
URL: https://github.com/apache/spark/pull/37199#issuecomment-1186115531

   Can one of the admins verify this patch?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] srowen commented on a diff in pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

Posted by GitBox <gi...@apache.org>.
srowen commented on code in PR #37199:
URL: https://github.com/apache/spark/pull/37199#discussion_r922684065


##########
launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java:
##########
@@ -208,7 +208,7 @@ public void testExamplesRunnerNoMainClass() throws Exception {
   }
 
   @Test
-  public void testExamplesRunnerWithMasterNoMainClass() throws Exception {

Review Comment:
   These are `@Test` methods, so the overly broad signature doesn't matter (they are not called by code)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] srowen commented on a diff in pull request #37199: [SPARK-39789] Remove unused method and redundant throw exception declare

Posted by GitBox <gi...@apache.org>.
srowen commented on code in PR #37199:
URL: https://github.com/apache/spark/pull/37199#discussion_r922702379


##########
launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java:
##########
@@ -208,7 +208,7 @@ public void testExamplesRunnerNoMainClass() throws Exception {
   }
 
   @Test
-  public void testExamplesRunnerWithMasterNoMainClass() throws Exception {

Review Comment:
   THey aren't bad changes, I'm neutral; just generally if there's no real functional improvement, it's not worth opening and reviewing it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org