Deploy Ballista scheduler and executors using latest code, built from the repo off commit 934b32fd
Install latest pyarrow 14.0.2 in a Python 3.10 environment
Run against your service:
client = flight.FlightClient(f'grpc://{hostname}:{port}')
client.authenticate_basic_token("admin", "password")
query = "select 'Hello from Arrow Ballista!';"
descriptor = flight.FlightDescriptor.for_command(query)
info = client.get_flight_info(descriptor)
# Errors here
Expected behavior
No error and return flight info object.
Additional context
I deployed Ballista in Kubernetes, so it could still be a networking or setup issue. The Ballista scheduler and executor logs seem to suggest they started up correctly though, and there are no errors. The Ballista UI for my deployment also works, and the 'client.authenticate_basic_token' call works in Python, which suggests the server is running correctly and I can connect to it somehow.
I'm new to Rust and the whole DataFusion ecosystem, so I'm not aware if there's an easier way to test if my deployment is working. Any advice would be appreciated.
Describe the bug Various errors occur when trying to get flight info with pyarrow Flight connector against a Ballista deployment using latest code.
Query1:
Error1 after calling
get_flight_info
:Query2:
Error2:
I also tried with the arrow-ballista-python repo, installing its latest code, and I'm unable to connect:
To Reproduce Steps to reproduce the behavior:
14.0.2
in a Python 3.10 environmentRun against your service:
Expected behavior No error and return flight info object.
Additional context I deployed Ballista in Kubernetes, so it could still be a networking or setup issue. The Ballista scheduler and executor logs seem to suggest they started up correctly though, and there are no errors. The Ballista UI for my deployment also works, and the 'client.authenticate_basic_token' call works in Python, which suggests the server is running correctly and I can connect to it somehow.
I'm new to Rust and the whole DataFusion ecosystem, so I'm not aware if there's an easier way to test if my deployment is working. Any advice would be appreciated.