[
https://issues.apache.org/jira/browse/BEAM-8695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999450#comment-16999450
]
Tomo Suzuki edited comment on BEAM-8695 at 12/18/19 7:57 PM:
-------------------------------------------------------------
{noformat}
> Task :sdks:java:io:google-cloud-platform:test
org.apache.beam.sdk.io.gcp.pubsub.PubsubGrpcClientTest > publishOneMessage
FAILED
java.lang.IllegalAccessError at PubsubGrpcClientTest.java:192
org.apache.beam.sdk.io.gcp.pubsub.PubsubGrpcClientTest > pullOneMessage FAILED
java.lang.IllegalAccessError at PubsubGrpcClientTest.java:142
org.apache.beam.sdk.io.gcp.bigquery.BigQueryIOReadTest >
testEstimatedSizeWithoutStreamingBuffer FAILED
java.lang.AssertionError at BigQueryIOReadTest.java:630
org.apache.beam.sdk.io.gcp.bigquery.BigQueryIOReadTest >
testEstimatedSizeWithStreamingBuffer FAILED
java.lang.AssertionError at BigQueryIOReadTest.java:664
org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtilTest > testInsertAll FAILED
java.lang.AssertionError at BigQueryUtilTest.java:212
{noformat}
PubsubGrpcClientTest failed:
{noformat}
tried to access field io.opencensus.trace.unsafe.ContextUtils.CONTEXT_SPAN_KEY
from class io.grpc.internal.CensusTracingModule$TracingClientInterceptor
java.lang.IllegalAccessError: tried to access field
io.opencensus.trace.unsafe.ContextUtils.CONTEXT_SPAN_KEY from class
io.grpc.internal.CensusTracingModule$TracingClientInterceptor
at
io.grpc.internal.CensusTracingModule$TracingClientInterceptor.interceptCall(CensusTracingModule.java:384)
at
io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:156)
at
io.grpc.internal.CensusStatsModule$StatsClientInterceptor.interceptCall(CensusStatsModule.java:685)
at
io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:156)
at
io.grpc.internal.ManagedChannelImpl.newCall(ManagedChannelImpl.java:766)
at
io.grpc.internal.ForwardingManagedChannel.newCall(ForwardingManagedChannel.java:63)
...
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:748)
{noformat}
That was discrepancy between grpc and opencensus.
{noformat}
BigQueryIOReadTest.testEstimatedSizeWithoutStreamingBuffer
...
assertEquals(118, bqSource.getEstimatedSizeBytes(options)); // 276
{noformat}
was (Author: suztomo):
{noformat}
> Task :sdks:java:io:google-cloud-platform:test
org.apache.beam.sdk.io.gcp.pubsub.PubsubGrpcClientTest > publishOneMessage
FAILED
java.lang.IllegalAccessError at PubsubGrpcClientTest.java:192
org.apache.beam.sdk.io.gcp.pubsub.PubsubGrpcClientTest > pullOneMessage FAILED
java.lang.IllegalAccessError at PubsubGrpcClientTest.java:142
org.apache.beam.sdk.io.gcp.bigquery.BigQueryIOReadTest >
testEstimatedSizeWithoutStreamingBuffer FAILED
java.lang.AssertionError at BigQueryIOReadTest.java:630
org.apache.beam.sdk.io.gcp.bigquery.BigQueryIOReadTest >
testEstimatedSizeWithStreamingBuffer FAILED
java.lang.AssertionError at BigQueryIOReadTest.java:664
org.apache.beam.sdk.io.gcp.bigquery.BigQueryUtilTest > testInsertAll FAILED
java.lang.AssertionError at BigQueryUtilTest.java:212
{noformat}
PubsubGrpcClientTest failed:
{noformat}
tried to access field io.opencensus.trace.unsafe.ContextUtils.CONTEXT_SPAN_KEY
from class io.grpc.internal.CensusTracingModule$TracingClientInterceptor
java.lang.IllegalAccessError: tried to access field
io.opencensus.trace.unsafe.ContextUtils.CONTEXT_SPAN_KEY from class
io.grpc.internal.CensusTracingModule$TracingClientInterceptor
at
io.grpc.internal.CensusTracingModule$TracingClientInterceptor.interceptCall(CensusTracingModule.java:384)
at
io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:156)
at
io.grpc.internal.CensusStatsModule$StatsClientInterceptor.interceptCall(CensusStatsModule.java:685)
at
io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:156)
at
io.grpc.internal.ManagedChannelImpl.newCall(ManagedChannelImpl.java:766)
at
io.grpc.internal.ForwardingManagedChannel.newCall(ForwardingManagedChannel.java:63)
...
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:748)
{noformat}
> Beam Dependency Update Request: com.google.http-client:google-http-client
> -------------------------------------------------------------------------
>
> Key: BEAM-8695
> URL: https://issues.apache.org/jira/browse/BEAM-8695
> Project: Beam
> Issue Type: Sub-task
> Components: dependencies
> Reporter: Beam JIRA Bot
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> ------------------------- 2019-11-15 19:40:13.570557
> -------------------------
> Please consider upgrading the dependency
> com.google.http-client:google-http-client.
> The current version is 1.28.0. The latest version is 1.33.0
> cc:
> Please refer to [Beam Dependency Guide
> |https://beam.apache.org/contribute/dependencies/]for more information.
> Do Not Modify The Description Above.
> ------------------------- 2019-11-19 21:06:20.477284
> -------------------------
> Please consider upgrading the dependency
> com.google.http-client:google-http-client.
> The current version is 1.28.0. The latest version is 1.33.0
> cc:
> Please refer to [Beam Dependency Guide
> |https://beam.apache.org/contribute/dependencies/]for more information.
> Do Not Modify The Description Above.
> ------------------------- 2019-12-02 12:12:12.146269
> -------------------------
> Please consider upgrading the dependency
> com.google.http-client:google-http-client.
> The current version is 1.28.0. The latest version is 1.33.0
> cc:
> Please refer to [Beam Dependency Guide
> |https://beam.apache.org/contribute/dependencies/]for more information.
> Do Not Modify The Description Above.
> ------------------------- 2019-12-09 12:11:24.693912
> -------------------------
> Please consider upgrading the dependency
> com.google.http-client:google-http-client.
> The current version is 1.28.0. The latest version is 1.33.0
> cc:
> Please refer to [Beam Dependency Guide
> |https://beam.apache.org/contribute/dependencies/]for more information.
> Do Not Modify The Description Above.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)