Github user harishreedharan commented on a diff in the pull request:
https://github.com/apache/spark/pull/5792#discussion_r31170190
--- Diff:
core/src/main/scala/org/apache/spark/deploy/history/ApplicationHistoryProvider.scala
---
@@ -62,4 +64,12 @@ private[history] abstract class
ApplicationHistoryProvider {
*/
def getConfig(): Map[String, String] = Map()
+ /**
+ * Get the [[Path]]s to the Event log files. For legacy event log
directories, directory path
+ * itself is returned. The caller is responsible for listing the files
and using them as needed.
+ * If the attemptId is [[None]], event logs corresponding to all
attempts for the given
+ * application are downloaded as a single zip file.
+ */
+ def getEventLogPaths(appId: String, attemptId: Option[String]):
Seq[Path] = Seq.empty
--- End diff --
I thought about this - the idea that I could come up with was to add a new
interface and have an implementation that wraps a `Path` and get some of the
`Path` functionality from that implementation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]