Skip to content

Commit

Permalink
Fix Stage.name return "apply at Option.scala:120"
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo authored and aarondav committed Mar 25, 2014
1 parent dc126f2 commit 1bc22d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ private[spark] object Utils extends Logging {
var finished = false
var firstUserClass = "<unknown>"

for (el <- trace) {
for (el <- trace if el.getClassName != "scala.Option") {
if (!finished) {
if (SPARK_CLASS_REGEX.findFirstIn(el.getClassName).isDefined) {
lastSparkMethod = if (el.getMethodName == "<init>") {
Expand Down

0 comments on commit 1bc22d7

Please sign in to comment.