Thanks Cham, forgot to mention about the recent migration to 1.23.0. On Wed, May 16, 2018 at 5:56 PM Chamikara Jayalath <chamik...@google.com> wrote:
> Are you running using 2.4.0 or HEAD ? We upgraded google-api-client > dependencies of HEAD to 1.23 last month: > https://github.com/apache/beam/pull/5046/files > > If you are using HEAD make sure that you are not picking up clouddebugger > 1.22 (or any other 1.22 dependency). > > Thanks, > Cham > > On Wed, May 16, 2018 at 8:49 AM Lukasz Cwik <lc...@google.com> wrote: > >> The Dataflow worker relies on this dependency to be supplied as part of >> the users application. Are you sure the way you build/package your >> application hasn't changed in the past few days? >> >> Note that the DataflowRunner has specified >> "google-api-services-clouddebugger" as a dependency[1]. The other issue >> could be that a dependency of CloudDebugger is incompatible. There is a >> known issue where "google-api-client" 1.22.0 is incompatible with 1.23.0 >> and hence all Google libraries that depend on "google-api-client" should >> use a set of dependencies that are consistent with using a single version >> of "google-api-client" (The DataflowRunner in Apache Beam uses 1.22.0). >> >> 1: >> https://mvnrepository.com/artifact/org.apache.beam/beam-runners-google-cloud-dataflow-java/2.4.0 >> >> On Wed, May 16, 2018 at 3:53 AM Frank Yellin <f...@fyellin.com> wrote: >> >>> Something just starting breaking on me in the last day or so. I have >>> the trivial program: >>> >>> public static void main(String[] args) { >>> PipelineOptions options = >>> PipelineOptionsFactory.fromArgs(args).create(); >>> Pipeline pipeline = Pipeline.create(options); >>> } >>> >>> >>> If I call it with no arguments, it quietly does nothing, as expected. >>> If I pass the argument >>> --runner=dataflowRunner >>> I get the error message >>> >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> com/google/api/services/clouddebugger/v2/CloudDebugger >>> >>> >>> I can't find any reference to v2/CloudDebugger and I do not know who is >>> including it or calling it. Has something changed in the last few days on >>> GCE? >>> >>> Help! >>> >>>