You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2016/01/30 10:35:39 UTC

[jira] [Commented] (BIGTOP-2296) Provide a way to build Docker container with functional stack

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

Evans Ye commented on BIGTOP-2296:
----------------------------------

Hi [~cos], so happy to see you proposed this.
If you'd like to let user run a one node cluster, then docker -h might be the way out.
If you'd like to let user run a multi-node cluster, docker-compose would be better.

Speaking of this, I've been thinking about how to speed up the cluster deployment for a long time since the day I got asked on the Apache Big Data 2015.
And here's what I have right now. The following design let user to specify components and burn images with big data stack they'd like to have:

# Define a set of component that user would like to be installed in the image. The set can be defined in config.yaml
# Specify that burned image name, {{in_memory_stack}}, in config.yaml as well
# Burn! Expose something like the following to the users:
{code}
./docker-hadoop -C config.yaml -b
# Or wrapped in gradle
./gradlew -Pconfig=config.yaml burn-docker-image
{code}
# What burns do is to simply do yum or apt install of those pre-defined component.
#  Run a multi-node cluster as usual will components pre-installed image and, dada, you get a cluster instantly.

How does this sound? If I didn't make it clear. Please point it out and I'll try to describe more.

> Provide a way to build Docker container with functional stack
> -------------------------------------------------------------
>
>                 Key: BIGTOP-2296
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2296
>             Project: Bigtop
>          Issue Type: New Feature
>          Components: docker, general
>    Affects Versions: 1.1.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.2.0
>
>         Attachments: 0001-BIGTOP-2296.-Provide-a-way-to-build-Docker-container.patch, BIGTOP-2296.patch
>
>
> It would be great to have a way for a user to run a container with a fully functional Bigtop stack in it (in some definition of fullness) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)