You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/07 10:17:00 UTC

[jira] [Commented] (KYLIN-4775) Use docker-compose to deploy Hadoop and Kylin

    [ https://issues.apache.org/jira/browse/KYLIN-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209443#comment-17209443 ] 

ASF GitHub Bot commented on KYLIN-4775:
---------------------------------------

hit-lacus commented on a change in pull request #1424:
URL: https://github.com/apache/kylin/pull/1424#discussion_r500898027



##########
File path: docker/setup_cluster.sh
##########
@@ -0,0 +1,84 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+SCRIPT_PATH=$(cd `dirname $0`; pwd)
+WS_ROOT=`dirname $SCRIPT_PATH`
+
+source ${SCRIPT_PATH}/build_cluster_images.sh
+
+# restart cluster
+
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/write/docker-compose-hadoop.yml down
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/write/docker-compose-zookeeper.yml down
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/others/docker-compose-metastore.yml down
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/write/docker-compose-hive.yml down
+sleep 5
+# hadoop
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/write/docker-compose-hadoop.yml up -d
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/write/docker-compose-zookeeper.yml up -d
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/others/docker-compose-metastore.yml up -d
+KYLIN_WS=${WS_ROOT} docker-compose -f ${SCRIPT_PATH}/docker-compose/write/docker-compose-hive.yml up -d
+
+
+if [ $KERBEROS == "yes" ]; then

Review comment:
       Maybe "ENABLE_KERBEROS" instead of "KERBEROS" ?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Use docker-compose to deploy Hadoop and Kylin
> ---------------------------------------------
>
>                 Key: KYLIN-4775
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4775
>             Project: Kylin
>          Issue Type: Sub-task
>          Components: Tools, Build and Test
>            Reporter: Xiaoxiang Yu
>            Assignee: liuyongheng
>            Priority: Major
>              Labels: Testing
>             Fix For: v3.1.2
>
>
> We know that Kylin has *kylin-it* for intergration test, which cover build, query, tools etc. But some complex features, such as system cube, read write separation deployment, jdbc source can not be covered by intergration test. I wonder if we could automate system level testing to cover these important feature.
> So the first step is to enable automatic deployment for Kylin and Hadoop. I propose to use docker-compose to make it happen.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)