You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2020/05/11 17:30:00 UTC

[jira] [Commented] (BEAM-9216) Unable to run job server

    [ https://issues.apache.org/jira/browse/BEAM-9216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104697#comment-17104697 ] 

Kyle Weaver commented on BEAM-9216:
-----------------------------------

I was able to reproduce this error by running ./learning/katas/java/gradlew :runners:spark:job-server:runShadow. However, the error does not occur when I run with the root gradlew, ie `./gradlew :runners:spark:job-server:runShadow`. I'm not sure why katas have their own gradlew, but it should be fine to use the root gradlew for this command.

> Unable to run job server
> ------------------------
>
>                 Key: BEAM-9216
>                 URL: https://issues.apache.org/jira/browse/BEAM-9216
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>    Affects Versions: 2.16.0, 2.18.0
>         Environment: Archlinux Linux 4.19.94-1-lts #1 SMP x86_64 GNU/Linux
> Docker OpenJDK 8 Stretch
>            Reporter: Darshan Parab
>            Assignee: Borzoo Esmailloo
>            Priority: Minor
>              Labels: beam, newbie, sparkrunner
>
> Beam throws below mentioned error while following the steps to use Spark Portable runner.
> ---------------------------------------------------------------------------------------------------------------------------------
> {{>./learning/katas/java/gradlew :runners:spark:job-server:runShadow}}{{}}
> {{}}{{Starting a Gradle Daemon (subsequent builds will be faster)}}
> {{Parallel execution is an incubating feature.}}{{FAILURE: Build failed with an exception.}}
> {{* Where:}}
> {{Build file '/home/darshan/docker/apache/beam/beam-release-2.18.0/buildSrc/build.gradle' line: 32}}
> {{* What went wrong:}}
> {{A problem occurred evaluating project ':buildSrc'.}}
> {{> Could not find method content() for arguments [build_9gp7982ce87i1sk76auu30fh3$_run_closure1$_closure6$_closure7@26bd394f] on object of type org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository.}}{{* Try:}}
> {{Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.}}{{* Get more help at [https://help.gradle.org|https://help.gradle.org/]}}
> {{---------------------------------------------------------------------------------------------------------------------------------}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)