airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lulu Cheng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1466) Hostname does not match domain name on ec2
Date Wed, 26 Jul 2017 14:55:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lulu Cheng updated AIRFLOW-1466:
--------------------------------
    Summary: Hostname does not match domain name on ec2  (was: hostname does not match domain
name on ec2)

> Hostname does not match domain name on ec2
> ------------------------------------------
>
>                 Key: AIRFLOW-1466
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1466
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>    Affects Versions: Airflow 1.8
>         Environment: AWS EMR 5.6, Amazon Linux AMI release 2017.03
>            Reporter: Lulu Cheng
>            Assignee: Lulu Cheng
>
> When running jobs on EMR master, it'll throw the following error
> {code}
> AirflowException("Hostname of job runner does not match")
> {code}
> upon investigation, taskinstance.hostname is set to ec2 host name whereas socket.getfqdn
is returning full domain name. It's essentially the same, for example ip-1-2-3-4 versus ip-1-2-3-4.ec2.internal.
> Fix is to instead of calling fqdn, call gethostname.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message