Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-29306

fail to check multiple flink-dist*.jar for config.sh

    XMLWordPrintableJSON

Details

    Description

      The following shell command always make FLINK_DIST_COUNT=1 (config.sh)

      FLINK_DIST_COUNT="$(echo "$FLINK_DIST" | wc -l)" 

      and the following condition will always be false, so fail to check multiple flink-dist*.jar。

      [[ "$FLINK_DIST_COUNT" -gt 1 ]] 

      examples:

      # FLINK_DIST=":/Users/lzs/.data/github/flink/flink-dist/target/flink-1.17-SNAPSHOT-bin/flink-1.17-SNAPSHOT/lib/flink-dist-1.17-SNAPSHOT.jar:/Users/lzs/.data/github/flink/flink-dist/target/flink-1.17-SNAPSHOT-bin/flink-1.17-SNAPSHOT/lib/flink-dist-1.17-xxx.jar"
      # echo "$FLINK_DIST" | wc -l
      1

      Attachments

        Issue Links

          Activity

            People

              LiuZeshan LiuZeshan
              LiuZeshan LiuZeshan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: