GithubHelp home page GithubHelp logo

Comments (8)

rareal avatar rareal commented on August 16, 2024 2

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.

alexeyegorov avatar alexeyegorov commented on August 16, 2024 1

@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.

rareal avatar rareal commented on August 16, 2024 1

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.

alexeyegorov avatar alexeyegorov commented on August 16, 2024

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.

alexeyegorov avatar alexeyegorov commented on August 16, 2024

@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.

rareal avatar rareal commented on August 16, 2024

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.

andre-marcos-perez avatar andre-marcos-perez commented on August 16, 2024

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.

andre-marcos-perez avatar andre-marcos-perez commented on August 16, 2024

@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)

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.