You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "amogkam (via GitHub)" <gi...@apache.org> on 2024/07/30 00:34:02 UTC

Re: [PR] [SPARK-48210][DOC]Modify the description of whether dynamic partition… [spark]

amogkam commented on PR #46496:
URL: https://github.com/apache/spark/pull/46496#issuecomment-2257244720

   also running into this error with 3.5.1 when trying to use stage level scheduling with `dynamicAllocation` set to False
   
   ```
   : org.apache.spark.SparkException: ResourceProfiles are only supported on YARN and Kubernetes and Standalone with dynamic allocation enabled.
   	at org.apache.spark.resource.ResourceProfileManager.isSupported(ResourceProfileManager.scala:88)
   	at org.apache.spark.resource.ResourceProfileManager.addResourceProfile(ResourceProfileManager.scala:127)
   	at org.apache.spark.rdd.RDD.withResources(RDD.scala:1832)
   	at org.apache.spark.api.java.JavaRDD.withResources(JavaRDD.scala:59)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
   	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)
   	at py4j.Gateway.invoke(Gateway.java:282)
   	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
   	at py4j.commands.CallCommand.execute(CallCommand.java:79)
   	at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
   	at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
   	at java.base/java.lang.Thread.run(Thread.java:829)
   ```


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