-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-6688] [core] Always use resolved URIs in EventLoggingListener. #5340
Conversation
@@ -755,7 +755,7 @@ private[master] class Master( | |||
} | |||
|
|||
val eventLogFilePrefix = EventLoggingListener.getLogPath( | |||
eventLogDir, app.id, app.desc.eventLogCodec) | |||
new URI(eventLogDir), app.id, app.desc.eventLogCodec) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this have to be resolveURI
as well?
@vanzin good catch. The changes here look good. On the other hand I was wondering if we should just resolve it in |
Test build #29639 has finished for PR 5340 at commit
|
@@ -18,7 +18,7 @@ | |||
package org.apache.spark.deploy.master | |||
|
|||
import java.io.FileNotFoundException | |||
import java.net.URLEncoder | |||
import java.net.{URI, URLEncoder} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't need to change. I'll fix this when I merge
LGTM will merge into master and 1.3 once tests pass |
Test build #29682 has finished for PR 5340 at commit
|
Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #5340 from vanzin/SPARK-6688 and squashes the following commits: ccfddd9 [Marcelo Vanzin] Resolve at the source. 20d2a34 [Marcelo Vanzin] [SPARK-6688] [core] Always use resolved URIs in EventLoggingListener. (cherry picked from commit 14632b7) Signed-off-by: Andrew Or <andrew@databricks.com>
No description provided.