| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Couple of nits - PTAL
Sorry, something went wrong.
| deleteClusterAsyncRequest.get(); | ||
| System.out.println(String.format("Cluster \"%s\" successfully deleted.", clusterName)); | ||
|
|
||
| } catch (ExecutionException e) { |
There was a problem hiding this comment.
If ExecutionException occurs from interacting with the API (like it's thrown if you don't have permission or if your request is misconfigured), keep it and clarify that it's an error from interacting with the service with the println.
If it's not from the API, please let it bubble up (and be consistent with the other samples - it's bubbled up in a few other places).
Sorry, something went wrong.
There was a problem hiding this comment.
Ahh yes, I see what you're saying. Errors caused by our API bubble up to be an Execution Exception, so I think it should definitely be caught. I'll add it to the other sample.
Sorry, something went wrong.
|
You may also need to truncate your UUID:
|
Sorry, something went wrong.
…form/java-docs-samples into dataproc-samples
* Added dataproc quickstart samples * Fixed linting, string formatting, copyrights * added overloaded functions to all samples * Formatting changes * small bug fixes * Fixed CreateCluster sample and added Quickstart * Added quickstart sample * Added dataproc quickstart samples * Fixed linting, string formatting, copyrights * added overloaded functions to all samples * Formatting changes * small bug fixes * Fixed CreateCluster sample and added Quickstart * Added quickstart sample * Updates to createCluster and quickstart * Fixed quickstart and tests * Changes to tests * Added periods to comments * Fixed pom and added handling for ExecutionException * Fixed lint errors * Fixed linting errors
| Back | FazBrowse Home | New Git URL |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.