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

fix: small updates to dataproc sample, test and pom #1738

Merged
merged 17 commits into from
Nov 16, 2019
Merged

Conversation

bradmiro
Copy link
Contributor

Slight change to pom, changed region tags to include 'dataproc', added endpoint back to test (would not successfully delete the cluster without this)

@bradmiro bradmiro requested review from kurtisvg and a team November 15, 2019 23:33
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 15, 2019
@kurtisvg
Copy link
Contributor

@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);
Copy link
Contributor

@kurtisvg kurtisvg Nov 15, 2019

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.

Copy link
Contributor Author

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.

@bradmiro bradmiro merged commit 95ec8cc into master Nov 16, 2019
bourgeoisor pushed a commit that referenced this pull request Nov 11, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants