Skip to content

Conversation

@yhuai
Copy link
Contributor

@yhuai yhuai commented Apr 27, 2016

This PR is the branch-1.6 version of the following commits from @JoshRosen. We probably cannot change the dependency of sql/hive again. But, if anyone needs this, they can use this PR.

[SPARK-14783] Preserve full exception stacktrace in IsolatedClientLoader
In IsolatedClientLoader, we have acatch block which throws an exception without wrapping the original exception, causing the full exception stacktrace and any nested exceptions to be lost. This patch fixes this, improving the usefulness of classloading error messages.

[SPARK-14786] Remove hive-cli dependency from hive subproject
The hive subproject currently depends on hive-cli in order to perform a check to see whether a SessionState is an instance of org.apache.hadoop.hive.cli.CliSessionState (see #9589). The introduction of this hive-cli dependency has caused problems for users whose Hive metastore JAR classpaths don't include the hive-cli classes (such as in #11495).

This patch removes this dependency on hive-cli and replaces the isInstanceOf check by reflection. I added a Maven Enforcer rule to ban hive-cli from the hive subproject in order to make sure that this dependency is not accidentally reintroduced.

@SparkQA
Copy link

SparkQA commented Apr 27, 2016

Test build #57083 has finished for PR 12724 at commit 321ec4e.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yhuai
Copy link
Contributor Author

yhuai commented Apr 27, 2016

test this please

@SparkQA
Copy link

SparkQA commented Apr 27, 2016

Test build #57088 has finished for PR 12724 at commit 321ec4e.

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

@yhuai
Copy link
Contributor Author

yhuai commented Apr 27, 2016

test this please

@SparkQA
Copy link

SparkQA commented Apr 27, 2016

Test build #57131 has finished for PR 12724 at commit 321ec4e.

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

@yhuai
Copy link
Contributor Author

yhuai commented Apr 27, 2016

test this please

@SparkQA
Copy link

SparkQA commented Apr 27, 2016

Test build #2896 has finished for PR 12724 at commit 321ec4e.

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

@SparkQA
Copy link

SparkQA commented Apr 27, 2016

Test build #57145 has finished for PR 12724 at commit 321ec4e.

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

@SparkQA
Copy link

SparkQA commented Apr 27, 2016

Test build #57173 has finished for PR 12724 at commit 27af7a9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

JoshRosen and others added 2 commits April 27, 2016 16:36
In IsolatedClientLoader, we have a`catch` block which throws an exception without wrapping the original exception, causing the full exception stacktrace and any nested exceptions to be lost. This patch fixes this, improving the usefulness of classloading error messages.

Author: Josh Rosen <[email protected]>

Closes #12548 from JoshRosen/improve-logging-for-hive-classloader-issues.
@SparkQA
Copy link

SparkQA commented Apr 28, 2016

Test build #57193 has finished for PR 12724 at commit 49b7b52.

  • This patch fails from timeout after a configured wait of 250m.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yhuai
Copy link
Contributor Author

yhuai commented Apr 28, 2016

test this please

1 similar comment
@yhuai
Copy link
Contributor Author

yhuai commented Apr 28, 2016

test this please

@SparkQA
Copy link

SparkQA commented Apr 28, 2016

Test build #57214 has finished for PR 12724 at commit 49b7b52.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Apr 28, 2016

Test build #57221 has finished for PR 12724 at commit 49b7b52.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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.

3 participants