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

Tomo Suzuki updated BEAM-11626:
-------------------------------
    Description: 
As per BEAM-8911, Cassandra-all requires Guava 25.1. But other parts of Beam 
dependencies (such as gcsio) may want to use newer version of Guava. Excerpt 
from Kiley's finding using Linkage Checker today:


{noformat}
(com.google.guava:guava:25.1-jre) 
com.google.common.util.concurrent.Uninterruptibles's method 
sleepUninterruptibly(java.time.Duration) is not found;
  referenced by 3 class files
    com.google.cloud.hadoop.gcsio.cooplock.CoopLockOperationDao 
(com.google.cloud.bigdataoss:gcsio:2.1.6)
    com.google.cloud.hadoop.gcsio.cooplock.CoopLockRecordsDao 
(com.google.cloud.bigdataoss:gcsio:2.1.6)
    com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry 
(com.google.cloud.bigdataoss:gcsio:2.1.6)
{noformat}

Note that Guava's 
[Uninterruptibles.sleepUninterruptibly(Duration)|https://guava.dev/releases/30.1-jre/api/docs/com/google/common/util/concurrent/Uninterruptibles.html#sleepUninterruptibly(java.time.Duration)]
 has been introduced since 28.0.

This ticket is attempts to declare the newer version of Guava while keeping the 
Guava version used by Beam's Cassandra tests.


  was:
As per BEAM-8911, Cassandra-all requires Guava 25.1. But other parts of Beam 
dependencies (such as gcsio) may want to use newer version of Guava. Excerpt 
from Kiley's finding using Linkage Checker today:


{noformat}
(com.google.guava:guava:25.1-jre) 
com.google.common.util.concurrent.Uninterruptibles's method 
sleepUninterruptibly(java.time.Duration) is not found;
  referenced by 3 class files
    com.google.cloud.hadoop.gcsio.cooplock.CoopLockOperationDao 
(com.google.cloud.bigdataoss:gcsio:2.1.6)
    com.google.cloud.hadoop.gcsio.cooplock.CoopLockRecordsDao 
(com.google.cloud.bigdataoss:gcsio:2.1.6)
    com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry 
(com.google.cloud.bigdataoss:gcsio:2.1.6)
{noformat}


This ticket is attempts to declare the newer version of Guava while keeping the 
Guava version used by Beam's Cassandra tests.



> Split Guava version to Cassandra and others
> -------------------------------------------
>
>                 Key: BEAM-11626
>                 URL: https://issues.apache.org/jira/browse/BEAM-11626
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Tomo Suzuki
>            Assignee: Tomo Suzuki
>            Priority: P2
>
> As per BEAM-8911, Cassandra-all requires Guava 25.1. But other parts of Beam 
> dependencies (such as gcsio) may want to use newer version of Guava. Excerpt 
> from Kiley's finding using Linkage Checker today:
> {noformat}
> (com.google.guava:guava:25.1-jre) 
> com.google.common.util.concurrent.Uninterruptibles's method 
> sleepUninterruptibly(java.time.Duration) is not found;
>   referenced by 3 class files
>     com.google.cloud.hadoop.gcsio.cooplock.CoopLockOperationDao 
> (com.google.cloud.bigdataoss:gcsio:2.1.6)
>     com.google.cloud.hadoop.gcsio.cooplock.CoopLockRecordsDao 
> (com.google.cloud.bigdataoss:gcsio:2.1.6)
>     com.google.cloud.hadoop.gcsio.testing.InMemoryObjectEntry 
> (com.google.cloud.bigdataoss:gcsio:2.1.6)
> {noformat}
> Note that Guava's 
> [Uninterruptibles.sleepUninterruptibly(Duration)|https://guava.dev/releases/30.1-jre/api/docs/com/google/common/util/concurrent/Uninterruptibles.html#sleepUninterruptibly(java.time.Duration)]
>  has been introduced since 28.0.
> This ticket is attempts to declare the newer version of Guava while keeping 
> the Guava version used by Beam's Cassandra tests.



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

Reply via email to