install kylin(#2 install)

docker상에서 kylin 설치 그리고 superset으로 데이터 확인 1. 환경준비     centos 7.6     docker 2. Install and Execute ## make file & folder [root@kylin kylin-docker]# docker build -t sungminyun/kylin-docker:152 . Sending build context to Docker daemon 234.5 kB Step 1/39 : FROM ubuntu:16.04 Trying to pull repository docker.io/library/ubuntu ... 16.04: Pulling from docker.io/library/ubuntu f7277927d38a: Pull complete 8d3eac894db4: Pull complete edf72af6d627: Pull complete 3e4f86211d23: Pull complete Digest: sha256:97b54e5692c27072234ff958a7442dde4266af21e7b688e7fca5dc5acc8ed7d9 Status: Downloaded newer image for docker.io/ubuntu:16.04 ---> 5e13f8dd4c1a Step 2/39 : MAINTAINER sungminyun ---> Running in a59282f3b3f5 ---> af92d9f062e1 Removing intermediate container a59282f3b3f5 Step 3/39 : WORKDIR /tmp ---> 47074a3af534 Removing intermediate container e89b332271c8 Step 4/39 : RUN set -x && apt-get update && apt-get install -y wge...

using docker(# delete all images)

docker에서 image 컨트롤 하기 ## list docker images [root@kylin ~]# docker images REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE <none>                      <none>              301e9cdfb430        15 minutes ago      202 MB <none>                      <none>              bff5a7192151        13 hours ago        64.2 MB <none>                      <none>              6cbb0afcaacc        14 hours ago...

using docker(# delete containers images)

docker에 설치된 images container 삭제 1. 환경준비     centos 7.6     docker 2.backup container [root@kylin ~]# docker ps -a CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS                     PORTS                                              NAMES 9dde9553ec15        kiwenlau/hadoop:1.0   "sh -c 'service ss..."   49 minutes ago      Up 49 minutes                                                          ...

install hadoop cluster with docker

이미지
docker에 설치된 데이터들을 backup -> restore 해보기 1. 환경준비     centos 7.6     docker 2.install hadoop [root@kylin ~]# docker pull kiwenlau/hadoop:1.0 Trying to pull repository docker.io/kiwenlau/hadoop ... 1.0: Pulling from docker.io/kiwenlau/hadoop 6c953ac5d795: Pull complete 3eed5ff20a90: Pull complete f8419ea7c1b5: Pull complete 51900bc9e720: Pull complete a3ed95caeb02: Pull complete bd8785af34f8: Pull complete bbc3db9806c0: Pull complete 10b317fed6db: Pull complete ff167c65c3cc: Pull complete b6f1a5a93aa5: Pull complete 21f0d52e6cae: Pull complete 35ebd7467cfb: Pull complete Digest: sha256:e4fe1788c2845c857b98cec6bba0bbcd5ac9f97fd3d73088a17fd9a0c4017934 Status: Downloaded newer image for docker.io/kiwenlau/hadoop:1.0 3.exec hadoop [root@kylin ~]# git clone https://github.com/kiwenlau/hadoop-cluster-docker Cloning into 'hadoop-cluster-docker'... remote: Enumerating objects: 392, done. remote: Total 392 (delta 0), reused 0 (delta 0)...

using docker(# file copy container-host)

docker container의 데이터들을 copy 해보기 1. 환경준비     centos 7.6     docker 2. docker container list [root@kylin ~]# docker ps -a CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES 546c2d4a41fb        hadoop1             "/bin/bash"         45 hours ago        Up 45 hours                             hello2 a9bb5aa82130        hadoop1             "/bin/bash"         2 days ago          Up 2 days  ...

using docker(# export import container)

docker에 설치된 데이터들을 backup -> restore 해보기 1. 환경준비     centos 7.6     docker 2.backup container [root@kylin hbase-2.2.0]# docker ps -a CONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS                          PORTS               NAMES 73b1430f15b7        centos                            "/bin/bash"              2 minutes ago       Exited (0) About a minute ago                       hbasemaster 4c865448f160 ...