简体   繁体   English

如何设置Flink本地群集

[英]How to setup Flink Local Cluster

I am trying to use Flink local on Linux and Windows, for my bachelor thesis. 我正试图在Linux和Windows上使用Flink local作为我的本科论文。 I have found these steps for local setup: https://ci.apache.org/projects/flink/flink-docs-release-1.1/quickstart/setup_quickstart.html#start-a-local-flink-cluster 我已经找到以下用于本地设置的步骤: https : //ci.apache.org/projects/flink/flink-docs-release-1.1/quickstart/setup_quickstart.html#start-a-local-flink-cluster

When I try this I got only errors like this: 当我尝试这个时,我只有这样的错误:

-bash: bin/start-local.sh: No such file or directory

When I go to the directory of the start-local.sh file then I got 当我转到start-local.sh文件的目录时,我得到了

/flink-1.1.2/flink-dist/src/main/flink-bin/conf/flink-conf.yaml: No such file or directory

Same problem with Windows. Windows也有同样的问题。

What do I have to change so that it works? 我必须更改什么才能使其起作用?

It seems that you have downloaded the sources. 看来您已经下载了源。 It is necessary to download one of binaries from here: https://flink.apache.org/downloads.html#binaries . 必须从此处下载二进制文件之一: https : //flink.apache.org/downloads.html#binaries Then, follow the given instructions for local setup. 然后,按照给定的说明进行本地设置。

Of course if you want to build Flink from sources, use this guide: https://github.com/apache/flink#building-apache-flink-from-source . 当然,如果要从源代码构建Flink,请使用此指南: https : //github.com/apache/flink#building-apache-flink-from-source

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM