Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10622

Prefix Gradle paths with a colon for user-facing output

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.24.0
    • sdk-py-core
    • None

    Description

      When using the FlinkRunner with master, the job server needs to be build first. Beam prints out instructions for that, e.g.

      RuntimeError: /Users/max/Dev/beam/runners/flink/1.10/job-server/build/libs/beam-runners-flink-1.10-job-server-2.24.0-SNAPSHOT.jar not found. Please build the server with
        cd /Users/max/Dev/beam; ./gradlew runners:flink:1.10:job-server:shadowJar
      

      Note that the gradle path printed is not valid because it misses a colon before "runners".

      Internally, the Gradle path is used to resolve the jar locally or from Maven Central. Gradle paths always start with a colon. We should stick to that format although we can also parse Gradle paths which do not start with a colon.

      In order for the Gradle path printed to be valid, we should prefix Gradle path with colon.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h