Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.0
-
Apache Ozone (Client): 1.1.0-SNAPSHOT(master)
Apache HBase: 1.2.1
Apache HDFS: 2.7.2
Description
- 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.. we uploading & coping files with ofs api or native java api.
- 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.
- 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: *org.apache.hadoop.hdds.scm.XceiverClientRatis does not implement the requested interface java.util.function.Supplier*.
- if I reimport com.google.common.base.Supplier to java.util.function.Supplier, it works well for me
Attachments
Attachments
Issue Links
- links to