Skip to content

Commit 56a23e9

Browse files
feat: [dataproc] add support for Dataproc metric configuration (#8433)
- [ ] Regenerate this pull request now. Committer: @AkshatBhargava PiperOrigin-RevId: 475750057 Source-Link: googleapis/googleapis@30517fd Source-Link: https://github.com/googleapis/googleapis-gen/commit/a41cc2ab3df78ee0b84f67499e7562de02ab34c0 Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiYTQxY2MyYWIzZGY3OGVlMGI4NGY2NzQ5OWU3NTYyZGUwMmFiMzRjMCJ9
1 parent 8f2889b commit 56a23e9

File tree

14 files changed

+3377
-297
lines changed

14 files changed

+3377
-297
lines changed

java-dataproc/README.md

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -11,59 +11,28 @@ Java idiomatic client for [Dataproc][product-docs].
1111

1212
## Quickstart
1313

14-
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1514

16-
```xml
17-
<dependencyManagement>
18-
<dependencies>
19-
<dependency>
20-
<groupId>com.google.cloud</groupId>
21-
<artifactId>libraries-bom</artifactId>
22-
<version>26.1.1</version>
23-
<type>pom</type>
24-
<scope>import</scope>
25-
</dependency>
26-
</dependencies>
27-
</dependencyManagement>
28-
29-
<dependencies>
30-
<dependency>
31-
<groupId>com.google.cloud</groupId>
32-
<artifactId>google-cloud-dataproc</artifactId>
33-
</dependency>
34-
</dependencies>
35-
36-
```
37-
38-
If you are using Maven without BOM, add this to your dependencies:
15+
If you are using Maven, add this to your pom.xml file:
3916

4017

4118
```xml
4219
<dependency>
4320
<groupId>com.google.cloud</groupId>
4421
<artifactId>google-cloud-dataproc</artifactId>
45-
<version>4.0.3</version>
22+
<version>4.0.5</version>
4623
</dependency>
47-
4824
```
4925

50-
If you are using Gradle 5.x or later, add this to your dependencies:
51-
52-
```Groovy
53-
implementation platform('com.google.cloud:libraries-bom:26.1.1')
54-
55-
implementation 'com.google.cloud:google-cloud-dataproc'
56-
```
5726
If you are using Gradle without BOM, add this to your dependencies:
5827

5928
```Groovy
60-
implementation 'com.google.cloud:google-cloud-dataproc:4.0.4'
29+
implementation 'com.google.cloud:google-cloud-dataproc:4.0.5'
6130
```
6231

6332
If you are using SBT, add this to your dependencies:
6433

6534
```Scala
66-
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.0.4"
35+
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.0.5"
6736
```
6837

6938
## Authentication
@@ -101,20 +70,6 @@ use this Dataproc Client Library.
10170

10271

10372

104-
## Samples
105-
106-
Samples are in the [`samples/`](https://github.com/googleapis/java-dataproc/tree/main/samples) directory.
107-
108-
| Sample | Source Code | Try it |
109-
| --------------------------- | --------------------------------- | ------ |
110-
| Create Cluster | [source code](https://github.com/googleapis/java-dataproc/blob/main/samples/snippets/src/main/java/CreateCluster.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dataproc&page=editor&open_in_editor=samples/snippets/src/main/java/CreateCluster.java) |
111-
| Create Cluster With Autoscaling | [source code](https://github.com/googleapis/java-dataproc/blob/main/samples/snippets/src/main/java/CreateClusterWithAutoscaling.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dataproc&page=editor&open_in_editor=samples/snippets/src/main/java/CreateClusterWithAutoscaling.java) |
112-
| Instantiate Inline Workflow Template | [source code](https://github.com/googleapis/java-dataproc/blob/main/samples/snippets/src/main/java/InstantiateInlineWorkflowTemplate.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dataproc&page=editor&open_in_editor=samples/snippets/src/main/java/InstantiateInlineWorkflowTemplate.java) |
113-
| Quickstart | [source code](https://github.com/googleapis/java-dataproc/blob/main/samples/snippets/src/main/java/Quickstart.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dataproc&page=editor&open_in_editor=samples/snippets/src/main/java/Quickstart.java) |
114-
| Submit Hadoop Fs Job | [source code](https://github.com/googleapis/java-dataproc/blob/main/samples/snippets/src/main/java/SubmitHadoopFsJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dataproc&page=editor&open_in_editor=samples/snippets/src/main/java/SubmitHadoopFsJob.java) |
115-
| Submit Job | [source code](https://github.com/googleapis/java-dataproc/blob/main/samples/snippets/src/main/java/SubmitJob.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-dataproc&page=editor&open_in_editor=samples/snippets/src/main/java/SubmitJob.java) |
116-
117-
11873

11974
## Troubleshooting
12075

0 commit comments

Comments
 (0)