[
https://issues.apache.org/jira/browse/BIGTOP-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141384#comment-14141384
]
jay vyas edited comment on BIGTOP-1417 at 9/19/14 10:03 PM:
------------------------------------------------------------
[~evans_ye] for /etc/hosts , we can use dynamic ips, and just a provisioner to
to parse the ips out at runtime. like this;
{noformat}
config.vm.provision "shell", inline: "ip addr | grep 172 | cut -d' ' -f6 | cut
-d'/' -f1 >> /vagrant/LOCAL_IP "
config.vm.provision "shell", path: "../common.sh", args: args
config.vm.provision "shell", inline: "cat nohup.out"
{noformat}
That way , each node can the master ip from the LOCAL_IP in /vagrant/LOCAL_IP.
I found this works automatically on centos 7.
You think that easily wiill work as a replacement for hostmanager in the bigtop
usecase? I think so - iirc we only really need the master ip in the puppet
setup scripts .
was (Author: jayunit100):
for /etc/hosts , we can use dynamic ips, and just a provisioner to to parse the
ips out at runtime. like this;
{noformat}
config.vm.provision "shell", inline: "ip addr | grep 172 | cut -d' ' -f6 | cut
-d'/' -f1 >> /vagrant/LOCAL_IP "
config.vm.provision "shell", path: "../common.sh", args: args
config.vm.provision "shell", inline: "cat nohup.out"
{noformat}
That way , each node can the master ip from the LOCAL_IP in /vagrant/LOCAL_IP.
I found this works automatically on centos 7.
You think that wiill work?
> 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)