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

jay vyas commented on BIGTOP-1417:
----------------------------------

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)

Reply via email to