Skip to content
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-23155][DEPLOY] log.server.url links in SHS #20326

Closed

Conversation

gerashegalov
Copy link
Contributor

@gerashegalov gerashegalov commented Jan 19, 2018

What changes were proposed in this pull request?

Ensure driver/executor log availability via Spark History Server UI even if the original NodeManagers are gone. The patch is a minimum viable prototype that assumes access to NM's yarn conf with a fixed RPC port on a SHS machine because it does not add anything to the event log regarding YARN nodeId.

This is behavior is in line with MR JobHistory server, and is extremely important for job diagnostics with AWS EMR auto-scaling where NodeManagers going away is the norm.

How was this patch tested?

Manually tested with a pseudo-distirbuted YARN cluster.

@gerashegalov
Copy link
Contributor Author

@vanzin do you mind considering this issue?

@vanzin
Copy link
Contributor

vanzin commented Jan 24, 2018

I need to take a closer look at what is happening here and whether there's a cleaner way... putting YARN-specific code in not one, but two different places in core sounds a little sketchy.

While I do that, it'd be nice to have tests, and there are a few style issues (mainly closures should follow the foo { bar => ... } syntax).

@gerashegalov
Copy link
Contributor Author

thanks for feedback, Marcelo. I was also thinking back and forth where to put this logic. Ideally YARN should provide a permalink similar to AM proxy for logs as well. However, this was faster to put in production and in line with MapReduce.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@vanzin
Copy link
Contributor

vanzin commented Dec 20, 2018

I'm closing this one since the approach in the PR linked above is going in a better direction. Hopefully it can be made more generic (not just YARN).

@vanzin vanzin closed this Dec 20, 2018
@gerashegalov
Copy link
Contributor Author

gerashegalov commented Dec 21, 2018

👍 happy to kill the fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants