Skip to content

Conversation

@gzm0
Copy link
Contributor

@gzm0 gzm0 commented Jan 21, 2015

No description provided.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

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.

@gzm0 gzm0 changed the title Log failures in REPL class loading [SPARK-5353] Log failures in REPL class loading Jan 21, 2015
@gzm0
Copy link
Contributor Author

gzm0 commented Jan 21, 2015

Just added a JIRA

@JoshRosen
Copy link
Contributor

Jenkins, this is ok to test.

@SparkQA
Copy link

SparkQA commented Jan 21, 2015

Test build #25927 has started for PR 4130 at commit 4fa0582.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Jan 22, 2015

Test build #25927 has finished for PR 4130 at commit 4fa0582.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • logDebug(s"Did not load class $name from REPL class server at $uri", e)
    • logError(s"Failed to check existence of class $name on REPL class server at $uri", e)

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25927/
Test FAILed.

@gzm0
Copy link
Contributor Author

gzm0 commented Jan 26, 2015

@marmbrus could you have a look at this as well, please?

@SparkQA
Copy link

SparkQA commented Jan 26, 2015

Test build #567 has started for PR 4130 at commit 4fa0582.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Jan 26, 2015

Test build #567 has finished for PR 4130 at commit 4fa0582.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@marmbrus
Copy link
Contributor

test this please

@SparkQA
Copy link

SparkQA commented Jan 30, 2015

Test build #26440 has started for PR 4130 at commit 4fa0582.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Jan 31, 2015

Test build #26440 has finished for PR 4130 at commit 4fa0582.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • logDebug(s"Did not load class $name from REPL class server at $uri", e)
    • logError(s"Failed to check existence of class $name on REPL class server at $uri", e)

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26440/
Test PASSed.

@marmbrus
Copy link
Contributor

marmbrus commented Feb 1, 2015

@pwendell does this seem reasonable?

@rxin
Copy link
Contributor

rxin commented Feb 1, 2015

lgtm.

@pwendell
Copy link
Contributor

pwendell commented Feb 2, 2015

LGTM

@pwendell
Copy link
Contributor

pwendell commented Feb 2, 2015

I can merge it.

@asfgit asfgit closed this in 9f0a6e1 Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants