[ 
https://issues.apache.org/jira/browse/BEAM-6056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ahmet Altay reopened BEAM-6056:
-------------------------------

This breaks Dataflow streaming when conscrypt SSL is disabled ([BEAM-6182]). 
Gprc requires a ssl provider out of a specific set 
(https://github.com/grpc/grpc-java/issues/4879) conscrypt is one of them. 

Another option tcnative should be available but seems to be not be shaded 
correctly:
https://github.com/apache/beam/blob/ab59d6d083ad9d84dd1295ee11f49b3f8bb84ba2/buildSrc/src/main/groovy/org/apache/beam/gradle/GrpcVendoring.groovy#L41

It seems to be a side effect of how tcnative is converting the 
org_apache_beam_vendor_grpc_v1_13_1 library prefix into the necessary class 
location of  here: 
https://github.com/netty/netty-tcnative/blob/fb0af60c8192bc27dace7f84f121c410a78dd135/openssl-dynamic/src/main/c/jnilib.c#L266

The issue is that it is replacing _ with / so we are getting 
org/apache/beam/vendor/grpc/v1/13/1 as the prefix instead of 
org/apache/beam/vendor/grpc/v1_13_1 and we can't find the correct package.

> Migrate gRPC to use vendoring library and vendoring format
> ----------------------------------------------------------
>
>                 Key: BEAM-6056
>                 URL: https://issues.apache.org/jira/browse/BEAM-6056
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: Minor
>              Labels: portability
>             Fix For: 2.10.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> This thread discusses the work: 
> https://lists.apache.org/thread.html/4c12db35b40a6d56e170cd6fc8bb0ac4c43a99aa3cb7dbae54176815@%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to