<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Minimal executable jar based on Scala code packed with Maven in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167705#M57597</link>
    <description>&lt;P&gt;Hi pbarna,&lt;/P&gt;&lt;P&gt;Oh I am sorry. Yes I could run mvn package without any errors (at the beginninh some dependencies were missing but I fixed that). The error in my original post is when I try to run my paavked jar on HDP. So I do not need any cluster or Hortonworks specific things in my pom, right?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 00:20:42 GMT</pubDate>
    <dc:creator>jiiiiken88</dc:creator>
    <dc:date>2017-03-22T00:20:42Z</dc:date>
    <item>
      <title>Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167703#M57595</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I would like to make a minimal example packed with Maven based on Scala code (like a hello world) and run it on a HDP2.5 sandbox. What do I need to specify in my pom.xml? So far I have this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&amp;gt;
  &amp;lt;modelVersion&amp;gt;4.0.0&amp;lt;/modelVersion&amp;gt;
  &amp;lt;groupId&amp;gt;com.test.spark&amp;lt;/groupId&amp;gt;
  &amp;lt;artifactId&amp;gt;Test&amp;lt;/artifactId&amp;gt;
  &amp;lt;version&amp;gt;0.0.1&amp;lt;/version&amp;gt;
  &amp;lt;name&amp;gt;${project.artifactId}&amp;lt;/name&amp;gt;
  &amp;lt;description&amp;gt;Simple test app&amp;lt;/description&amp;gt;
  &amp;lt;inceptionYear&amp;gt;2017&amp;lt;/inceptionYear&amp;gt;

  &amp;lt;!-- change from 1.6 to 1.7 depending on Java version --&amp;gt;
  &amp;lt;properties&amp;gt;
    &amp;lt;maven.compiler.source&amp;gt;1.6&amp;lt;/maven.compiler.source&amp;gt;
    &amp;lt;maven.compiler.target&amp;gt;1.6&amp;lt;/maven.compiler.target&amp;gt;
    &amp;lt;encoding&amp;gt;UTF-8&amp;lt;/encoding&amp;gt;
    &amp;lt;scala.version&amp;gt;2.11.5&amp;lt;/scala.version&amp;gt;
    &amp;lt;scala.compat.version&amp;gt;2.11&amp;lt;/scala.compat.version&amp;gt;
    &amp;lt;spark.version&amp;gt;1.6.1&amp;lt;/spark.version&amp;gt;
  &amp;lt;/properties&amp;gt;

  &amp;lt;dependencies&amp;gt;
    &amp;lt;dependency&amp;gt;
      &amp;lt;groupId&amp;gt;org.scala-lang&amp;lt;/groupId&amp;gt;
      &amp;lt;artifactId&amp;gt;scala-library&amp;lt;/artifactId&amp;gt;
      &amp;lt;version&amp;gt;${scala.version}&amp;lt;/version&amp;gt;
    &amp;lt;/dependency&amp;gt;

    &amp;lt;!-- Spark dependency --&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;org.apache.spark&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;spark-core_${scala.compat.version}&amp;lt;/artifactId&amp;gt;
        &amp;lt;version&amp;gt;${spark.version}&amp;lt;/version&amp;gt;
    &amp;lt;/dependency&amp;gt;
    &amp;lt;!-- Spark sql dependency --&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;org.apache.spark&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;spark-sql_${scala.compat.version}&amp;lt;/artifactId&amp;gt;
        &amp;lt;version&amp;gt;${spark.version}&amp;lt;/version&amp;gt;
    &amp;lt;/dependency&amp;gt;
    &amp;lt;!-- Spark hive dependency --&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;org.apache.spark&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;spark-hive_${scala.compat.version}&amp;lt;/artifactId&amp;gt;
        &amp;lt;version&amp;gt;${spark.version}&amp;lt;/version&amp;gt;
    &amp;lt;/dependency&amp;gt;
 &amp;lt;/dependencies&amp;gt;

  &amp;lt;build&amp;gt;
    &amp;lt;sourceDirectory&amp;gt;src/main/scala&amp;lt;/sourceDirectory&amp;gt;
    &amp;lt;!-- Create JAR with all dependencies --&amp;gt;
    &amp;lt;plugins&amp;gt;
       &amp;lt;plugin&amp;gt;
        &amp;lt;artifactId&amp;gt;maven-assembly-plugin&amp;lt;/artifactId&amp;gt;
        &amp;lt;version&amp;gt;3.0.0&amp;lt;/version&amp;gt;
        &amp;lt;executions&amp;gt;
          &amp;lt;execution&amp;gt;
            &amp;lt;phase&amp;gt;package&amp;lt;/phase&amp;gt;
            &amp;lt;goals&amp;gt;
              &amp;lt;goal&amp;gt;single&amp;lt;/goal&amp;gt;
            &amp;lt;/goals&amp;gt;
          &amp;lt;/execution&amp;gt;
        &amp;lt;/executions&amp;gt;
        &amp;lt;configuration&amp;gt;
          &amp;lt;descriptorRefs&amp;gt;
            &amp;lt;descriptorRef&amp;gt;jar-with-dependencies&amp;lt;/descriptorRef&amp;gt;
          &amp;lt;/descriptorRefs&amp;gt;
        &amp;lt;/configuration&amp;gt;
      &amp;lt;/plugin&amp;gt;
      &amp;lt;plugin&amp;gt;
        &amp;lt;!-- see &lt;A href="http://davidb.github.com/scala-maven-plugin" target="_blank" rel="nofollow noopener noreferrer"&gt;http://davidb.github.com/scala-maven-plugin&lt;/A&gt; --&amp;gt;
        &amp;lt;groupId&amp;gt;net.alchim31.maven&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;scala-maven-plugin&amp;lt;/artifactId&amp;gt;
        &amp;lt;version&amp;gt;3.2.2&amp;lt;/version&amp;gt;
        &amp;lt;configuration&amp;gt;
            &amp;lt;scalaVersion&amp;gt;${scala.version}&amp;lt;/scalaVersion&amp;gt;
            &amp;lt;scalaCompatVersion&amp;gt;${scala.compat.version}&amp;lt;/scalaCompatVersion&amp;gt;
        &amp;lt;/configuration&amp;gt;
        &amp;lt;executions&amp;gt;
          &amp;lt;execution&amp;gt;
            &amp;lt;phase&amp;gt;compile&amp;lt;/phase&amp;gt;
            &amp;lt;goals&amp;gt;
              &amp;lt;goal&amp;gt;compile&amp;lt;/goal&amp;gt;
            &amp;lt;/goals&amp;gt;
          &amp;lt;/execution&amp;gt;
        &amp;lt;/executions&amp;gt;
      &amp;lt;/plugin&amp;gt;
    &amp;lt;/plugins&amp;gt;
  &amp;lt;/build&amp;gt;
