Comments (6)
@rdhara I used github actions for building JAR files by modifying it to upload jar files as a release: https://github.com/utkarshgupta137/sparkmonitor/blob/master/.github/workflows/publish.yml#L41
from sparkmonitor.
Yup I figured it out (same step you have) and got it to work, thank you @creepysta!
from sparkmonitor.
This probably is the same as #7, see my comment there. I will draft a PR soon with a fix.
from sparkmonitor.
@creepysta Can you please explain the steps you took after adding that one line to the listener file? I'm new to sbt
and Scala and am having some trouble generating the JARs referenced in the build.sbt
:
assembly / assemblyOutputPath := {
scalaBinaryVersion.value match {
case "2.11" => (baseDirectory { base => base / ("../sparkmonitor/listener_2.11.jar") }).value
case "2.12" => (baseDirectory { base => base / ("../sparkmonitor/listener_2.12.jar") }).value
}
}
These jars appear in site-packages
when I just run pip install sparkmonitor
. I'm not even sure where the JAR building is happening, but based on a search for sbt
I found this on line 75 of the packages.json
: "build:scalalistener": "cd scalalistener && sbt +assembly",
but the command failed with an error message.
My current plan is to make the change in a separate repo and try to pip install
that repo after cloning it in. I tried this but I'm not able to get the JARs to appear after the setup.py
runs; any guidance you can provide on building this locally would be very helpful - thanks in advance!
from sparkmonitor.
@rdhara I used github actions for building JAR files by modifying it to upload jar files as a release: https://github.com/utkarshgupta137/sparkmonitor/blob/master/.github/workflows/publish.yml#L41
Thank you I'll try this!
from sparkmonitor.
Hi @rdhara , apologies for the late reply. Can you try assembly
followed by package
in sbt shell? Just open sbt shell in the same folder as sbt.build
file.
The output jar should be present in ../sparkmonitor
considering your cwd is sparkmonitor/scalalistener
from sparkmonitor.
Related Issues (12)
- ERROR JupyterSparkMonitorListener: Exception creating socket: java.lang.NumberFormatException: For input string: "ERRORNOTFOUND" HOT 3
- Scrolling for a Spark lengthy job progress bar
- Sparkmonitor failure for kernel restart - java.net.SocketException: Broken pipe (Write failed) HOT 2
- Task error and output not showing anymore in Spark monitor
- Difference between the old sparkmonitor and the new one HOT 2
- spark-sql query doesn't show the sparkmonitor progressbar
- ScalaMonitor' object has no attribute 'comm' HOT 1
- Monitoring progress bar not showing when using spark on kubernetes kernel
- log4j default logging level for sparkmonitor HOT 4
- Explore an alternative approach to Spark UI Proxy HOT 1
- AttributeError: 'ScalaMonitor' object has no attribute 'comm' HOT 8
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 sparkmonitor.