You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Oliver Mayer (Jira)" <ji...@apache.org> on 2021/09/03 03:23:00 UTC
[jira] [Updated] (ARROW-13881) Error message says "Please use a
release of Arrow Flight built with gRPC 1.27 or higher." although I'm using
gRPC 1.39
[ https://issues.apache.org/jira/browse/ARROW-13881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Mayer updated ARROW-13881:
---------------------------------
Description:
When initializing the FlightClient I get the following error message:
{quote}ArrowNotImplementedError: Using encryption with server verification disabled is unsupported. Please use a release of Arrow Flight built with gRPC 1.27 or higher.
{quote}
Traceback:
!image-2021-09-03-11-10-01-004.png!
Verions: Python 3.9.5
{noformat}
# Name Version Build Channel
arrow-cpp 5.0.0 py39h037c299_3_cpu conda-forge
pyarrow 5.0.0 py39hf9247be_3_cpu conda-forge
grpc-cpp 1.39.1 h1072645_0 conda-forge
grpcio 1.38.1 py39hb76b349_0 conda-forge
{noformat}
Code is similar to:
{code:java}
import pandas
from pyarrow import flight
class XYZClient(): __scheme = "grpc+tls"
__token = None
__flightclient = None def __init__(self, username, password, hostname="some-host", flightport=32010):
flight_client = flight.FlightClient(
"{}://{}:{}".format(self.__scheme, hostname, flightport),
middleware=[DremioClient.DremioClientAuthMiddlewareFactory()],
disable_server_verification=True
)
self.__token = flight_client.authenticate_basic_token(
username, password)
self.__flightclient = flight_client
{code}
There has been a similar issue (https://issues.apache.org/jira/browse/ARROW-11695#) for an earlier version of pyarrow that has been marked as resolved.
was:
When initializing the FlightClient I get the following error message:
{quote}ArrowNotImplementedError: Using encryption with server verification disabled is unsupported. Please use a release of Arrow Flight built with gRPC 1.27 or higher.
{quote}
Traceback:
!image-2021-09-03-11-10-01-004.png!
Verions: Python 3.9.5
{noformat}
# Name Version Build Channel
arrow-cpp 5.0.0 py39h037c299_3_cpu conda-forge
pyarrow 5.0.0 py39hf9247be_3_cpu conda-forge
grpc-cpp 1.39.1 h1072645_0 conda-forge
grpcio 1.38.1 py39hb76b349_0 conda-forge
{noformat}
Code is similar to:
{code:java}
import pandas
from pyarrow import flightclass XYZClient(): __scheme = "grpc+tls"
__token = None
__flightclient = None def __init__(self, username, password, hostname="some-host", flightport=32010):
flight_client = flight.FlightClient(
"{}://{}:{}".format(self.__scheme, hostname, flightport),
middleware=[DremioClient.DremioClientAuthMiddlewareFactory()],
disable_server_verification=True
)
self.__token = flight_client.authenticate_basic_token(
username, password)
self.__flightclient = flight_client
{code}
There has been a similar issue ([|https://issues.apache.org/jira/browse/ARROW-11695#]) for an earlier version of pyarrow that has been marked as resolved.
> Error message says "Please use a release of Arrow Flight built with gRPC 1.27 or higher." although I'm using gRPC 1.39
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-13881
> URL: https://issues.apache.org/jira/browse/ARROW-13881
> Project: Apache Arrow
> Issue Type: Bug
> Components: FlightRPC, Packaging, Python
> Affects Versions: 5.0.0
> Reporter: Oliver Mayer
> Priority: Major
> Attachments: image-2021-09-03-11-10-01-004.png
>
>
> When initializing the FlightClient I get the following error message:
> {quote}ArrowNotImplementedError: Using encryption with server verification disabled is unsupported. Please use a release of Arrow Flight built with gRPC 1.27 or higher.
> {quote}
> Traceback:
> !image-2021-09-03-11-10-01-004.png!
>
> Verions: Python 3.9.5
> {noformat}
> # Name Version Build Channel
> arrow-cpp 5.0.0 py39h037c299_3_cpu conda-forge
> pyarrow 5.0.0 py39hf9247be_3_cpu conda-forge
> grpc-cpp 1.39.1 h1072645_0 conda-forge
> grpcio 1.38.1 py39hb76b349_0 conda-forge
> {noformat}
>
> Code is similar to:
> {code:java}
> import pandas
> from pyarrow import flight
> class XYZClient(): __scheme = "grpc+tls"
> __token = None
> __flightclient = None def __init__(self, username, password, hostname="some-host", flightport=32010):
> flight_client = flight.FlightClient(
> "{}://{}:{}".format(self.__scheme, hostname, flightport),
> middleware=[DremioClient.DremioClientAuthMiddlewareFactory()],
> disable_server_verification=True
> )
> self.__token = flight_client.authenticate_basic_token(
> username, password)
> self.__flightclient = flight_client
> {code}
> There has been a similar issue (https://issues.apache.org/jira/browse/ARROW-11695#) for an earlier version of pyarrow that has been marked as resolved.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)