[
https://issues.apache.org/jira/browse/OOZIE-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177176#comment-16177176
]
Satish Subhashrao Saley commented on OOZIE-2885:
------------------------------------------------
{quote}
I think you can actually remove
HiveConf.setHiveSiteLocation(HiveConf.class.getClassLoader().getResource("hive-site.xml"));
{quote}
Tested with
[SparkHiveExample|https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/sql/hive/SparkHiveExample.scala].
Setting hive-site.xml is not required.
> Running Spark actions should not need Hive on the classpath
> -----------------------------------------------------------
>
> Key: OOZIE-2885
> URL: https://issues.apache.org/jira/browse/OOZIE-2885
> Project: Oozie
> Issue Type: Bug
> Reporter: Peter Cseh
> Assignee: Satish Subhashrao Saley
> Priority: Critical
> Attachments: OOZIE-2885-1.patch
>
>
> SparkMain references HiveConf so we need hive-common jar on the classpath
> even if the Spark job has nothing to do with Hive.
> This shouldn't be the case.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)