zoukankan      html  css  js  c++  java
  • Flink安装启动记录

    因为工作需要需要研究一下Flink,在此记录一下Flink的安装和启动

    安装环境为CentOS,Flink版本为1.4.0,安装Flink之前确保已经安装Java1.8版本及以上

    [root@node2 flink]# java -version
    openjdk version "1.8.0_161"
    OpenJDK Runtime Environment (build 1.8.0_161-b14)
    OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

    将Flink放到服务器上,我这里放到了 /usr/flink目录下

    解压缩包:

    tar xzf flink-1.4.0-bin-hadoop27-scala_2.11.tgz

    进入Flink目录:

    cd flink-1.4.0

    启动Flink:

    [root@node2 flink-1.4.0]# ./bin/start-local.sh
    Warning: this file is deprecated and will be removed in 1.5.
    Starting cluster.
    Starting jobmanager daemon on host node2.
    Starting taskmanager daemon on host node2.

    查看界面:

    http://192.168.253.164:8081

    关闭Flink:

    [root@node2 flink-1.4.0]# ./bin/stop-local.sh
    Warning: this file is deprecated and will be removed in 1.5.
    Stopping taskmanager daemon (pid: 10063) on host node2.
    Stopping jobmanager daemon (pid: 9757) on host node2.
  • 相关阅读:
    Nacos安装部署文档
    mysql安装部署文档
    Postgresql数据库安装部署文档
    Sentinel安装部署文档
    Nginx安装部署手册
    golang 7. defer
    golang 6. 指针 *
    golang 5. import
    golang 4. 函数 func
    golang 3. 常量 const iota
  • 原文地址:https://www.cnblogs.com/niuge/p/11246330.html
Copyright © 2011-2022 走看看