Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark job Running forever after completed #155

Open
sontt710 opened this issue Oct 7, 2024 · 3 comments
Open

Spark job Running forever after completed #155

sontt710 opened this issue Oct 7, 2024 · 3 comments

Comments

@sontt710
Copy link

sontt710 commented Oct 7, 2024

Hello,

I try to use appender with the following version to submit spark job (spark-pi example) on k8s, but the job running forever and not shutdown after complete, can you help me to check

Version

Spark 3.3.4
Log4j2
Appender 5.3.2
hadoop-aws-3.3.2.jar
aws-java-sdk-bundle-1.11.1026.jar
aws-java-sdk-s3-1.12.772.jar

Driver log

image
@bluedenim
Copy link
Owner

@sontt710
Copy link
Author

sontt710 commented Oct 7, 2024

Thanks @bluedenim, I understand, I will have to shut it down myself in the application, there's no way to configure it from the log4j2 XML file?

@bluedenim
Copy link
Owner

There is no easy way for the event log thread to know when your program should end. Only your program knows when it's time to end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants