Skip to content

Commit

Permalink
Removing some debug statements (flyteorg#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
anandswaminathan authored Apr 24, 2020
1 parent 7361bf6 commit 63088b6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions go/tasks/plugins/array/awsbatch/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (

func LaunchSubTasks(ctx context.Context, tCtx core.TaskExecutionContext, batchClient Client, pluginConfig *config.Config,
currentState *State, metrics ExecutorMetrics) (nextState *State, err error) {
logger.Debugf(ctx, "Entering LaunchSubTasks ")
size := currentState.GetExecutionArraySize()
if int64(currentState.GetExecutionArraySize()) > pluginConfig.MaxArrayJobSize {
ee := fmt.Errorf("array size > max allowed. Requested [%v]. Allowed [%v]", currentState.GetExecutionArraySize(), pluginConfig.MaxArrayJobSize)
Expand Down Expand Up @@ -54,8 +53,6 @@ func LaunchSubTasks(ctx context.Context, tCtx core.TaskExecutionContext, batchCl
}

metrics.SubTasksSubmitted.Add(ctx, float64(size))
logger.Debugf(ctx, "BatchTasks submitted")

parentState := currentState.
SetPhase(arrayCore.PhaseCheckingSubTaskExecutions, 0).
SetArrayStatus(arraystatus.ArrayStatus{
Expand Down
1 change: 0 additions & 1 deletion go/tasks/plugins/array/awsbatch/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func createSubJobList(count int) []*Job {

func CheckSubTasksState(ctx context.Context, taskMeta core.TaskExecutionMetadata, outputPrefix, baseOutputSandbox storage.DataReference, jobStore *JobStore,
dataStore *storage.DataStore, cfg *config.Config, currentState *State, metrics ExecutorMetrics) (newState *State, err error) {
logger.Debugf(ctx, "Entering CheckSubTasksState ")
newState = currentState
parentState := currentState.State
jobName := taskMeta.GetTaskExecutionID().GetGeneratedName()
Expand Down

0 comments on commit 63088b6

Please sign in to comment.