-
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-5353] Log failures in REPL class loading #4130
Conversation
Can one of the admins verify this patch? |
case e: Exception => None | ||
case e: FileNotFoundException => | ||
// We did not find the class | ||
logDebug(s"Did not load class $name from REPL class server at $uri", e) |
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 shouldn't be debug level? Or is it a common case? What is the reference to a class server?
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 happens whenever a class is loaded which was not defined in the REPL (Spark Shell). But it could theoretically be an error (e.g. whole directory not available). The class server is the server that serves the classes (i.e. the actual .class
files) defined in the REPL.
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.
OK, it's rarely a remote server. I'd just log the URI.
Also this is borderline non-trivial enough to need a JIRA, although, I think this doesn't change any behavior, just logs things.
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.
What do you mean by just the URI? Remove the string "REPL class server at"?
I'll gladly open a JIRA, if you think it is necessary.
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.
Yes exactly. The URI is typically not remote, not from some server, just a local JAR.
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.
It is actually a remote URI: Have a look at the usage site. It can either point to an HTTP server or an HDFS.
Just added a JIRA |
Jenkins, this is ok to test. |
Test build #25927 has started for PR 4130 at commit
|
Test build #25927 has finished for PR 4130 at commit
|
Test FAILed. |
@marmbrus could you have a look at this as well, please? |
Test build #567 has started for PR 4130 at commit
|
Test build #567 has finished for PR 4130 at commit
|
test this please |
Test build #26440 has started for PR 4130 at commit
|
Test build #26440 has finished for PR 4130 at commit
|
Test PASSed. |
@pwendell does this seem reasonable? |
lgtm. |
LGTM |
I can merge it. |
No description provided.