datavane / datasophon

The next generation of cloud-native big data management expert , Aims to help users rapidly build stable, efficient, and scalable cloud-native platforms for big data.
https://datasophon.github.io/datasophon-website/
Apache License 2.0
1.08k stars 378 forks source link

[Bug] "start-stop" shell script can't replace placeholder variables which specified in startRunner's args of service_ddl.json #466

Closed leeoo closed 10 months ago

leeoo commented 10 months ago

Search before asking

What happened

Env: Datasophon v1.2.0

Try to pass ${host} from startRunner's args of service_ddl.json to "start-stop" shell script but not affeccted, just get a literal text "${host}" in the shell script.

b55a3c50af067f69786b1ec45363a82

49291805764d86b93170a5139c648f1

What you expected to happen

Placeholder variable(s) of service_ddl.json passed to backend "start-stop" shell script can be recognized and replaced correctly.

How to reproduce

  1. Write startRunner args with placeholder variable ${host}. b55a3c50af067f69786b1ec45363a82
  2. Get ${host} variable in "start-stop" script control-flink.sh. 图片
  3. Start the role on datasophon-webui, then see the log. 49291805764d86b93170a5139c648f1

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct

thomasg19930417 commented 10 months ago

Why use Flink Standalone cluster? If Yarn is already available, why do we need to set up a Flink Standalone cluster?

datasophon commented 10 months ago

it is not suppported

leeoo commented 10 months ago

Why use Flink Standalone cluster? If Yarn is already available, why do we need to set up a Flink Standalone cluster?

Sorry, your questions are pointless, actually this issue is just saying currently datasophon (in shell script) cannot support recognize and replace placeholder variable(s) (like '${xxx}') correctly which passed through service_ddl.json's startRunner args.