&amp;lt;/project&amp;gt;
&lt;/PRE&gt;&lt;P&gt;And my scala code is this:&lt;/P&gt;&lt;PRE&gt;package com.test.spark

import org.apache.spark.SparkContext
import org.apache.spark.SparkConf
import org.apache.spark.sql
import org.apache.commons.lang
import org.apache.spark.sql.SQLContext
import org.apache.spark.sql.hive.HiveContext
import org.apache.spark.rdd.RDD

object Test {
 def main(args: Array[String]) {
 val conf = new SparkConf().setAppName("Test") .setMaster("local[2]")
 val spark = new SparkContext(conf)
 println( "Hello World!" )
 }
}
&lt;/PRE&gt;&lt;P&gt;I run the code with&lt;/P&gt;&lt;PRE&gt;spark-submit --class com.test.spark.Test --master yarn --deploy-mode cluster  hdfs://HDP25/test.jar
&lt;/PRE&gt;&lt;P&gt;Unfortunately it does not run. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; See the image attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13843-01.png" style="width: 1501px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20279i4E11FF78EFEA5824/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13843-01.png" alt="13843-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I missing something? Can you please help me to get a minimal example running?&lt;/P&gt;&lt;P&gt;Thanks and kind regards&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:06:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167703#M57595</guid>
      <dc:creator>jiiiiken88</dc:creator>
      <dc:date>2019-08-18T11:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167704#M57596</link>
      <description>&lt;P&gt;First things first: it was not clear to me, if you can build your project and create a jar file by running a maven command? Once you can build a jar file out of your project, your pom.xml is fine. &lt;/P&gt;&lt;P&gt;To check your pom.xml, run this command:&lt;/P&gt;&lt;PRE&gt;mvn package&lt;/PRE&gt;&lt;P&gt;If it returns en error, please update your original post and include the mvn error&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 23:48:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167704#M57596</guid>
      <dc:creator>bpgergo</dc:creator>
      <dc:date>2017-03-21T23:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167705#M57597</link>
      <description>&lt;P&gt;Hi pbarna,&lt;/P&gt;&lt;P&gt;Oh I am sorry. Yes I could run mvn package without any errors (at the beginninh some dependencies were missing but I fixed that). The error in my original post is when I try to run my paavked jar on HDP. So I do not need any cluster or Hortonworks specific things in my pom, right?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 00:20:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167705#M57597</guid>
      <dc:creator>jiiiiken88</dc:creator>
      <dc:date>2017-03-22T00:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167706#M57598</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14229/jiiiiken88.html" nodeid="14229"&gt;@Ken Jiiii&lt;/A&gt;&lt;P&gt; You can follow this &lt;A href="https://community.hortonworks.com/content/kbentry/88288/spark-action-to-access-hive-using-hivecontext.html"&gt;link&lt;/A&gt; where you have example and pom.xml. and answering to questions " I do not need any cluster or Hortonworks specific things in my pom, right? " Yes you dont need. All those values should be in you code or client configs ( core-site.xml, yarn-site.xml )&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 03:57:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167706#M57598</guid>
      <dc:creator>vbonthu</dc:creator>
      <dc:date>2017-03-22T03:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167707#M57599</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/771/vbonthu.html" nodeid="771"&gt;@Vinod Bonthu&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;Thanks gor the quick guide but I have a follow up question. So it seems my pom is fine since I can package it with maven. Although when I run it via "spark-submit" I get the error stated in my original post. But when I run one of the spark examples by executing below code works. So why is that? I have the feeling that still something is not right and as a forst step I just want to run an example code packaged by myself via spark-submit. Afterwards I will try an oozie workflow.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;PRE&gt;spark-submit org.apache.spark.exaples.SOMEEXAMPlE --master yarn-cluster  hdfs://path-to-spark-examples.jar&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Mar 2017 13:41:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167707#M57599</guid>
      <dc:creator>jiiiiken88</dc:creator>
      <dc:date>2017-03-22T13:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167708#M57600</link>
      <description>&lt;P&gt;Can you post the error logs which are given in the tracking url - &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;For example, for application id application_1459318710253_0026, we check the logs at &lt;A href="http://iafserver.telxsi.com:8088/cluster/app/application_1459318710253_0026"&gt;http://cluster.manager.ip:8088/cluster&lt;/A&gt;&lt;A href="http://iafserver.telxsi.com:8088/cluster/app/application_1459318710253_0026"&gt;/app/application_1459318710253_0026&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Mar 2017 15:28:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167708#M57600</guid>
      <dc:creator>aaditya_a_deshp</dc:creator>
      <dc:date>2017-03-22T15:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167709#M57601</link>
      <description>&lt;P&gt;have you copied the jar file to the hdfs? if you run this command, what is the result? &lt;/P&gt;&lt;P&gt;hadoop fs -ls /path/to/your/spark.jar&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:18:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167709#M57601</guid>
      <dc:creator>bpgergo</dc:creator>
      <dc:date>2017-03-22T17:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167710#M57602</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/16775/aadityaadeshpande.html" nodeid="16775"&gt;@Aditya Deshpande&lt;/A&gt;,&lt;/P&gt;&lt;PRE&gt;17/03/22 11:27:53 INFO HiveContext: Initializing execution hive, version 1.2.1
