You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yao Zhang (Jira)" <ji...@apache.org> on 2022/04/28 07:31:00 UTC

[jira] [Created] (FLINK-27437) Syntax error when running tpcds test

Yao Zhang created FLINK-27437:
---------------------------------

             Summary: Syntax error when running tpcds test
                 Key: FLINK-27437
                 URL: https://issues.apache.org/jira/browse/FLINK-27437
             Project: Flink
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 1.14.4, 1.15.0
         Environment: CentOS 7.4
            Reporter: Yao Zhang


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

 
{code:java}
sh flink-end-to-end-tests/run-single-test.sh flink-end-to-end-tests/test-scripts/test_tpcds.sh {code}
Then a syntax error were thrown as follow:
{code:java}
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")' {code}
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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)