You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Alexey Ustyantsev (JIRA)" <ji...@apache.org> on 2016/06/01 09:03:59 UTC

[jira] [Created] (AIRFLOW-201) HiveMetastoreHook kerberos support is broken

Alexey Ustyantsev created AIRFLOW-201:
-----------------------------------------

             Summary: 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)