Skip to content

Commit a79dcc3

Browse files
committed
Modified appearance
1 parent 55a390c commit a79dcc3

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

core/src/main/resources/org/apache/spark/ui/static/timeline-view.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ div#application-timeline, div#job-timeline {
2929
border: 1px solid #000000;
3030
}
3131

32-
#task-assignment-timeline .legend-area>svg {
32+
#task-assignment-timeline .legend-area > svg {
3333
width: 600px;
3434
height: 80px;
3535
}
3636

37-
#task-assignment-timeline>.timeline-header:after {
37+
#task-assignment-timeline > .timeline-header:after {
3838
content: "";
3939
clear: both;
4040
height: 0;
@@ -44,17 +44,20 @@ div#application-timeline, div#job-timeline {
4444

4545
#task-assignment-timeline div.item.range {
4646
padding: 0px;
47-
height: 40px;
47+
height: 26px;
48+
// height: 40px;
4849
}
4950

5051
.task-assignment-timeline-content {
5152
width: 100%;
52-
height: 19px;
53+
// height: 22px;
54+
// height: 19px;
5355
}
5456

5557
.task-assignment-timeline-duration-bar {
5658
width: 100%;
57-
height: 19px;
59+
// height: 22px;
60+
// height: 19px;
5861
}
5962

6063
rect.scheduler-delay-proportion {

core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -631,28 +631,27 @@ private[ui] class StagePage(parent: StagesTab) extends WebUIPage("stage") {
631631
'<br>Shuffle Write Time: ${UIUtils.formatDuration(shuffleWriteTime)}' +
632632
'<br>Result Serialization Time: ${UIUtils.formatDuration(serializationTime)}' +
633633
'<br>Getting Result Time: ${UIUtils.formatDuration(gettingResultTime)}">' +
634-
| '${taskIdWithIndexAndAttempt}</div>' +
635634
| '<svg class="task-assignment-timeline-duration-bar">' +
636635
| '<rect class="scheduler-delay-proportion" ' +
637-
| 'x="${schedulerDelayProportionPos}%" y="0" height="100%"' +
636+
| 'x="${schedulerDelayProportionPos}%" y="0" height="24px"' +
638637
| 'width="${schedulerDelayProportion}%""></rect>' +
639638
| '<rect class="deserialization-time-proportion" '+
640-
| 'x="${deserializationTimeProportionPos}%" y="0" height="100%"' +
639+
| 'x="${deserializationTimeProportionPos}%" y="0" height="24px"' +
641640
| 'width="${deserializationTimeProportion}%"></rect>' +
642641
| '<rect class="shuffle-read-time-proportion" ' +
643-
| 'x="${shuffleReadTimeProportionPos}%" y="0" height="100%"' +
642+
| 'x="${shuffleReadTimeProportionPos}%" y="0" height="24px"' +
644643
| 'width="${shuffleReadTimeProportion}%"></rect>' +
645644
| '<rect class="executor-runtime-proportion" ' +
646-
| 'x="${executorRuntimeProportionPos}%" y="0" height="100%"' +
645+
| 'x="${executorRuntimeProportionPos}%" y="0" height="24px"' +
647646
| 'width="${executorComputingTimeProportion}%"></rect>' +
648647
| '<rect class="shuffle-write-time-proportion" ' +
649-
| 'x="${shuffleWriteTimeProportionPos}%" y="0" height="100%"' +
648+
| 'x="${shuffleWriteTimeProportionPos}%" y="0" height="24px"' +
650649
| 'width="${shuffleWriteTimeProportion}%"></rect>' +
651650
| '<rect class="serialization-time-proportion" ' +
652-
| 'x="${serializationTimeProportionPos}%" y="0" height="100%"' +
651+
| 'x="${serializationTimeProportionPos}%" y="0" height="24px"' +
653652
| 'width="${serializationTimeProportion}%"></rect>' +
654653
| '<rect class="getting-result-time-proportion" ' +
655-
| 'x="${gettingResultTimeProportionPos}%" y="0" height="100%"' +
654+
| 'x="${gettingResultTimeProportionPos}%" y="0" height="24px"' +
656655
| 'width="${gettingResultTimeProportion}%"></rect></svg>',
657656
| 'start': new Date(${launchTime}),
658657
| 'end': new Date(${finishTime})

0 commit comments

Comments
 (0)