You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Tomo Suzuki (Jira)" <ji...@apache.org> on 2019/12/09 16:23:00 UTC

[jira] [Commented] (BEAM-8693) Beam Dependency Update Request: com.google.cloud.datastore:datastore-v1-proto-client

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

Tomo Suzuki commented on BEAM-8693:
-----------------------------------

Build failed. 


{noformat}
suztomo@suxtomo24:~/beam6$ jar tf `find ~/.m2/repository/ -name 'google-http-client-jackson-1.20.0.jar'` |grep json.jackson.JacksonFactory
com/google/api/client/json/jackson/JacksonFactory.class
com/google/api/client/json/jackson/JacksonFactory$1.class
{noformat}




{noformat}
suztomo@suxtomo24:~/beam6$ jar tf `find ~/.m2/repository/ -name 'google-http-client-jackson2-1.33.0.jar'` |grep JacksonFactory
com/google/api/client/json/jackson2/JacksonFactory.class
com/google/api/client/json/jackson2/JacksonFactory$1.class
com/google/api/client/json/jackson2/JacksonFactory$InstanceHolder.class

{noformat}



https://builds.apache.org/job/beam_PerformanceTests_HadoopFormat/892/console

{noformat}
11:08:58 > Task :sdks:java:io:hadoop-format:integrationTest FAILED
11:08:58 
11:08:58 org.apache.beam.sdk.io.hadoop.format.HadoopFormatIOIT > writeAndReadUsingHadoopFormat FAILED
11:08:58     java.lang.NoClassDefFoundError: com/google/api/client/json/jackson/JacksonFactory
11:08:58         at com.google.cloud.bigquery.BigQueryOptions$DefaultBigQueryRpcFactory.create(BigQueryOptions.java:54)
11:08:58         at com.google.cloud.bigquery.BigQueryOptions$DefaultBigQueryRpcFactory.create(BigQueryOptions.java:48)
11:08:58         at com.google.cloud.ServiceOptions.getRpc(ServiceOptions.java:509)
11:08:58         at com.google.cloud.bigquery.BigQueryOptions.getBigQueryRpcV2(BigQueryOptions.java:116)
11:08:58         at com.google.cloud.bigquery.BigQueryImpl.<init>(BigQueryImpl.java:139)
11:08:58         at com.google.cloud.bigquery.BigQueryOptions$DefaultBigQueryFactory.create(BigQueryOptions.java:44)
11:08:58         at com.google.cloud.bigquery.BigQueryOptions$DefaultBigQueryFactory.create(BigQueryOptions.java:38)
11:08:58         at com.google.cloud.ServiceOptions.getService(ServiceOptions.java:497)
11:08:58         at org.apache.beam.sdk.testutils.publishing.BigQueryClient.create(BigQueryClient.java:68)
11:08:58         at org.apache.beam.sdk.testutils.publishing.BigQueryResultsPublisher.create(BigQueryResultsPublisher.java:39)
11:08:58         at org.apache.beam.sdk.testutils.metrics.IOITMetrics.publish(IOITMetrics.java:68)
11:08:58         at org.apache.beam.sdk.testutils.metrics.IOITMetrics.publish(IOITMetrics.java:57)
11:08:58         at org.apache.beam.sdk.io.hadoop.format.HadoopFormatIOIT.collectAndPublishMetrics(HadoopFormatIOIT.java:216)
11:08:58         at org.apache.beam.sdk.io.hadoop.format.HadoopFormatIOIT.writeAndReadUsingHadoopFormat(HadoopFormatIOIT.java:201)
11:08:58 
11:08:58         Caused by:
11:08:58         java.lang.ClassNotFoundException: com.google.api.client.json.jackson.JacksonFactory
11:08:58             at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
11:08:58             at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
11:08:58             at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
11:08:58             at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
11:08:58             ... 14 more
{noformat}

Fortunately, google-http-client-jackson and google-http-client-jackson2 do have separate package. So adding google-http-client-jackson explicitly is the first step.


> Beam Dependency Update Request: com.google.cloud.datastore:datastore-v1-proto-client
> ------------------------------------------------------------------------------------
>
>                 Key: BEAM-8693
>                 URL: https://issues.apache.org/jira/browse/BEAM-8693
>             Project: Beam
>          Issue Type: Sub-task
>          Components: dependencies
>            Reporter: Beam JIRA Bot
>            Assignee: Tomo Suzuki
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
>  ------------------------- 2019-11-15 19:39:56.526732 -------------------------
>         Please consider upgrading the dependency com.google.cloud.datastore:datastore-v1-proto-client. 
>         The current version is 1.6.0. The latest version is 1.6.3 
>         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:05:51.468284 -------------------------
>         Please consider upgrading the dependency com.google.cloud.datastore:datastore-v1-proto-client. 
>         The current version is 1.6.0. The latest version is 1.6.3 
>         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:11:37.877225 -------------------------
>         Please consider upgrading the dependency com.google.cloud.datastore:datastore-v1-proto-client. 
>         The current version is 1.6.0. The latest version is 1.6.3 
>         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:10:45.889899 -------------------------
>         Please consider upgrading the dependency com.google.cloud.datastore:datastore-v1-proto-client. 
>         The current version is 1.6.0. The latest version is 1.6.3 
>         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)