-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Description
During #119, we noticed there's still a dependency on google's oauth library which is getting subverting our dependency management. What's happening is it has not only a strict dep on census, but census itself starts dragging in other grpc libraries.
Exception in thread "AsyncReporter{StorageComponent}" java.lang.NoClassDefFoundError: io/grpc/Context
at io.opencensus.trace.CurrentSpanUtils.getCurrentSpan(CurrentSpanUtils.java:37)
at io.opencensus.trace.Tracer.spanBuilder(Tracer.java:308)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:848)
at com.google.auth.oauth2.ServiceAccountCredentials.refreshAccessToken(ServiceAccountCredentials.java:429)
Notably the maintainers of google's http library marked my bug as a "question" even after someone else acked this is a problem googleapis/google-http-java-client#621