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

monitoring image/script throws java.lang.NullPointerException #11

Open
skatragadda-nygc opened this issue May 26, 2020 · 4 comments
Open

Comments

@skatragadda-nygc
Copy link

skatragadda-nygc commented May 26, 2020

Monitoring script/image throws

cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler.interpretOperationStatus(GetR equestHandler.scala:122) at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler.interpretOperationStatus$(Get RequestHandler.scala:48) at cromwell.backend.google.pipelines.v2beta.api.request.RequestHandler.interpretOperationStatus(Request Handler.scala:23) at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler.$anonfun$handleRequest$2(GetR equestHandler.scala:33) at scala.util.Success.$anonfun$map$1(Try.scala:255) at scala.util.Success.map(Try.scala:213) at scala.concurrent.Future.$anonfun$map$1(Future.scala:292) ... 14 more Caused by: java.lang.NullPointerException at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler$$anonfun$$nestedInanonfun$get EventList$3$1.applyOrElse(GetRequestHandler.scala:139) at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler$$anonfun$$nestedInanonfun$get EventList$3$1.applyOrElse(GetRequestHandler.scala:139) at scala.collection.immutable.List.collect(List.scala:308) at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler.$anonfun$getEventList$3(GetRe questHandler.scala:139) at scala.collection.immutable.List.flatMap(List.scala:338) at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler.getEventList(GetRequestHandle r.scala:138) at cromwell.backend.google.pipelines.v2beta.api.request.GetRequestHandler.interpretOperationStatus(GetR equestHandler.scala:72) ... 20 more

We are using latest cromwell and PAPI v2 config in wdl_runner image.

Monitoring options are set in options.json file using monitoring_script or monitoring_image. Please let me know if there is a way to fix this.

cc: @cjllanwarne @kv076 @dinvlad

@skatragadda-nygc
Copy link
Author

I have used the following monitoring tools.
https://github.com/broadinstitute/cromwell-monitor
https://github.com/broadinstitute/cromwell-task-monitor-bq

also the script from here https://gatkforums.broadinstitute.org/wdl/discussion/12459/gathering-job-resource-usage-stats-from-backend

All of them work partially. But they keep throwing above error message and the workflow fails after a while.

@kv076
Copy link

kv076 commented May 26, 2020

Sri, I would try using PAP V2 ALPHA rather than V2 Beta. We're still trying to get the V2 Beta support more mainstream.

@skatragadda-nygc
Copy link
Author

Thanks for the quick response. Localization has improved drastically after moving to Beta reducing the overall workflow execution time. I am not sure if we want to go back. Is there a timeline for a fix or new release?

@skatragadda-nygc
Copy link
Author

skatragadda-nygc commented May 27, 2020

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