17/03/22 11:27:53 INFO ClientWrapper: Inspected Hadoop version: 2.7.3.2.5.0.0-1245
17/03/22 11:27:53 INFO ClientWrapper: Loaded org.apache.hadoop.hive.shims.Hadoop23Shims for Hadoop version 2.7.3.2.5.0.0-1245
17/03/22 11:27:53 INFO HiveMetaStore: 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
17/03/22 11:27:53 INFO ObjectStore: ObjectStore, initialize called
17/03/22 11:27:53 WARN HiveMetaStore: Retrying creating default database after error: Class org.datanucleus.api.jdo.JDOPersistenceManagerFactory was not found.
javax.jdo.JDOFatalUserException: Class org.datanucleus.api.jdo.JDOPersistenceManagerFactory was not found.
        at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1175)
        at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:808)
        at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:701)
...
...

&lt;/PRE&gt;&lt;P&gt;That is the first error I find in the logs in stderr. Another one is&lt;/P&gt;&lt;PRE&gt;17/03/22 11:27:53 INFO HiveMetaStore: 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
17/03/22 11:27:53 INFO ObjectStore: ObjectStore, initialize called
17/03/22 11:27:53 WARN Hive: Failed to access metastore. This class should not accessed in runtime.
org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
        at org.apache.hadoop.hive.ql.metadata.Hive.getAllDatabases(Hive.java:1236)
        at org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:174)
        at org.apache.hadoop.hive.ql.metadata.Hive.&amp;lt;clinit&amp;gt;(Hive.java:166)
