Repository: spark Updated Branches: refs/heads/branch-1.5 7900d192e -> 9b6216171
[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 <[email protected]> Closes #10044 from chutium/SPARK-12053. (cherry picked from commit a8ceec5e8c1572dd3d74783c06c78b7ca0b8a7ce) Signed-off-by: Kousuke Saruta <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/9b621617 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/9b621617 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/9b621617 Branch: refs/heads/branch-1.5 Commit: 9b62161715950c1b76385cf2c2e2e46213fba437 Parents: 7900d19 Author: Teng Qiu <[email protected]> Authored: Tue Dec 1 07:27:32 2015 +0900 Committer: Kousuke Saruta <[email protected]> Committed: Tue Dec 1 07:28:22 2015 +0900 ---------------------------------------------------------------------- core/src/main/scala/org/apache/spark/deploy/master/Master.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/9b621617/core/src/main/scala/org/apache/spark/deploy/master/Master.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/spark/deploy/master/Master.scala b/core/src/main/scala/org/apache/spark/deploy/master/Master.scala index 26904d3..c9b1c04 100644 --- a/core/src/main/scala/org/apache/spark/deploy/master/Master.scala +++ b/core/src/main/scala/org/apache/spark/deploy/master/Master.scala @@ -925,7 +925,7 @@ private[deploy] class Master( } val eventLogFilePrefix = EventLoggingListener.getLogPath( - eventLogDir, app.id, app.desc.eventLogCodec) + eventLogDir, app.id, appAttemptId = None, compressionCodecName = app.desc.eventLogCodec) val fs = Utils.getHadoopFileSystem(eventLogDir, hadoopConf) val inProgressExists = fs.exists(new Path(eventLogFilePrefix + EventLoggingListener.IN_PROGRESS)) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
