potiuk edited a comment on pull request #11509:
URL: https://github.com/apache/airflow/pull/11509#issuecomment-730630169


   When I look at he latest 2020.11.13 release of the elastic search i see this 
in es_log_task_handler.py (seems perfectly OK):
   
   ```
   from airflow.configuration import conf
   from airflow.models import TaskInstance
   from airflow.utils import timezone
   from airflow.utils.helpers import parse_template_string
   from airflow.providers.elasticsearch.common.utils.log.file_task_handler 
import FileTaskHandler
   from airflow.utils.log.json_formatter import JSONFormatter
   from airflow.utils.log.logging_mixin import LoggingMixin
   ```
   
   You can see it yourself. I checked it here: 
https://dist.apache.org/repos/dist/release/airflow/backport-providers/apache-airflow-backport-providers-elasticsearch-2020.11.13-bin.tar.gz
 
   
   as well as in the files downloaded from PyPI: 
https://pypi.org/project/apache-airflow-backport-providers-elasticsearch/#files
   
   So I'd say you have some problem with your installation - most likely the 
2020.11.13 version of elasticsearch has not been installed properly - can you 
check with the PyPI and which version is really installed (send us the output 
of `pip freeze`? We have a change in progress to be able to dump the 
installation information of Airflow (will be there in Airflow 2.0) and I hope 
to get the providers info as part of the 2.0 release (cc: @ashb)  so that you 
will be able to dump information of which provider versions are installed and 
accessible in your installation, but for now we have to rely on PyPI 
information and hope it is correct.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to