Skip to content

Commit

Permalink
[Batch] Bumps Batch SDK to 9.0.0 (#18517)
Browse files Browse the repository at this point in the history
  • Loading branch information
gingi authored Jan 11, 2021
1 parent 891c4ab commit 1a590c2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion eng/spotbugs-aggregate-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-batch</artifactId>
<version>8.1.0</version> <!-- {x-version-update;com.microsoft.azure:azure-batch;current} -->
<version>9.0.0</version> <!-- {x-version-update;com.microsoft.azure:azure-batch;current} -->
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Note: com.azure:azure-sdk-parent is in version_client.txt

com.azure:azure-data-sdk-parent;1.3.0;1.3.0
com.microsoft.azure:azure-batch;8.1.0-beta.1;8.1.0
com.microsoft.azure:azure-batch;8.1.0-beta.1;9.0.0
com.microsoft.azure:azure-applicationinsights-query;1.0.0-beta-2;1.0.0-beta-2
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-spellcheck;1.1.0-beta.1;1.1.0-beta.1
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-textanalytics;1.1.0-beta.1;1.1.0-beta.1
Expand Down
15 changes: 11 additions & 4 deletions sdk/batch/microsoft-azure-batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# Release History

## 8.1.0 (2021-01-05)

- Exposes a BatchClient factory method
## 9.0.0 (2021-01-08)

### Features

- Adds support for task slots
- `JobOperations.getTaskSlotCounts()` returns task slot counts
- `JobOperations.getTaskResult()` returns a `TaskCountsResult` object containing both task and slot counts
- `JobOperations.getTaskCountsResult()` returns a `TaskCountsResult` object containing both task and slot counts
- Adds property `requiredSlots` to `CloudTask`, allowing the user to specify how many slots on a node they should take up
- Exposes a `BatchClient` factory method

### Breaking Changes

- Property `maxTasksPerNode` is replaced with `taskSlotsPerNode`, which allows nodes to consume a dynamic amount of slots for more fine-grained control over resource consumption
- `CloudPool.maxTasksPerNode` &rarr; `CloudPool.taskSlotsPerNode`
- `PoolAddParameter.maxTasksPerNode` &rarr; `PoolAddParameter.taskSlotsPerNode`
- `PoolSpecification.maxTasksPerNode` &rarr; `PoolSpecification.taskSlotsPerNode`

## 8.0.0 (2020-04-27)
### Features
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/microsoft-azure-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-batch</artifactId>
<packaging>jar</packaging>
<version>8.1.0</version> <!-- {x-version-update;com.microsoft.azure:azure-batch;current} -->
<version>9.0.0</version> <!-- {x-version-update;com.microsoft.azure:azure-batch;current} -->

<name>Microsoft Azure Batch SDK Root</name>
<description>This package contains the root module of Microsoft Azure Batch SDK.</description>
Expand Down

0 comments on commit 1a590c2

Please sign in to comment.