You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2023/09/21 13:09:06 UTC

[GitHub] [spark] LuciferYang opened a new pull request, #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

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

   ### What changes were proposed in this pull request?
   This pr escape the greater than and less than symbols in the comments to make `sbt doc` execute successfully.
   
   ### Why are the changes needed?
   The `sbt doc` command execution failed.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   - Pass GitHub Actions
   - Manual check:
   
   run 
   ```
   build/sbt clean doc -Phadoop-3 -Phadoop-cloud -Pmesos -Pyarn -Pkinesis-asl -Phive-thriftserver -Pspark-ganglia-lgpl -Pkubernetes -Phive -Pvolcano
   ```
   
   or 
   
   ```
   dev/change-scala-version.sh 2.13
   build/sbt clean doc -Phadoop-3 -Phadoop-cloud -Pmesos -Pyarn -Pkinesis-asl -Phive-thriftserver -Pspark-ganglia-lgpl -Pkubernetes -Phive -Pvolcano -Pscala-2.13
   ```
   
   Before
   
   The `sbt doc` command execution failed like:
   
   ```
   [info] Main Scala API documentation successful.
   [error] sbt.inc.Doc$JavadocGenerationFailed
   [error]         at sbt.inc.Doc$.sbt$inc$Doc$$$anonfun$cachedJavadoc$1(Doc.scala:51)
   [error]         at sbt.inc.Doc$$anonfun$cachedJavadoc$2.run(Doc.scala:41)
   [error]         at sbt.inc.Doc$.sbt$inc$Doc$$$anonfun$prepare$1(Doc.scala:62)
   [error]         at sbt.inc.Doc$$anonfun$prepare$5.run(Doc.scala:57)
   [error]         at sbt.inc.Doc$.go$1(Doc.scala:73)
   [error]         at sbt.inc.Doc$.$anonfun$cached$5(Doc.scala:82)
   [error]         at sbt.inc.Doc$.$anonfun$cached$5$adapted(Doc.scala:81)
   [error]         at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:220)
   [error]         at sbt.inc.Doc$.sbt$inc$Doc$$$anonfun$cached$1(Doc.scala:85)
   [error]         at sbt.inc.Doc$$anonfun$cached$7.run(Doc.scala:68)
   [error]         at sbt.Defaults$.$anonfun$docTaskSettings$4(Defaults.scala:2178)
   [error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
   [error]         at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
   [error]         at sbt.std.Transform$$anon$4.work(Transform.scala:69)
   [error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
   [error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
   [error]         at sbt.Execute.work(Execute.scala:292)
   [error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
   [error]         at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
   [error]         at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
   [error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   [error]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   [error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   [error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   [error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   [error]         at java.lang.Thread.run(Thread.java:750)
   [error] sbt.inc.Doc$JavadocGenerationFailed
   [error]         at sbt.inc.Doc$.sbt$inc$Doc$$$anonfun$cachedJavadoc$1(Doc.scala:51)
   [error]         at sbt.inc.Doc$$anonfun$cachedJavadoc$2.run(Doc.scala:41)
   [error]         at sbt.inc.Doc$.sbt$inc$Doc$$$anonfun$prepare$1(Doc.scala:62)
   [error]         at sbt.inc.Doc$$anonfun$prepare$5.run(Doc.scala:57)
   [error]         at sbt.inc.Doc$.go$1(Doc.scala:73)
   [error]         at sbt.inc.Doc$.$anonfun$cached$5(Doc.scala:82)
   [error]         at sbt.inc.Doc$.$anonfun$cached$5$adapted(Doc.scala:81)
   [error]         at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:220)
   [error]         at sbt.inc.Doc$.sbt$inc$Doc$$$anonfun$cached$1(Doc.scala:85)
   [error]         at sbt.inc.Doc$$anonfun$cached$7.run(Doc.scala:68)
   [error]         at sbt.Defaults$.$anonfun$docTaskSettings$4(Defaults.scala:2178)
   [error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
   [error]         at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
   [error]         at sbt.std.Transform$$anon$4.work(Transform.scala:69)
   [error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
   [error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
   [error]         at sbt.Execute.work(Execute.scala:292)
   [error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
   [error]         at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
   [error]         at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
   [error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   [error]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   [error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   [error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   [error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   [error]         at java.lang.Thread.run(Thread.java:750)
   [error] (network-yarn / Compile / doc) sbt.inc.Doc$JavadocGenerationFailed
   [error] (network-shuffle / Compile / doc) sbt.inc.Doc$JavadocGenerationFailed
   [error] Total time: 126 s (02:06), completed 2023-9-21 20:51:43
   ```
   
   After
   
   The `sbt doc` command executed successfully.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
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] dongjoon-hyun closed pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully
URL: https://github.com/apache/spark/pull/43032


-- 
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] mridulm commented on pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

Posted by "mridulm (via GitHub)" <gi...@apache.org>.
mridulm commented on PR #43032:
URL: https://github.com/apache/spark/pull/43032#issuecomment-1730006231

   A `grep` showed a bunch of cases - but I was not sure how many of them were in scope for `sbt doc` - if it worked, obviously they were not :-)
   Thanks for fixing this @LuciferYang !


-- 
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] LuciferYang commented on pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on PR #43032:
URL: https://github.com/apache/spark/pull/43032#issuecomment-1731439172

   Thanks @dongjoon-hyun and @mridulm ~


-- 
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] mridulm commented on pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

Posted by "mridulm (via GitHub)" <gi...@apache.org>.
mridulm commented on PR #43032:
URL: https://github.com/apache/spark/pull/43032#issuecomment-1729992681

   Curious, are these the only case which is impacting ?


-- 
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] LuciferYang commented on pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on PR #43032:
URL: https://github.com/apache/spark/pull/43032#issuecomment-1729998731

   It seems so. After fix these two cases, executing `build/sbt clean doc -Phadoop-3 -Phadoop-cloud -Pmesos -Pyarn -Pkinesis-asl -Phive-thriftserver -Pspark-ganglia-lgpl -Pkubernetes -Phive -Pvolcano` can succeed.  Are there more that need to be checked? @mridulm 


-- 
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] dongjoon-hyun commented on pull request #43032: [SPARK-45252][CORE] Escape the greater/less than symbols in the comments to make `sbt doc` execute successfully

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #43032:
URL: https://github.com/apache/spark/pull/43032#issuecomment-1730468170

   The Yarn cluster suite failure is a known flaky one. 
   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