Comments (6)
Ok, running docker ps command, i see that i can log in to spark-master through 0.0.0.0:8080
aironman@MacBook-Pro-Retina-de-Alonso ~/s/docker-spark-cluster> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
078f68413ff8 spark-worker:2.4.0 "/bin/bash /start-wo…" 24 minutes ago Up 24 minutes 0.0.0.0:8081->8081/tcp spark-worker-1
54e5de895719 spark-worker:2.4.0 "/bin/bash /start-wo…" 24 minutes ago Up 24 minutes 0.0.0.0:8083->8081/tcp spark-worker-3
6674435b67fc spark-worker:2.4.0 "/bin/bash /start-wo…" 24 minutes ago Up 24 minutes 0.0.0.0:8082->8081/tcp spark-worker-2
0fba81be71b1 spark-master:2.4.0 "/bin/bash /start-ma…" 24 minutes ago Up 24 minutes 0.0.0.0:7077->7077/tcp, 6066/tcp, 0.0.0.0:8080->8080/tcp spark-master
from docker-spark-cluster.
I think I have to reopen it because spark-master tells me that workers are in those ip directions when they are pointing all at the same ip only at different ports. I'm testing it on a 16GB laptop.
from docker-spark-cluster.
There are three workers in the same external ip, 0.0.0.0:8081. It should be differents ips using different ports, isnt?
from docker-spark-cluster.
Every port binding is forwarded internally to 8081(spark-worker port) however the external port(your host machine) is pointing to different ports 8080(master-ui),7070(master-spark-submit),8081(worker1),8082(worker2),8083(worker3)
from docker-spark-cluster.
you can check the spark-ui on the brower:
http://localhost:8080/
http://localhost:8081/
http://localhost:8082/
http://localhost:8083/
You cannot access the ip addresses 10.0.x.x directly(Those are the container networking addresses)
from docker-spark-cluster.
Yes, i can see it, but, So why when I try to enter a worker from the localhost:8080 driver, try to enter using the internal ips?
from docker-spark-cluster.
Related Issues (20)
- Which license rights applies
- Wget is broken HOT 2
- Zeppelin integration
- Failed driver state HOT 1
- compose step is stuck HOT 2
- job not started HOT 6
- After Accidentally deleting the Docker Network, the master will not start
- Latest master doesn't match the document
- Read write does not work
- it seems to work within one single node
- Not able to connect UI's HOT 3
- http://apache.mirror.iphh.net/spark/spark-2.4.3 is removed. HOT 1
- Timeout error
- Installing Spark 2.4.3 despite of changing in base Dockerfile HOT 1
- Connection refused with submit spark
- Hostname, XYZ resolves to a loopback address HOT 1
- Feature request: Support for notebooks HOT 1
- Issue while executing docker-compose HOT 2
- mta_data not found
- How to run python app?
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-spark-cluster.