Color scheme in spark web UI -
what blue zone represent? can understand green zone represents computing time. going legend, blue zone should represent scheduler delay.however, numbers not match mentioned schedular delay negligible executor time. so, means?
the scheduler part of master constructs dag of stages , tasks , interacts cluster distribute them in efficient way can. scheduler delay overhead of how long takes ship tasks executors , results back.
this how calculated in recent branch:
private[ui] def getschedulerdelay( info: taskinfo, metrics: taskmetricsuidata, currenttime: long): long = { if (info.finished) { val totalexecutiontime = info.finishtime - info.launchtime val executoroverhead = (metrics.executordeserializetime + metrics.resultserializationtime) math.max( 0, totalexecutiontime - metrics.executorruntime - executoroverhead - getgettingresulttime(info, currenttime)) } else { // task still running , metrics executorruntime not available. 0l } }
Comments
Post a Comment