dongjoon-hyun commented on a change in pull request #35123:
URL: https://github.com/apache/spark/pull/35123#discussion_r780004202
##########
File path: python/pyspark/resource/requests.py
##########
@@ -304,12 +304,9 @@ def __init__(
_jvm = _jvm or SparkContext._jvm # type: ignore[attr-defined]
if _jvm is not None:
- assert SparkContext._jvm is not None
self._java_task_resource_requests: Optional[
JavaObject
- ] = (
-
SparkContext._jvm.org.apache.spark.resource.TaskResourceRequests() # type:
ignore[attr-defined]
- )
+ ] = _jvm.org.apache.spark.resource.TaskResourceRequests()
Review comment:
This file changes also look reasonable.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]