Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.16.0
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
- links to