manirajv06 commented on a change in pull request #216:
URL:
https://github.com/apache/incubator-yunikorn-core/pull/216#discussion_r563316654
##########
File path: pkg/scheduler/partition.go
##########
@@ -54,13 +54,13 @@ type PartitionContext struct {
allocations map[string]*objects.Allocation // allocations
placementManager *placement.AppPlacementManager // placement
manager for this partition
partitionManager *partitionManager // manager for
this partition
- stateMachine *fsm.FSM // the state of
the partition for scheduling
- stateTime time.Time // last time the
state was updated (needed for cleanup)
+ StateMachine *fsm.FSM // the state of
the partition for scheduling
+ StateTime time.Time // last time the
state was updated (needed for cleanup)
isPreemptable bool // can
allocations be preempted
rules *[]configs.PlacementRule // placement
rules to be loaded by the scheduler
userGroupCache *security.UserGroupCache // user cache
per partition
totalPartitionResource *resources.Resource // Total node
resources
- nodeSortingPolicy *policies.NodeSortingPolicy // Global Node
Sorting Policies
+ NodeSortingPolicy *policies.NodeSortingPolicy // Global Node
Sorting Policies
Review comment:
Taken care.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]