dongjoon-hyun commented on code in PR #111:
URL:
https://github.com/apache/spark-kubernetes-operator/pull/111#discussion_r1732323300
##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/utils/StatusRecorder.java:
##########
@@ -97,13 +97,14 @@ private void patchAndStatusWithVersionLocked(CR resource,
KubernetesClient clien
resource.getMetadata().setResourceVersion(updated.getMetadata().getResourceVersion());
err = null;
} catch (KubernetesClientException e) {
- log.error("Error while patching status, retrying {}/{}...", i + 1,
maxRetry, e);
+ log.warn("Error while patching status, retrying {}/{}...", i + 1,
maxRetry, e);
Review Comment:
While we are re-trying, we don't need to show this as ERROR because it's
recoverable still.
--
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]