Skip to content

Commit a8ceec5

Browse files
chutiumsarutak
authored andcommitted
[SPARK-12053][CORE] EventLoggingListener.getLogPath needs 4 parameters
```EventLoggingListener.getLogPath``` needs 4 input arguments: https://github.com/apache/spark/blob/v1.6.0-preview2/core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala#L276-L280 the 3rd parameter should be appAttemptId, 4th parameter is codec... Author: Teng Qiu <teng.qiu@gmail.com> Closes apache#10044 from chutium/SPARK-12053.
1 parent 2c5dee0 commit a8ceec5

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/scala/org/apache/spark/deploy/master

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/master/Master.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ private[deploy] class Master(
934934
}
935935

936936
val eventLogFilePrefix = EventLoggingListener.getLogPath(
937-
eventLogDir, app.id, app.desc.eventLogCodec)
937+
eventLogDir, app.id, appAttemptId = None, compressionCodecName = app.desc.eventLogCodec)
938938
val fs = Utils.getHadoopFileSystem(eventLogDir, hadoopConf)
939939
val inProgressExists = fs.exists(new Path(eventLogFilePrefix +
940940
EventLoggingListener.IN_PROGRESS))

0 commit comments

Comments
 (0)