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/01/17 04:20:16 UTC

[GitHub] [spark] pan3793 opened a new pull request #35223: [SPARK-37925] Update document to mention the workaround for YARN-11053

pan3793 opened a new pull request #35223:
URL: https://github.com/apache/spark/pull/35223


   ### What changes were proposed in this pull request?
   
   Update document "Running multiple versions of the Spark Shuffle Service" to mention the workaround for YARN-11053
   
   ### Why are the changes needed?
   
   User may stuck when they following the current document to deploy multi-versions Spark Shuffle Service on YARN because of [YARN-11053](https://issues.apache.org/jira/browse/YARN-11053)
   
   ### Does this PR introduce _any_ user-facing change?
   
   User document changes.
   
   ### How was this patch tested?
   
   No code change.
   


-- 
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 change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
srowen commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r790287713



##########
File path: docs/running-on-yarn.md
##########
@@ -913,7 +913,11 @@ with a mixed workload of applications running multiple Spark versions, since a g
 the shuffle service is not always compatible with other versions of Spark. YARN versions since 2.9.0
 support the ability to run shuffle services within an isolated classloader
 (see [YARN-4577](https://issues.apache.org/jira/browse/YARN-4577)), meaning multiple Spark versions
-can coexist within a single NodeManager. The
+can coexist within a single NodeManager. There is an issue

Review comment:
       Let's clean up the sentence a little:
   "Note that versions of YARN prior to 3.3.2/3.4.0 have an issue[...] which requires setting `yarn.nodemanager.aux-services.<service-name>.system-classes` as a workaround. See issue for details." 

##########
File path: docs/running-on-yarn.md
##########
@@ -923,7 +927,11 @@ above. For example, you may have configuration like:
 ```properties
   yarn.nodemanager.aux-services = spark_shuffle_x,spark_shuffle_y
   yarn.nodemanager.aux-services.spark_shuffle_x.classpath = /path/to/spark-x-yarn-shuffle.jar,/path/to/spark-x-config
+  # workaround for YARN-11053
+  yarn.nodemanager.aux-services.spark_shuffle_x.system-classes = classes.other.than.spark.shuffle.service.classes
   yarn.nodemanager.aux-services.spark_shuffle_y.classpath = /path/to/spark-y-yarn-shuffle.jar,/path/to/spark-y-config
+  # workaround for YARN-11053
+  yarn.nodemanager.aux-services.spark_shuffle_y.system-classes = classes.other.than.spark.shuffle.service.classes

Review comment:
       Let's not add this as it is a workaround for older YARN. It does not need to be a part of Spark docs




-- 
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 closed pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
srowen closed pull request #35223:
URL: https://github.com/apache/spark/pull/35223


   


-- 
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] xkrogen commented on a change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
xkrogen commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r789813717



##########
File path: docs/running-on-yarn.md
##########
@@ -923,7 +927,11 @@ above. For example, you may have configuration like:
 ```properties
   yarn.nodemanager.aux-services = spark_shuffle_x,spark_shuffle_y
   yarn.nodemanager.aux-services.spark_shuffle_x.classpath = /path/to/spark-x-yarn-shuffle.jar,/path/to/spark-x-config
+  # workaround for YARN-11053
+  yarn.nodemanager.aux-services.spark_shuffle_x.system-classes = classes.other.than.spark.shuffle.service.classes
   yarn.nodemanager.aux-services.spark_shuffle_y.classpath = /path/to/spark-y-yarn-shuffle.jar,/path/to/spark-y-config
+  # workaround for YARN-11053
+  yarn.nodemanager.aux-services.spark_shuffle_y.system-classes = classes.other.than.spark.shuffle.service.classes

Review comment:
       Rather than setting it to some arbitrary class name, it would be better to set it to an empty string. In this way, the `ApplicationClassLoader` will be configured to use the default system classes ([ref](https://github.com/apache/hadoop/blob/03cfc852791c14fad39db4e5b14104a276c08e59/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ApplicationClassLoader.java#L94-L97)). This is probably more desirable behavior than completely overriding the system classes config, and is more similar to the changes from YARN-11053.




-- 
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] pan3793 commented on pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
pan3793 commented on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1027272784


   Updated based on comments, would you please take a look again? @srowen 


-- 
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] pan3793 commented on pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
pan3793 commented on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1014377705


   @itholic updated.


-- 
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] itholic commented on pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
itholic commented on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1018034108


   @xkrogen Could you happen to take a look at this since you initially writing the "Running multiple versions of the Spark Shuffle Service" section ?? (https://github.com/apache/spark/pull/31936)
   
   also cc @tgravescs @dongjoon-hyun as a reviewer of the previous PR, FYI.


-- 
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] pan3793 commented on a change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
pan3793 commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r797278639



##########
File path: docs/running-on-yarn.md
##########
@@ -916,9 +916,12 @@ support the ability to run shuffle services within an isolated classloader
 can coexist within a single NodeManager. The
 `yarn.nodemanager.aux-services.<service-name>.classpath` and, starting from YARN 2.10.2/3.1.1/3.2.0,
 `yarn.nodemanager.aux-services.<service-name>.remote-classpath` options can be used to configure
-this. In addition to setting up separate classpaths, it's necessary to ensure the two versions
-advertise to different ports. This can be achieved using the `spark-shuffle-site.xml` file described
-above. For example, you may have configuration like:
+this. Notes that YARN 3.3.0/3.3.1 have an issue which requires setting

Review comment:
       updated.




-- 
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] tgravescs commented on a change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
tgravescs commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r795003472



##########
File path: docs/running-on-yarn.md
##########
@@ -913,7 +913,11 @@ with a mixed workload of applications running multiple Spark versions, since a g
 the shuffle service is not always compatible with other versions of Spark. YARN versions since 2.9.0
 support the ability to run shuffle services within an isolated classloader
 (see [YARN-4577](https://issues.apache.org/jira/browse/YARN-4577)), meaning multiple Spark versions
-can coexist within a single NodeManager. The
+can coexist within a single NodeManager. There is an issue

Review comment:
       does this affect all 2.9.0 til 3.3.2?  it would be good to be explicit about the versions it affects. 




-- 
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] pan3793 commented on a change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
pan3793 commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r797003383



##########
File path: docs/running-on-yarn.md
##########
@@ -913,7 +913,11 @@ with a mixed workload of applications running multiple Spark versions, since a g
 the shuffle service is not always compatible with other versions of Spark. YARN versions since 2.9.0
 support the ability to run shuffle services within an isolated classloader
 (see [YARN-4577](https://issues.apache.org/jira/browse/YARN-4577)), meaning multiple Spark versions
-can coexist within a single NodeManager. The
+can coexist within a single NodeManager. There is an issue

Review comment:
       Thanks for comments, updated.




-- 
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 #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

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


   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] itholic commented on pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
itholic commented on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1014148720


   Could you also include the screen-capture for generated web documentation in the PR description ??


-- 
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 pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
srowen commented on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1030647725


   Merged to master


-- 
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 change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
srowen commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r797046615



##########
File path: docs/running-on-yarn.md
##########
@@ -916,9 +916,12 @@ support the ability to run shuffle services within an isolated classloader
 can coexist within a single NodeManager. The
 `yarn.nodemanager.aux-services.<service-name>.classpath` and, starting from YARN 2.10.2/3.1.1/3.2.0,
 `yarn.nodemanager.aux-services.<service-name>.remote-classpath` options can be used to configure
-this. In addition to setting up separate classpaths, it's necessary to ensure the two versions
-advertise to different ports. This can be achieved using the `spark-shuffle-site.xml` file described
-above. For example, you may have configuration like:
+this. Notes that YARN 3.3.0/3.3.1 have an issue which requires setting

Review comment:
       Notes -> note
   as a workaround, see -> as a workaround. See

##########
File path: docs/running-on-yarn.md
##########
@@ -916,9 +916,12 @@ support the ability to run shuffle services within an isolated classloader
 can coexist within a single NodeManager. The
 `yarn.nodemanager.aux-services.<service-name>.classpath` and, starting from YARN 2.10.2/3.1.1/3.2.0,
 `yarn.nodemanager.aux-services.<service-name>.remote-classpath` options can be used to configure
-this. In addition to setting up separate classpaths, it's necessary to ensure the two versions
-advertise to different ports. This can be achieved using the `spark-shuffle-site.xml` file described
-above. For example, you may have configuration like:
+this. Notes that YARN 3.3.0/3.3.1 have an issue which requires setting

Review comment:
       Notes -> Note
   as a workaround, see -> as a workaround. See




-- 
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] xkrogen commented on a change in pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
xkrogen commented on a change in pull request #35223:
URL: https://github.com/apache/spark/pull/35223#discussion_r795952131



##########
File path: docs/running-on-yarn.md
##########
@@ -913,7 +913,11 @@ with a mixed workload of applications running multiple Spark versions, since a g
 the shuffle service is not always compatible with other versions of Spark. YARN versions since 2.9.0
 support the ability to run shuffle services within an isolated classloader
 (see [YARN-4577](https://issues.apache.org/jira/browse/YARN-4577)), meaning multiple Spark versions
-can coexist within a single NodeManager. The
+can coexist within a single NodeManager. There is an issue

Review comment:
       As I [mentioned above](https://github.com/apache/spark/pull/35223#pullrequestreview-859780638), this should only affect versions 3.3.0 and 3.3.1




-- 
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] itholic edited a comment on pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
itholic edited a comment on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1014148720


   Could you also include the screen-capture for generated web documentation in the PR description if possible ??


-- 
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] pan3793 commented on pull request #35223: [SPARK-37925][DOC] Update document to mention the workaround for YARN-11053

Posted by GitBox <gi...@apache.org>.
pan3793 commented on pull request #35223:
URL: https://github.com/apache/spark/pull/35223#issuecomment-1016547917


   @itholic could you please take a look again?


-- 
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