You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "James Duong (Jira)" <ji...@apache.org> on 2020/10/08 16:52:00 UTC

[jira] [Commented] (ARROW-10206) [Python][C++][FlightRPC] Add client option to disable server validation

    [ https://issues.apache.org/jira/browse/ARROW-10206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210329#comment-17210329 ] 

James Duong commented on ARROW-10206:
-------------------------------------

In the PR above, we support building against multiple versions of gRPC.
1. Prior to 1.27, the features in gRPC needed to support this don't exist. The option to disable server verification fails at runtime if used.
2. Between 1.27 to 1.31 (inclusive), the features needed are in the grpc_impl::experimental namespace. Compile the code in Flight client using that namespace.
3. From 1.32 and later, the features are in the grpc::experimental namespace. Compile the code in Flight client using that namespace.

> [Python][C++][FlightRPC] Add client option to disable server validation
> -----------------------------------------------------------------------
>
>                 Key: ARROW-10206
>                 URL: https://issues.apache.org/jira/browse/ARROW-10206
>             Project: Apache Arrow
>          Issue Type: Sub-task
>            Reporter: James Duong
>            Assignee: James Duong
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Note that this requires using grpc-cpp version 1.25 or higher.
> This requires using GRPC's TlsCredentials class, which is in a different namespace for 1.25-1.31 vs. 1.32+ as well.
> This class and its related options provide an option to disable server certificate checks and require the caller to supply a callback to be used instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)