本帖最后由 J20_果农 于 2017-1-9 21:28 编辑
Kylin 的安装部署
下载文件apache-kylin-1.6.0-cdh5.7-bin.tar.gz并上传到opt目录解压
tar –zxvf apache-kylin-1.6.0-cdh5.7-bin.tar.gz
vi /opt/apache-kylin-1.6.0-cdh5.7-bin/conf/kylin.properties
在文件结尾添加如下内容:
kylin.rest.servers=IP:7070
kylin.job.jar=/tmp/kylin/kylin-job-latest.jar
kylin.coprocessor.local.jar=/tmp/kylin/kylin-coprocessor-latest.jar
export JAVA_HOME=/usr/java/jdk1.8.0_65
exportCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
exportCATALINA_HOME=/opt/apache-tomcat-7.0.69
exportHADOOP_HOME=/opt/cloudera/parcels/CDH-5.7.5-1.cdh5.7.5.p0.3/lib/hadoop
export HBASE_HOME=/opt/cloudera/parcels/CDH-5.7.5-1.cdh5.7.5.p0.3/lib/hbase
exportHIVE_HOME=/opt/cloudera/parcels/CDH-5.7.5-1.cdh5.7.5.p0.3/lib/hive
exportKYLIN_HOME=/opt/apache-kylin-1.6.0-cdh5.7-bin
exportPATH=$JAVA_HOME/bin:$HADOOP_HOME/bin:$HBASE_HOME/bin:HIVE_HOME/bin:$PATH
cp /opt/apache-kylin-1.6.0-cdh5.7-bin/lib/kylin-coprocessor-1.6.0.jar /tmp/kylin
cp /opt/apache-kylin-1.6.0-cdh5.7-bin/lib/kylin-job-1.6.0.jar/tmp/kylin
sudo ./kylin.sh start
|