From 1a590c2694a811a9d47c408200c75d13aa99aa0e Mon Sep 17 00:00:00 2001 From: Shiran Pasternak Date: Mon, 11 Jan 2021 13:05:34 -0500 Subject: [PATCH] [Batch] Bumps Batch SDK to 9.0.0 (#18517) --- eng/spotbugs-aggregate-report/pom.xml | 2 +- eng/versioning/version_data.txt | 2 +- sdk/batch/microsoft-azure-batch/CHANGELOG.md | 15 +++++++++++---- sdk/batch/microsoft-azure-batch/pom.xml | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/eng/spotbugs-aggregate-report/pom.xml b/eng/spotbugs-aggregate-report/pom.xml index 7a2b72b62ce21..f7f2e5413dda6 100644 --- a/eng/spotbugs-aggregate-report/pom.xml +++ b/eng/spotbugs-aggregate-report/pom.xml @@ -112,7 +112,7 @@ com.microsoft.azure azure-batch - 8.1.0 + 9.0.0 com.microsoft.azure diff --git a/eng/versioning/version_data.txt b/eng/versioning/version_data.txt index e7b147f2e7bc2..92f2183892489 100644 --- a/eng/versioning/version_data.txt +++ b/eng/versioning/version_data.txt @@ -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 diff --git a/sdk/batch/microsoft-azure-batch/CHANGELOG.md b/sdk/batch/microsoft-azure-batch/CHANGELOG.md index ce4fde5fd9ba4..e9cfac3145db7 100644 --- a/sdk/batch/microsoft-azure-batch/CHANGELOG.md +++ b/sdk/batch/microsoft-azure-batch/CHANGELOG.md @@ -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` → `CloudPool.taskSlotsPerNode` + - `PoolAddParameter.maxTasksPerNode` → `PoolAddParameter.taskSlotsPerNode` + - `PoolSpecification.maxTasksPerNode` → `PoolSpecification.taskSlotsPerNode` ## 8.0.0 (2020-04-27) ### Features diff --git a/sdk/batch/microsoft-azure-batch/pom.xml b/sdk/batch/microsoft-azure-batch/pom.xml index b3e0c7bc220b4..5d3c6140bb552 100644 --- a/sdk/batch/microsoft-azure-batch/pom.xml +++ b/sdk/batch/microsoft-azure-batch/pom.xml @@ -16,7 +16,7 @@ com.microsoft.azure azure-batch jar - 8.1.0 + 9.0.0 Microsoft Azure Batch SDK Root This package contains the root module of Microsoft Azure Batch SDK.