You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "liangyongyuan (Jira)" <ji...@apache.org> on 2024/01/12 06:37:00 UTC

[jira] [Created] (SPARK-46696) In ResourceProfileManager, function calls should occur after variable declarations.

liangyongyuan created SPARK-46696:
-------------------------------------

             Summary: In ResourceProfileManager, function calls should occur after variable declarations.
                 Key: SPARK-46696
                 URL: https://issues.apache.org/jira/browse/SPARK-46696
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.5.0
            Reporter: liangyongyuan


As the title suggests, in *ResourceProfileManager*, function calls should be made after variable declarations. When determining *isSupport*, all variables are uninitialized, with booleans defaulting to false and objects to null. While the end result is correct, the evaluation process is abnormal.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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