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

Get detail information with jobId #78

Open
yyuzhong opened this issue Oct 24, 2014 · 0 comments
Open

Get detail information with jobId #78

yyuzhong opened this issue Oct 24, 2014 · 0 comments

Comments

@yyuzhong
Copy link

Hi,
I could get detail information with curl localhost:8090/jobs, it will list all jobs info I had run.
{
"duration": "45.913 secs",
"classPath": "org.pvamu.hadoop.image.SparkJobDriver",
"startTime": "2014-10-20T19:28:15.927-05:00",
"context": "pixel-job91",
"status": "FINISHED",
"jobId": "712c0bc9-d560-419e-89c5-658864246a77"
}, {
"duration": "43.22 secs",
"classPath": "org.pvamu.hadoop.image.SparkJobDriver",
"startTime": "2014-10-24T15:58:12.134-05:00",
"context": "pixel-job92",
"status": "FINISHED",
"jobId": "a394d0ce-f65e-4f55-b836-726597261f6d"
}

But When I just want to query one specific job status(query every 5s), I use curl localhost:8090/jobs/a394d0ce-f65e-4f55-b836-726597261f6d, I could only get status and result.
{
"status": "OK",
"result": "()"
}

So my question is: Is there any way to get detail information with jobId? I want to query status and duration of one job with its jobId, but I do not want to get all jobs information and search in it, cause it will take more time and get other jobs information i do not care.

Thanks!

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

1 participant