dongjoon-hyun commented on code in PR #513:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/513#discussion_r2838703974


##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/AppRunningStep.java:
##########
@@ -96,4 +111,16 @@ public ReconcileProgress reconcile(
           context, statusRecorder, updatedStatus, completeAndDefaultRequeue());
     }
   }
+
+  /**
+   * Checks if dynamic allocation is enabled for the application.
+   *
+   * @param context The SparkAppContext
+   * @return true if dynamic allocation is enabled, false otherwise
+   */
+  private boolean isDynamicAllocationEnabled(SparkAppContext context) {
+      Map<String, String> sparkConf = context.getSparkConf();

Review Comment:
   Do we need to define this variable? Let's simplify by removing this variable 
definition.



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

Reply via email to