This is an automated email from the ASF dual-hosted git repository.
jxue pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git.
from 429bc24 [HELIX-791] TASK2.0: Add RuntimeJobDag with job iterator
functionality Job list iterator methods and underlying data structure were
added to JobDag to support retrieval of jobs by TaskDispatcher (to be
implemented) for improvement in Task Framework.
new 91e84ae Fix format
new dad3f36 Integrate JobIterator for existing pipeline
new 8e12001 Apply quota constraint for saving computation time
new 405595e Refactor ClusterDataCache to PropertyCache
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../helix/common/caches/AbstractDataCache.java | 30 +-
.../helix/common/caches/CurrentStateCache.java | 2 +-
.../helix/common/caches/ExternalViewCache.java | 4 +-
.../helix/common/caches/IdealStateCache.java | 4 +-
.../apache/helix/common/caches/PropertyCache.java | 220 ++++++++
.../common/caches/TargetExternalViewCache.java | 2 +
.../apache/helix/common/caches/TaskDataCache.java | 50 +-
.../helix/controller/stages/ClusterDataCache.java | 576 +++++++++++++--------
.../stages/task/TaskSchedulingStage.java | 35 +-
.../apache/helix/task/AbstractTaskDispatcher.java | 51 +-
.../helix/task/AssignableInstanceManager.java | 19 +-
.../main/java/org/apache/helix/task/JobDag.java | 20 +-
.../java/org/apache/helix/task/JobDispatcher.java | 8 +-
.../java/org/apache/helix/task/JobRebalancer.java | 27 +-
.../java/org/apache/helix/task/RuntimeJobDag.java | 44 +-
.../helix/task/TaskAssignmentCalculator.java | 2 +-
.../org/apache/helix/task/WorkflowDispatcher.java | 40 +-
.../org/apache/helix/task/WorkflowRebalancer.java | 3 +-
.../TestQuotaConstraintSkipWorkflowAssignment.java | 65 +++
.../TestClusterDataCacheSelectiveUpdate.java | 10 +-
.../paticipant/TestNodeOfflineTimeStamp.java | 6 +-
.../TestStateTransitionTimeoutWithResource.java | 2 +-
.../TestAutoRebalancePartitionLimit.java | 2 +-
.../helix/integration/task/TaskTestUtil.java | 74 +--
.../integration/task/TestScheduleDelayTask.java | 18 +-
.../task/TestTaskRebalancerParallel.java | 9 +-
.../integration/task/TestWorkflowTermination.java | 2 +-
.../mbeans/TestTopStateHandoffMetrics.java | 10 +-
.../apache/helix/task/TestCleanExpiredJobs.java | 6 +-
.../apache/helix/task/TestScheduleDelayJobs.java | 6 +-
30 files changed, 980 insertions(+), 367 deletions(-)
create mode 100644
helix-core/src/main/java/org/apache/helix/common/caches/PropertyCache.java
create mode 100644
helix-core/src/test/java/org/apache/helix/controller/stages/TestQuotaConstraintSkipWorkflowAssignment.java