Flink 安装部署需要准备 3 台 Linux 机器。具体要求如下:
系统环境为 CentOS 7.5 版本。
安装 Java 8(略)。
环境变量,(部署完成)
export JAVA_HOME=/bigdata/opt/jdk/jdk1.8.0_211
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
export SCALA_HOME=/bigdata/opt/s/scala/scala-2.12.17
export PATH=${SCALA_HOME}/bin:$PATH
export HADOOP_CLASSPATH=`hadoop classpath`
export HADOOP_HOME=/usr/hdp/3.1.0.0-78/hadoop
export PATH=${HADOOP_HOME}/bin:$PATH
export SCALA_HOME=/bigdata/opt/s/scala/scala-2.12.17
export PATH=${SCALA_HOME}/bin:$PATH
export FLINK_HOME=/bigdata/opt/f/flink/flink-1.13.6
export PATH=$FLINK_HOME/bin:$PATH
export HADOOP_CLASSPATH=`hadoop classpath`
export SPARK_HOME=/usr/hdp/3.1.0.0-78/spark2
export PATH=$SPARK_HO