GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Linkage Errors from word-count-beam with Cloud Dataflow

Aperta
#1,025 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Dependency Fix p3
Lingua principale
Java
Stelle
163
Fork
80
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Finished https://cloud.google.com/dataflow/docs/quickstarts . It worked.

I added libraries-bom to the project.

When I applied linkage checker enforcer rule to the project (with reportOnlyReahcable) it showed following errors:

```
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-linkage-checker) @ word-count-beam ---
[ERROR] Linkage Checker rule found 8 reachable errors. Linkage error report:
Class org.brotli.dec.BrotliInputStream is not found;
referenced by 1 class file
org.apache.beam.repackaged.core.org.apache.commons.compress.compressors.brotli.BrotliCompressorInputStream (beam-sdks-java-core-2.16.0.jar)
Class com.github.luben.zstd.ZstdInputStream is not found;
referenced by 1 class file
org.apache.beam.repackaged.core.org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStream (beam-sdks-java-core-2.16.0.jar)
Class com.github.luben.zstd.ZstdOutputStream is not found;
referenced by 1 class file
org.apache.beam.repackaged.core.org.apache.commons.compress.compressors.zstandard.ZstdCompressorOutputStream (beam-sdks-java-core-2.16.0.jar)
Class org.apache.beam.vendor.bytebuddy.v1_9_3.net.bytebuddy.jar.asm.commons.ModuleHashesAttribute is not found;
referenced by 1 class file
org.apache.beam.vendor.bytebuddy.v1_9_3.net.bytebuddy.jar.asm.commons.ClassRemapper (beam-vendor-bytebuddy-1_9_3-0.1.jar)
(opencensus-api-0.15.0.jar) io.opencensus.tags.TagContextBuilder's method putLocal(io.opencensus.tags.TagKey arg1, io.opencensus.tags.TagValue arg2) is not found;
referenced by 1 class file
io.grpc.internal.CensusStatsModule (grpc-core-1.24.1.jar)
(opencensus-api-0.15.0.jar) io.opencensus.tags.unsafe.ContextUtils's method withValue(io.grpc.Context arg1, io.opencensus.tags.TagContext arg2) is not found;
referenced by 1 class file
io.grpc.internal.CensusStatsModule (grpc-core-1.24.1.jar)
(opencensus-api-0.15.0.jar) io.opencensus.trace.unsafe.ContextUtils's method getValue(io.grpc.Context arg1) is not found;
referenced by 1 class file
io.grpc.internal.CensusTracingModule (grpc-core-1.24.1.jar)
(opencensus-api-0.15.0.jar) io.opencensus.trace.unsafe.ContextUtils's method withValue(io.grpc.Context arg1, io.opencensus.trace.Span arg2) is not found;
referenced by 1 class file
io.grpc.internal.CensusTracingModule (grpc-core-1.24.1.jar)

```

Are they valid?

Dependency Tree https://gist.github.com/suztomo/ee2266cc4b686e34e114c5c4159891e4

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.