-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix: small updates to dataproc sample, test and pom #1738
Conversation
…d femoved endpoint configuring in CreateClusterTest.java
… slight mod to pom
@bradmiro Can you rebase this to the current version of master? |
@@ -75,8 +76,13 @@ public void createClusterTest() throws IOException, InterruptedException { | |||
|
|||
@After | |||
public void tearDown() throws IOException, InterruptedException { | |||
String myEndpoint = String.format("%s-dataproc.googleapis.com:443", REGION); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to file an issue on the client library for this?
The region is already passed in the deleteClusterAsyncRequest
, and it seems unncessary to force the user to create a new regional client just to delete a cluster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree and this is consistent across all of the languages. I have this documented on my end.
* refactored and added tags to infinite speech streaming sample (#1605) * Changed 'main' region tag * Removed extra lines around tags and changed client import to v1 * Create dataproc directory and add CreateCluster sample * reverting changes to speech infinite streaming sample * Added java versions to pom * Several changes to file formatting as per request in the PR * Added comments to exceptions in CreateCluster, expanded exceptions and femoved endpoint configuring in CreateClusterTest.java * Fixed version for parent config * Added clarity to futures requests by expanding variables * Fixed linting errors * Fixed import ordering * Moved exceptions to function level in dataproc create cluster sample + test * Re-added endpoint to test, changed region tags to include 'dataproc', slight mod to pom * fix to pom
Slight change to pom, changed region tags to include 'dataproc', added endpoint back to test (would not successfully delete the cluster without this)