How to run apache-flink 1.6.2 in localhost?

1

I installed apache-flink (1.6.2) using Apache’s Flink quick start tutorial. Actually I installed it using this command:

brew install apache-flink

Now, I want to run flink in my localhost (More precisely: http://localhost:8081). But I couldn't find start-local.sh or start-cluster.sh in the bin folder.

Richard

Posted 2018-11-16T18:53:48.223

Reputation: 87

Answers

1

Homebrew installs packages in the Cellar.

/usr/local/Cellar/

If you missed the output when installing the package, you can find the path to an package post-installation with brew info. Running brew info apache-flink will return a path such as the following, which will depend on the version of Flink you have installed.

/usr/local/Cellar/apache-flink/1.6.2/

The full path to the start-local.sh will therefore be:

/usr/local/Cellar/apache-flink/1.6.2/libexec/bin/start-local.sh

grg

Posted 2018-11-16T18:53:48.223

Reputation: 1 499