...
...


&lt;/PRE&gt;&lt;P&gt;Can you make use of this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:33:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167710#M57602</guid>
      <dc:creator>jiiiiken88</dc:creator>
      <dc:date>2017-03-22T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167711#M57603</link>
      <description>&lt;P&gt;Yes I did. The reult is &lt;/P&gt;&lt;PRE&gt;-rwxr-xr-x  3 USER USER  12252 2017-03-17 10:49 /path-to-jar/my.jar&lt;/PRE&gt;&lt;P&gt;And the ouput when I run the spark-commit command is stated above.
&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 18:21:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167711#M57603</guid>
      <dc:creator>jiiiiken88</dc:creator>
      <dc:date>2017-03-22T18:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167712#M57604</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/14229/jiiiiken88.html" nodeid="14229"&gt;@Ken Jiiii&lt;/A&gt;&lt;/P&gt;&lt;P&gt; Looking at your error, application master failed 2 times due to exit code 15, Did you check your /spark/conf if you have placed hive-site.xml and in your code can you try removing  " .setMaster("local[2]") " as you are running on yarn. &lt;/P&gt;&lt;P&gt;try running it&lt;/P&gt;&lt;P&gt;spark-submit --class com.test.spark.Test --master yarn-cluster  hdfs://HDP25/test.jar&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 23:45:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167712#M57604</guid>
      <dc:creator>vbonthu</dc:creator>
      <dc:date>2017-03-22T23:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167713#M57605</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/771/vbonthu.html" nodeid="771"&gt;@Vinod Bonthu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;your answer really helped but unfortunately it wasn't the complete solution. 
As statd in my error log I had to add some jars via the&lt;/P&gt;&lt;PRE&gt;spark-submit --jars
&lt;/PRE&gt;&lt;P&gt;command and I also added my hive site with&lt;/P&gt;&lt;PRE&gt;spark-submit --files /usr/hdp/current/spark-client/conf/hive-site.xml
&lt;/PRE&gt;&lt;P&gt;With those two changes and removing &lt;/P&gt;&lt;PRE&gt;.setMaster("local[2]")
&lt;/PRE&gt;&lt;P&gt;it worked!&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 13:39:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167713#M57605</guid>
      <dc:creator>jiiiiken88</dc:creator>
      <dc:date>2017-03-23T13:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Minimal executable jar based on Scala code packed with Maven</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167714#M57606</link>
      <description>&lt;P&gt;awesome &lt;A rel="user" href="https://community.cloudera.com/users/14229/jiiiiken88.html" nodeid="14229"&gt;@Ken Jiiii&lt;/A&gt;&lt;/P&gt;&lt;P&gt;  hive-site.xml should be available across the  cluster in /etc/spark/conf ( where /usr/hdp/current/spark-client/conf will be symlink to)  and spark client need to be installed across the cluster worker nodes for your yarn-cluster mode to run as your spark driver can run on any worker node and should be having client installed with spark/conf. If you are using Ambari it will taking care of hive-site.xml available in /spark-client/conf/ &lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 23:44:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Minimal-executable-jar-based-on-Scala-code-packed-with-Maven/m-p/167714#M57606</guid>
      <dc:creator>vbonthu</dc:creator>
      <dc:date>2017-03-23T23:44:29Z</dc:date>
    </item>
  </channel>
</rss>

