Giter Site home page Giter Site logo

Comments (20)

matyix avatar matyix commented on August 22, 2024

What do you mean under - on multiple computers on multiple networks? 2.0.0 (the serf based version) should be able to create clusters on one physical host. Though you can actually make it work on multiple hosts we don't support it with serf - but the consul based branches. Unluckily those are not meant to work (we did not have time to update the shell and script) with the script - but we use it from Cloudbreak.

Sometimes in the future we will get rid of all serf based Docker images and use consul - as we do it with Cloudbreak - and update the scripts/shell.

from docker-ambari.

keyki avatar keyki commented on August 22, 2024

I just quickly installed a 2 node cluster and I don't have any alerts. Can you exec into the amb0 container and try to ping amb1.mycorp.kom

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

I apologize for the confusion. I meant that I had tried the serf-based approach on a single computer. When that didn't work, I tried again on a few others.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

If you click on the hosts tab, do you get anything next to amb1.mycorp.kom and amb2.mycorp.kom?

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

It appeared fine from the main screen but the problem emerged in the hosts area

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

screenshot from 2015-07-10 10 26 45

from docker-ambari.

keyki avatar keyki commented on August 22, 2024

I don't have any, you can login here admin/admin http://2eb016cf.ngrok.com

Can you briefly describe you environment? Host OS, Docker version etc.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

The ping works fine but ping uses ICMP whereas TCP uses a different protocol

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

I'm running Docker 1.7.0 on Ubuntu 14.0.4.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

I've also tried on Ubuntu 12.04.5 with no luck

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

What was the command that you ran to get your 2 node blueprint? It shouldn't affect anything but the default creates a 3 node cluster.

from docker-ambari.

keyki avatar keyki commented on August 22, 2024

amb-deploy-cluster 2

from docker-ambari.

keyki avatar keyki commented on August 22, 2024

For quick fix you can try to write the hostnames to /etc/hosts in the container, otherwise we need to be able to reproduce it to see what's wrong.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

Strangely enough, the hostname is in the /etc/hosts file of the container. I'm trying a 2 node cluster now to see if that changes anything. If ping is working but TCP is not, it makes me think that it has something to do with Docker's treatment of ports. I'll update you as soon as the cluster is installed.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

It appears like the problem is not with the slaves connecting to the master but rather the slaves connecting to their own locally run services.

from docker-ambari.

keyki avatar keyki commented on August 22, 2024

Did you check whether the services are actually running? Also check the ambari-server.log to see if it's just and alert issue or not.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

The Ambari dashboard says they are running. Should I be looking elsewhere? I just ran the 2-node system. Everything looks great for about a minute then I start getting the same TCP errors.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

Okay. Turns out it was a master-slave communication thing. After adding the slave manually to the master's /etc/hosts file and restarting the service, it appears everything has been fixed. Is this a configuration step that must be run every time the script is started or was it something weird with my particular experience?

from docker-ambari.

keyki avatar keyki commented on August 22, 2024

This version is out for a while and no one reported such issues which doesn't mean it doesn't exists, but could be environment related.

from docker-ambari.

zbears avatar zbears commented on August 22, 2024

Okay. Thank you so much for your prompt help. I'll try to get this fix incorporated into the script just in case anyone else has the same problem.

from docker-ambari.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.