[
https://issues.apache.org/jira/browse/BIGTOP-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140983#comment-14140983
]
Evans Ye commented on BIGTOP-1417:
----------------------------------
Hi [~jayunit100]
Thanks for doing so much help in this task.
I'm very much willing to take any suggestion and apply it to the patch.
Per your suggestion, I think your idea is to spin up a VM as docker platform
and put docker containers on top of it by doing {{vagrant up}} on OS X or
windows host.
It should be looked like this:
{noformat}
|------------------------------------|
| bigtop1 | bigtop2 | bigtop3 |
|------------------------------------|
| Fedora virtualbox VM |
|------------------------------------|
| OS X / windows | <--- doing vagrant up here
|------------------------------------|
{noformat}
The {{d.vagrant_vagrantfile}} configuration will help to spin up a fedora VM if
host machine does not support docker.
This is a very good idea, but as my test, if we do so, there are several issues
need to be solve:
* vagrant known issue: ['Waiting for machine to boot'
hangs|https://github.com/mitchellh/vagrant/issues/3951]
* vagrant cachier not supported
* vagrant hostmanager not supported
With out cachier, the feature still works but just act slower, that would be ok.
But without hostmanager, {{/etc/hosts}} for containers can not be updated,
hence hadoop can not communicate with each other correctly.
As a result, I limited this feature currently supports Linux host only, the
architecture looks like below:
{noformat}
|------------------------------------|
| bigtop1 | bigtop2 | bigtop3 |
|------------------------------------|
| Fedora virtualbox VM | <--- doing vagrant up here
|------------------------------------|
| OS X / windows |
|------------------------------------|
{noformat}
We can still try to apply this, as it should be the one we eventually will
reach in the future. But I currently just don't have a good idea to solve
{{/etc/hosts}} problem without hostmanager plugin.
I'll still work on the investigation:)
> Dockerize the puppetized vagrant deployer
> -----------------------------------------
>
> Key: BIGTOP-1417
> URL: https://issues.apache.org/jira/browse/BIGTOP-1417
> Project: Bigtop
> Issue Type: New Feature
> Components: deployment
> Affects Versions: 0.7.0
> Reporter: Evans Ye
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1417.1.patch, BIGTOP-1417.2.patch,
> BIGTOP-1417.3.patch
>
>
> This is one of the bigtop's dockerize task which mainly focus on deploying
> bigtop hadoop cluster using
> [bigtop-puppet|https://github.com/apache/bigtop/tree/master/bigtop-deploy/puppet]
> on top of docker containers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)