airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Beauchemin <maximebeauche...@gmail.com>
Subject Re: Regarding hive server2
Date Wed, 26 Oct 2016 15:47:44 GMT
>From memory, I think this is related to having the wrong authentication
method.
https://github.com/apache/incubator-airflow/blob/master/airflow/hooks/hive_hooks.py#L578

You may want to try NOSASL. To do that i think you have to put something
like `{ "authMechanism": "NOSASL" }` in your Connection's extra params.

On Wed, Oct 26, 2016 at 1:50 AM, twinkle sachdeva <
twinkle.sachdeva@gmail.com> wrote:

> Hi,
>
> I am trying to use HiveToMySqlTransfer operator, but I am not able to read
> any data with the following configuration:
>
> TSocket.py", line 120, in read
>
>     message='TSocket read 0 bytes')
>
> thrift.transport.TTransport.TTransportException: TSocket read 0 bytes
>
> It seems to happen due to some mismatch in thrift protocol etc
> specification.
>
> Please help me on what can be done.
>
>
> Regards,
>
> Twinkle
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message