Skip to content

Disable verbose containerdebug logging in Spark Kubernetes operator #730

Description

@rbreejen

Affected Stackable version

v26.3.0

Affected Apache Spark-on-Kubernetes version

No response

Current and expected behavior

Hi all,
Is there any way to disable containerdebug when running Stackable Spark on Kubernetes?

By default, containerdebug appears to always be enabled, and it generates a large amount of unnecessary and verbose logging! Currently it seems like the spark-k8s-operator hardcodes the variable _STACKABLE_PRE_HOOK to containerdebug --output={VOLUME_MOUNT_PATH_LOG}/containerdebug-state.json --loop &.

We have tried overriding the variable _STACKABLE_PRE_HOOK by:

However, none of these approaches appear to disable containerdebug. Is there a supported configuration option to turn it off, or is disabling it currently not possible?

Any help would be appreciated!

Possible solution

No response

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions