Comments (8)
It looks like the Web UI is started by the SparkContext
https://spark.apache.org/docs/latest/monitoring.html
"Every SparkContext launches a Web UI, by default on port 4040, that displays useful information about the application"
As you start the SparkContext on the jupyterlab container, I guess that's the one that will have the server and hence needs the port binding.
from spark-standalone-cluster-on-docker.
@rareal Thanks for this hint! Logic is so helpful! :)
Nevertheless, I mean... probably as this is not a special case, but the ordinary usage of this docker image I think it might be helpful to add this single line to the docker-compose.yml
file. I can do that and prepare a pull request. Does it make sence?
from spark-standalone-cluster-on-docker.
I think it makes sense, yes.
There's a Contributing ref too, I might contribute a windows build script later, if time permits :)
from spark-standalone-cluster-on-docker.
Adding 4040:4040
as port for jupyterlab service solves the issue. I don't quite understand why... does anybody else have this problem at all?
from spark-standalone-cluster-on-docker.
@rareal what is might be changed for Windows build script? For Mac OS I would just need to adjust the existing build script. Will you write a new one for the windows shell? That would be awesome, btw. Couple of colleagues are using windows and would really appreciate your work. :)
from spark-standalone-cluster-on-docker.
I'd write a powershell script, adapt the yml parsing (powershell also does not have a built in yml parser) and the rest seems pretty straightforward to adapt too
from spark-standalone-cluster-on-docker.
Hey @alexeyegorov and @rareal the solution proposed by #41 works like a charm. I'll be merging #41 to the develop branch for the next release! Thanks both for the contribution. @rareal I will accessing the #43 anytime soon.
from spark-standalone-cluster-on-docker.
@alexeyegorov and @rareal if you would like to be featured on the contributors, feel free to submit a pr on the README file, just make sure to follow the pattern.
from spark-standalone-cluster-on-docker.
Related Issues (20)
- Hive and Hue HOT 1
- [FEATURE] Build images on Mac OSX (with solution) HOT 3
- [FEATURE] Docker-Compose script with resources HOT 2
- [FEATURE] Core Development for 1.2.1
- [FEATURE] Core Development for 1.2.2
- import wget fails in jupyter notebook (not installed) HOT 1
- [BUG] Pulling bespoke scala deb from unvetted location HOT 3
- [BUG] root docker-compose.yaml needs to be updated
- [FEATURE] Ability to split Spark Master and Workers Nodes and run on different cluster nodes
- [BUG] Unable to start service with Docker Compose
- unable to connect to kafka from jupyter lab container but able to connect from spark-master container shell HOT 2
- [BUG] Python 3.9 in image "andreper/jupyterlab:3.0.0-spark-2.4.4" HOT 1
- [BUG] Download Spark URL
- [BUG] Cannot submit tasks to master HOT 4
- [BUG]
- [FEATURE] OpenJDK Docker Image is getting deprecated
- [FEATURE] Suppress verbosity from build.sh
- [BUG]
- [FEATURE]
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 spark-standalone-cluster-on-docker.