Search code examples
apache-sparkpysparkapache-spark-sqlspark-streamingbitnami

Change metrics.properties in bitnami spark helm


I use bitnami spark helm to deploy spark on k8s. I want to change metrics.properties, I made config map and mount that to /opt/bitnami/spark/conf. I got this error:

mv: cannot move '/opt/bitnami/spark/conf/metrics.properties.template' to '/opt/bitnami/spark/conf/metrics.properties': Device or resource busy

What should I do?


Solution

  • I create image from bitnami spark Dockerfile and use my customized merics.properties and copy that in image with merics.properties.template.

    https://hub.docker.com/r/bitnami/spark/Dockerfile