Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Dremio Arrow Flight error in ubuntu #16

@JemiJey

Description

@JemiJey
  • Dremio client version:
  • Dremio version: Build: 4.0.2-201910020123580864-a98a0b9
  • Edition: Community Edition
  • Python/Arrow version:
  • Operating System: Ubuntu

Description

I'm trying to setup dremio-flight-connector on my local machine

What I Did

I followed all the steps described till this part

git clone https://github.com/dremio-hub/dremio-flight-connector.git
mvn clean install

move the plugin (the shaded jar that is created by maven) to dremio/jars
When I try to connect I am getting this error, can someone guide me how to fix this problem.

---------------------------------------------------------------------------
FlightUnavailableError                    Traceback (most recent call last)
<ipython-input-5-181d735db090> in <module>
     21 
     22 client = flight.FlightClient('grpc+tcp://localhost:47470')
---> 23 client.authenticate(HttpDremioClientAuthHandler(username, password))
     24 info = client.get_flight_info(flight.FlightDescriptor.for_command(sql))
     25 reader = client.do_get(info.endpoints[0].ticket)

~/.local/lib/python3.6/site-packages/pyarrow/_flight.pyx in pyarrow._flight.FlightClient.authenticate()

~/.local/lib/python3.6/site-packages/pyarrow/_flight.pyx in pyarrow._flight.check_flight_status()

FlightUnavailableError: gRPC returned unavailable error, with message: Connect Failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions