-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to use this tool with Spark Structured Streaming? #5
Comments
Hi, The script should collect metrics regardless of exit code. Please try the following:
See if metrics are collected this way. If the above doesn't help, please attach the output from the script here. Thanks! |
Hi, Thanks for replying! This it the command I'm using:
And I am getting the following when stopping the app:
Also if I kill it with this command:
Then script doesn't even print anything. It becomes just:
|
Can you please try the latest version from master? (f66976e) |
Should be fixed with latest master. |
Hi there, I tried the latest version and it's still not working. When I exit the job, it was in the state of "Collecting profiling metrics" for about 5 seconds and ended with "No profiling metrics were recorded!". Are there any specific commands that I need to put in my code to get it collect metrics? Also I am running this on a EMR cluster with Thanks! |
Hi @yzhan-te, No special configuration is needed, it's added automatically by the script.
Please report back if something is not as described above. |
Yep the settings are there:
The port is reachable too. Are there any other things you want me to look at specifically? |
Can you look at the Java process command line ( |
Looks like it's also there:
|
This is the Spark client application command line.
What's interesting is the driver and executor processes themselves.
Could you get them as well?
Thanks!
|
Hello,
Is there a way to setup this tool to collect metrics for Spark Structured Streaming? Currently we have a spark job that pulls Kafka constantly and we have to manually shut it down every time. If I do the manual shutdown, the shell script will complain that the return code is bad and no metrics has been collected.
Thanks!
The text was updated successfully, but these errors were encountered: