2

I am trying to execute a Airflow script and get error when checking the logs of the Task_id in the Graph View:

Hi,

I am getting a log file isn't local error when running a Airflow script. given below is the error message I get from the Graph view.

View of the Airflow UI - Graph View

Error log - Graph View

I am using Sqlite DB locally and the function I am trying to execute is connecting to a Amazon Redshift DB.

Could anyone assist. Thanks..

dark horse
  • 3,211
  • 8
  • 19
  • 35

1 Answers1

0

The url looks strange: http://:8793/log... - the host name is missing.

It seems to me that there is no correct configuration of the base_url or web_server_host parameter in airflow.cfg.

If this is all setup correctly, then the settings for log storage might be off.

tobi6
  • 8,033
  • 6
  • 26
  • 41
  • if I schedule these scripts they run properly. Only when I manually trigger them do I encounter this problem. Currently these are my values in "airflow.cfg" file web_server_host = 0.0.0.0, base_url = http://localhost:8080 – dark horse May 28 '18 at 08:45
  • yes the scheduled scripts have correct logs and performed the task as expected – dark horse May 28 '18 at 08:51