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

Syntax error when running tpcds test

    XMLWordPrintableJSON

Details

    Description

      Run tpcds test with instruction from `flink-end-to-end-tests/flink-tpcds-test/README.md`

       

      sh flink-end-to-end-tests/run-single-test.sh flink-end-to-end-tests/test-scripts/test_tpcds.sh 

      Then a syntax error were thrown as follow:

      Checking for availability of CI Maven mirror
      Using Google mirror
      Flink dist directory: /opt/zy/source_code/flink/flink-dist/target/flink-1.13.2-bin/flink-1.13.2
      /path/to/flink/flink-end-to-end-tests/test-scripts/common.sh: line 257: syntax error near unexpected token `<'
      /path/to/flink/flink-end-to-end-tests/test-scripts/common.sh: line 257: `    done < <(grep "^server\." "${FLINK_DIR}/conf/zoo.cfg")' 

      If bash is invoked with name sh, bash enters posix mode. Process substitution is not specified by POSIX, so not all POSIX shells support it, only some shells like bash.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paul8263 Yao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: