[ 
https://issues.apache.org/jira/browse/AIRFLOW-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713412#comment-16713412
 ] 

ASF GitHub Bot commented on AIRFLOW-3484:
-----------------------------------------

kaxil closed pull request #4296: [AIRFLOW-3484] fixes over-logging in the 
kubernetes executor
URL: https://github.com/apache/incubator-airflow/pull/4296
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/contrib/executors/kubernetes_executor.py 
b/airflow/contrib/executors/kubernetes_executor.py
index 6c1bd222b9..f9d9ddb0fc 100644
--- a/airflow/contrib/executors/kubernetes_executor.py
+++ b/airflow/contrib/executors/kubernetes_executor.py
@@ -590,9 +590,9 @@ def execute_async(self, key, command, queue=None, 
executor_config=None):
 
     def sync(self):
         if self.running:
-            self.log.info('self.running: %s', self.running)
+            self.log.debug('self.running: %s', self.running)
         if self.queued_tasks:
-            self.log.info('self.queued: %s', self.queued_tasks)
+            self.log.debug('self.queued: %s', self.queued_tasks)
         self.kube_scheduler.sync()
 
         last_resource_version = None


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> The KubernetesExecutor is overly verbose and this can kill schedulers.
> ----------------------------------------------------------------------
>
>                 Key: AIRFLOW-3484
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3484
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: kubernetes
>    Affects Versions: 1.10.1
>            Reporter: Daniel Imberman
>            Assignee: Daniel Imberman
>            Priority: Major
>
> There are two log lines in the k8sexecutor that can cause schedulers to crash 
> just by their sheer verbosity. This PR will switch these lines to debug as to 
> not mess with normal workflows.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to