airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Ustyantsev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-201) HiveMetastoreHook kerberos support is broken
Date Wed, 01 Jun 2016 09:13:59 GMT

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

Alexey Ustyantsev commented on AIRFLOW-201:
-------------------------------------------

Fix: https://github.com/apache/incubator-airflow/pull/1563

> HiveMetastoreHook kerberos support is broken
> --------------------------------------------
>
>                 Key: AIRFLOW-201
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-201
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>    Affects Versions: Airflow 1.7.1
>            Reporter: Alexey Ustyantsev
>
> Currently, HiveMetastoreHook on 1.7.1 with kerberos enabled fails with errors like:
> {code}
> [2016-05-31 12:25:20,341] {models.py:1286} ERROR - 'sasl.saslwrapper.Client' object is
not callable
> Traceback (most recent call last):
>   File "/usr/local/opr/virtualenv_airflow/local/lib/python2.7/site-packages/airflow-1.7.1-py2.7.egg/airflow/models.py",
line 1245, in run
>     result = task_copy.execute(context=context)
>   File "/usr/local/opr/virtualenv_airflow/lib/python2.7/site-packages/airflow-1.7.1-py2.7.egg/airflow/operators/sensors.py",
line 56, in execute
>     while not self.poke(context):
>   File "/usr/local/opr/virtualenv_airflow/lib/python2.7/site-packages/airflow-1.7.1-py2.7.egg/airflow/operators/sensors.py",
line 255, in poke
>     self.schema, self.table, self.partition)
>   File "/usr/local/opr/virtualenv_airflow/lib/python2.7/site-packages/airflow-1.7.1-py2.7.egg/airflow/hooks/hive_hooks.py",
line 316, in check_for_partition
>     self.metastore._oprot.trans.open()
>   File "/usr/local/opr/virtualenv_airflow/local/lib/python2.7/site-packages/thrift_sasl/__init__.py",
line 67, in open
>     self.sasl = self.sasl_client_factory()
>   File "/usr/local/opr/virtualenv_airflow/lib/python2.7/site-packages/airflow-1.7.1-py2.7.egg/airflow/hooks/hive_hooks.py",
line 293, in sasl_factory
>     sasl_client("service", kerberos_service_name)
> TypeError: 'sasl.saslwrapper.Client' object is not callable{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message