diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2016-07-11 15:20:48 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-07-11 15:20:48 -0700 |
commit | b4fbe140be158f576706f21fa69f40d6e14e4a43 (patch) | |
tree | 0238a12ddf8c15a2d20148571327fb543a9ddf35 /graphx | |
parent | 7f38b9d5f469b2550bc481cbf9adb9acc3779712 (diff) | |
download | spark-b4fbe140be158f576706f21fa69f40d6e14e4a43.tar.gz spark-b4fbe140be158f576706f21fa69f40d6e14e4a43.tar.bz2 spark-b4fbe140be158f576706f21fa69f40d6e14e4a43.zip |
[SPARK-16349][SQL] Fall back to isolated class loader when classes not found.
Some Hadoop classes needed by the Hive metastore client jars are not present
in Spark's packaging (for example, "org/apache/hadoop/mapred/MRVersion"). So
if the parent class loader fails to find a class, try to load it from the
isolated class loader, in case it's available there.
Tested by setting spark.sql.hive.metastore.jars to local paths with Hive/Hadoop
libraries and verifying that Spark can talk to the metastore.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #14020 from vanzin/SPARK-16349.
Diffstat (limited to 'graphx')
0 files changed, 0 insertions, 0 deletions