GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Linkage Errors from word-count-beam with Cloud Dataflow

Đang mở
#1,025 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Dependency Fix p3
Ngôn ngữ chính
Java
Star
163
Fork
80
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.