Comments (20)
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.
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.
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.
If you click on the hosts tab, do you get anything next to amb1.mycorp.kom and amb2.mycorp.kom?
from docker-ambari.
It appeared fine from the main screen but the problem emerged in the hosts area
from docker-ambari.
from docker-ambari.
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.
The ping works fine but ping uses ICMP whereas TCP uses a different protocol
from docker-ambari.
I'm running Docker 1.7.0 on Ubuntu 14.0.4.
from docker-ambari.
I've also tried on Ubuntu 12.04.5 with no luck
from docker-ambari.
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.
amb-deploy-cluster 2
from docker-ambari.
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.
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.
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.
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.
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.
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.
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.
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)
- public-hostname.sh no longer works in non-cloud environment. HOT 1
- Some questions : start, commit, restart... HOT 7
- can't work correctly in cloudbreak HOT 5
- ambari agent failed to start
- Why change SSHD port to 2022? HOT 4
- Best way to deploy with java 8 HOT 3
- hbase not working with blueprints HOT 3
- Install Apache Spark HOT 4
- Is it impossible to install HDP-1.3 stack by sequenceiq/ambari:1.7.0 image? HOT 2
- Best/Recommended upgrade path from Ambari 2.1/HDP 2.3 to Ambari 2.2/HDP 2.4 ? HOT 2
- mysql-connector-java-5.1.17.jar is outdated and doesn't work with RDS HOT 1
- RFI: Where is Dockerfile for sequenceiq/consul HOT 3
- Needs update to Ambari 2.4.1.0 & HDP 2.5 HOT 4
- What SSH private key can be used HOT 1
- Question: How can I access the Ambari UI from outside the host? HOT 3
- How to create Ambari cluster HOT 2
- How to change the value of USE_CONSUL_DNS HOT 1
- Image doesn't contain "which" command HOT 1
- Be able to customize the public ip resolver script
- Changing base url in ambari.repo to use latest version of Ambari doesnt take effect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ambari.