You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before I tell you about my issue, let me describe my Airflow environment:
Airflow version:
154dec0 Merge pull request #1196 from jlowin/subdag_class 3198756 Merge pull request #1231 from msumit/boto_calling_format 16f53cc Add support for calling_format from boto to S3_Hook
Airflow components: UI
Python Version: 2.7
Operating System :
Linux WebServer-101557060-1-116499607 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Description of Issue
The UI is not able to resolve the log file path. This is the error I get
This seems to be happen because the path to the file is formed using the hostname, instead it should use the fully qualified domain name (FQDN).
The text was updated successfully, but these errors were encountered:
Also, even Python docs recommends using getfqdn over gethostname to fetch the hostname of the machine.
socket.gethostname()
Return a string containing the hostname of the machine where the Python interpreter is currently executing. If you want to know the current machine’s IP address, you may want to use gethostbyname(gethostname()). This operation assumes that there is a valid address-to-host mapping for the host, and the assumption does not always hold.Note: gethostname() doesn’t always return the fully qualified domain name; use getfqdn() (see above).
Environment
Before I tell you about my issue, let me describe my Airflow environment:
Airflow version:
154dec0 Merge pull request #1196 from jlowin/subdag_class
3198756 Merge pull request #1231 from msumit/boto_calling_format
16f53cc Add support for calling_format from boto to S3_Hook
Airflow components: UI
Python Version: 2.7
Operating System :
Linux WebServer-101557060-1-116499607 2.6.32-504.30.3.el6.x86_64 #1 SMP Wed Jul 15 10:13:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Description of Issue
The UI is not able to resolve the log file path. This is the error I get
This seems to be happen because the path to the file is formed using the hostname, instead it should use the fully qualified domain name (FQDN).
The text was updated successfully, but these errors were encountered: