Skip to content

Commit 9ecc1a0

Browse files
author
guoxiaolong
committed
[SPARK-20354]/api/v1/applications’ return sparkUser is null in REST API.
1 parent c716a92 commit 9ecc1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/ui/SparkUI.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private[spark] class SparkUI private (
117117
endTime = new Date(-1),
118118
duration = 0,
119119
lastUpdated = new Date(startTime),
120-
sparkUser = "",
120+
sparkUser = getSparkUser,
121121
completed = false
122122
))
123123
))

0 commit comments

Comments
 (0)