This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git.
from 9706261 [FLINK-14104][build] User projects use shade-plugin 3.1.1
add e201712 [hotfix][runtime] Remove unused compareTo from ResourceProfile
add 675e554 [hotfix][core] Remove ResourceSpec#isValid
add 4a487ca [hotfix][core] Strengthen ResourceSpec#lessThanOrEqual param
checking
add aba9fe3 [hotfix][core] Remove ResourceAggregateType
add 5d6b7d2 [hotfix][core] GPUResource hosts its own name
add d32e1d0 [FLINK-14594][core] Change Resource to use BigDecimal as its
value
add ab6a8c5 [FLINK-14594][core] Introduce CPUResource
add 37be8e8 [FLINK-14594][core] Change ResourceSpec to use CPUResource
for cpu cores
add 828ba0f [FLINK-14594][runtime] Change ResourceProfile to use
CPUResource for cpu cores
No new revisions were added by this update.
Summary of changes:
.../flink/api/common/operators/ResourceSpec.java | 107 +++++-------
.../operators/util/OperatorValidationUtils.java | 6 +-
.../flink/api/common/resources/CPUResource.java | 26 ++-
.../flink/api/common/resources/GPUResource.java | 15 +-
.../flink/api/common/resources/Resource.java | 93 ++++-------
.../api/common/operators/ResourceSpecTest.java | 43 ++---
.../flink/api/common/resources/ResourceTest.java | 104 ++++++++++++
.../flink/api/common/resources/TestResource.java} | 24 +--
.../clusterframework/types/ResourceProfile.java | 179 ++++++++-------------
.../runtime/taskexecutor/TaskManagerServices.java | 3 +-
...ocationPreferenceSlotSelectionStrategyTest.java | 8 +-
.../types/ResourceProfileTest.java | 31 +---
12 files changed, 318 insertions(+), 321 deletions(-)
copy
flink-java/src/main/java/org/apache/flink/api/java/functions/IdPartitioner.java
=>
flink-core/src/main/java/org/apache/flink/api/common/resources/CPUResource.java
(65%)
create mode 100644
flink-core/src/test/java/org/apache/flink/api/common/resources/ResourceTest.java
copy
flink-core/src/{main/java/org/apache/flink/configuration/description/LineBreakElement.java
=> test/java/org/apache/flink/api/common/resources/TestResource.java} (66%)