美文网首页工作生活
ApacheKylin2.6安装.md

ApacheKylin2.6安装.md

作者: 未然猜 | 来源:发表于2019-07-01 18:20 被阅读0次

    环境要求

    Hadoop: 2.7+
    Hive: 0.13 - 1.2.1+
    HBase: 1.1+
    Spark 2.1.1+
    JDK: 1.7+
    OS: Linux only, CentOS 6.5+ or Ubuntu 16.0.4+

    安装包

    HBase 1.x: https://www.apache.org/dyn/closer.cgi/kylin/apache-kylin-2.6.2/apache-kylin-2.6.2-bin-hbase1x.tar.gz
    CDH 5.7+: https://www.apache.org/dyn/closer.cgi/kylin/apache-kylin-2.6.2/apache-kylin-2.6.2-bin-cdh57.tar.gz

    下载安装包解压

    cd /usr/local/
    wget https://www.apache.org/dyn/closer.cgi/kylin/apache-kylin-2.6.2/apache-kylin-2.6.2-bin-cdh57.tar.gz
    tar -zxvf apache-kylin-2.6.2-bin-cdh57.tar.gz
    cd apache-kylin-2.6.2-bin-cdh57

    配置环境变量

    vi /etc/profile

    # KYLIN_HOME
    export KYLIN_HOME=/usr/local/apache-kylin-2.6.2-bin-cdh57
    #JAVA_HOME
    export JAVA_HOME=/usr/java/default
    export PATH=$JAVA_HOME/bin:$PATH
    export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
    
    #SPARK_HOME
    export SPARK_HOME=/opt/cloudera/parcels/SPARK2-2.2.0.cloudera4-1.cdh5.13.3.p0.603055/lib/spark2/
    
    #HADOOP_HOME
    export HADOOP_HOME=/opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hadoop
    

    检查环境

    ./bin/check-env.sh

    启动

    ./bin/kylin.sh start

    Web界面

    http://<hostname>:7070/kylin
    admin/KYLIN

    相关文章

      网友评论

        本文标题:ApacheKylin2.6安装.md

        本文链接:https://www.haomeiwen.com/subject/ujuncctx.html