[
https://issues.apache.org/jira/browse/HDDS-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhenzhoulin updated HDDS-4603:
------------------------------
Environment:
Apache Ozone: 1.1.0-SNAPSHOT
Apache HBase: 1.2.1
Apache HDFS: 2.7.2
> Writing file to a new key failed when integrating Ozone and HBase in my
> custom project
> --------------------------------------------------------------------------------------
>
> Key: HDDS-4603
> URL: https://issues.apache.org/jira/browse/HDDS-4603
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: OFS, Ozone Client, Ozone Filesystem
> Affects Versions: 1.1.0
> Environment: Apache Ozone: 1.1.0-SNAPSHOT
> Apache HBase: 1.2.1
> Apache HDFS: 2.7.2
> Reporter: zhenzhoulin
> Priority: Major
> Fix For: 1.1.0
>
> Attachments: image-2020-12-16-16-36-47-901.png,
> image-2020-12-16-16-37-31-321.png, image-2020-12-16-16-38-53-607.png,
> image-2020-12-16-16-40-16-840.png
>
>
> # in my biz project, it contain multi components, like: Apache Ozone(1.1.0),
> Apache HDFS(2.7.2), Apache HBase(1.2.1), Apache Elastic(7.6.0) etc..
> # these have different version of google guava, Apache Ozone dependency the
> guava with version 28.2, but other component, like Apache HBase which is
> dependency the guava with lower version(like 16.0.1). -- *it has different
> guava version in Apache Ozone and others(like Apache HBase**)*
> # in module hadoop-hdds-client(dependency guava version: *28.2*), the
> org.apache.hadoop.hdds.scm.XceiverClientRatis#sendRequestAsync(request)
> method contain param type com.google.common.base.Supplier in
> TracingUtil.executeInNewSpan() method which implement
> java.util.function.Supplier.
> !image-2020-12-16-16-37-31-321.png|width=431,height=298!
> !image-2020-12-16-16-38-53-607.png|width=421,height=114!
> # in my biz project(dependency guava version: *16.0.1*), the
> *com.google.common.base.Supplier not implement java.util.function.Supplier,
> acturally, it's not impl* *java.util.function.Supplier neither when guava
> version less than 21.0.*
> # when uploading or coping file to a new key, it throw exception like:
> {color:#de350b}*{color:#de350b}org.apache.hadoop.hdds.scm.{color}{color:#ff0000}XceiverClien{color}tRatis
> does not implement the requested interface
> java.util.function.Supplier*{color}.
> # if I reimport com.google.common.base.Supplier to
> java.util.function.Supplier, it works well for me
> !image-2020-12-16-16-40-16-840.png|width=482,height=159!
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]