라벨이 superset인 게시물 표시

install superset

이미지
## prepare  [root@superset ~]# git clone https://github.com/apache/superset.git Cloning into 'superset'... remote: Enumerating objects: 121678, done. remote: Total 121678 (delta 0), reused 0 (delta 0), pack-reused 121678 Receiving objects: 100% (121678/121678), 269.37 MiB | 12.34 MiB/s, done. Resolving deltas: 100% (88857/88857), done. [root@superset ~]# ## execute [root@superset superset]# docker-compose -f docker-compose-non-dev.yml up [+] Running 0/43 ⠙ superset-init Pulling 5.2s ⠹ bb7d5a84853b Downloading [====================> ] 23.06MB/54.92MB 1.2s ⠙ db Pulling 5.2s ⠙ eec53b8a5053 Waiting 0.2s [+] Running 0/491

starting superset, mysql, redis

이미지
docker상에서  superset(server-worker), mysql, redis  분산 실행  ## Environment     centos 7.6     docker 1.13.1 ## architecture ## starting mysql [root@kylin docker-files]# docker run --name mysql --rm --env-file .env -d -p 3306:3306 docker.io/mysql:5.7 d399db893198be4ef8cea8b47dbbd27357795bec7b5d1426dc0ea63a6fb20d33 [root@kylin docker-files]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d399db893198 docker.io/mysql:5.7 "docker-entrypoint..." 5 seconds ago Up 4 seconds 0.0.0.0:3306->3306/tcp, 33060/tcp mysql [root@kylin docker-files]# [root@kylin docker-files]# docker inspect d399db893198 "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "Network

install kylin(#3 superset)

이미지
docker상에서 kylin 설치 그리고 superset으로 데이터 확인 1. 환경준비     centos 7.6     docker 2. kylin 설치 확인 ##  지난 post에서 만들어진  docker images [root@kylin client-conf]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE sungminyun/kylin-docker 101 3. install superset [root@kylin super]# git clone https://github.com/apache/incubator-superset.git Cloning into 'incubator-superset'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (9/9), done. remote: Total 48445 (delta 0), reused 2 (delta 0), pack-reused 48436 Receiving objects: 100% (48445/48445), 107.31 MiB | 11.14 MiB/s, done. Resolving deltas: 100% (34295/34295), done. [root@kylin super]# cd incubator-superset/ [root@kylin incubator-superset]# ls CHANGELOG.md INSTALL.md README.md babel-node gen_changelog.sh requirements-dev.txt setup.py CODE_OF_CONDUCT.md LICENSE.txt RELEASING

Data Analysis with Superset (install superset in docker)

Superset을 사용하기 위해 먼저  superset을 설치해 보겠습니다. 간단하게 docker를 이용한 설치를 진행하겠습니다. 1. 환경준비     Centos 7.x     Docker 2. Docker & Docker Registry 설치 [root@localhost ~]# yum -y install docker docker-registry Loaded plugins: fastestmirror, langpacks Determining fastest mirrors  * base: mirror.kakao.com  * epel: d2lzkl7pfhq30w.cloudfront.net  * extras: mirror.kakao.com  * updates: mirror.kakao.com Package 2:docker-1.13.1-96.gitb2f74b2.el7.centos.x86_64 already installed and latest version ==============================================================================================================  Package                        Arch              Version                             Repository         Size ============================================================================================================== Installing:  docker-distribution            x86_64            2.6.2-2.git48294d9.el7              extras            3.5 M Tr