Skip to content

Heap histogram doesn't work in Spark UI #340

Answered by razvan
paulpaul1076 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, yes you are correct.

It seems that UBI 8 only includes jmap in the devel version of the openjdk package.

To build your own image with jmap included you could do something like this:

FROM docker.stackable.tech/stackable/spark-k8s:3.5.0-stackable23.11.0

USER root

RUN microdnf update && \
    microdnf install java-11-openjdk-devel && \
    microdnf clean all

To use your own Spark image, add the custom property to the application resource like this:

apiVersion: spark.stackable.tech/v1alpha1
kind: SparkApplication
spec:
  sparkImage:
    custom: <your image name here>
    productVersion: "3.5.0"
    pullPolicy: IfNotPresent
...

Hope this helps.

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@paulpaul1076
Comment options

@lfrancke
Comment options

@paulpaul1076
Comment options

@razvan
Comment options

@paulpaul1076
Comment options

Answer selected by paulpaul1076
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants