Giter Site home page Giter Site logo

Comments (4)

pblh123 avatar pblh123 commented on May 24, 2024

Do we need to add other ports?

from spark-notebook.

vidma avatar vidma commented on May 24, 2024

0.7.0 is a very old release. did you try with master?

if it doesn't maybe docker build needs to be updated to run spark-notebook with the port set to 9001 (so docker issues CMD <path-to-spark-notebook-exeuctable> ... -Dhttp.port=9001 , maybe in this file https://github.com/spark-notebook/spark-notebook/blob/f0551adfcf435d410f094bb5915fa155070ea0a9/project/DockerProperties.scala ; and see

spark-notebook/build.sbt

Lines 34 to 44 in f0551ad

dockerBaseImage := DockerProperties.baseImage
dockerCommands ++= DockerProperties.commands
dockerExposedVolumes ++= DockerProperties.volumes
dockerExposedPorts ++= DockerProperties.ports
dockerRepository := DockerProperties.registry //Docker
packageName in Docker := MainProperties.name
).

feel free to make a PR @pblh123 @yeikel

I guess this mismatch might have been introduced by this commit 647674d

from spark-notebook.

vidma avatar vidma commented on May 24, 2024

or as simplest quickfix we may simply expose 9000 port too and we're done (in add 9000 in DockerProperties.ports ), but that might conflict with play default port...

from spark-notebook.

pblh123 avatar pblh123 commented on May 24, 2024

@vidma Thanks u very much, i just want to run a spark-notebook and learning spark. But i didn't know which commond to run a containner is better.

from spark-notebook.

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.