<?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: Spark 2 Installation Failed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69376#M79793</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, I tried to change java version but cloudera service not starting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed th link: &lt;A href="https://www.cloudera.com/documentation/enterprise/5-11-x/topics/cdh_cm_upgrading_to_jdk8.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-11-x/topics/cdh_cm_upgrading_to_jdk8.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get error which is Failed to start LSB: Cloudera SCM Server and there is no error on /var/log/cloudera-scm-server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Huriye&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 11:11:12 GMT</pubDate>
    <dc:creator>Huriye</dc:creator>
    <dc:date>2018-06-26T11:11:12Z</dc:date>
    <item>
      <title>Spark 2 Installation Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69318#M79789</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to install Spark 2 by using CSD on cloudera manager but I got error while deploying client configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed all the steps in the link below;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/spark2/latest/topics/spark2_installing.html" target="_blank"&gt;https://www.cloudera.com/documentation/spark2/latest/topics/spark2_installing.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My CDH version is 5.14 but there is no spark2 parcel for 5.14, there are parcels for 5.13 and 5.12. Is this the problem I faced with?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Spark2.PNG" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4267i698ACBA42C7560C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Spark2.PNG" alt="Spark2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Huriye&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:22:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69318#M79789</guid>
      <dc:creator>Huriye</dc:creator>
      <dc:date>2022-09-16T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 2 Installation Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69353#M79790</link>
      <description>&lt;PRE&gt;My CDH version is 5.14 but there is no spark2 parcel for 5.14, there are parcels for 5.13 and 5.12. Is this the problem I faced with?&lt;/PRE&gt;&lt;P&gt;This is not an issue. Spark is built on CDH5.13 but it works fine with CDH5.14.&lt;/P&gt;&lt;P&gt;Check compatibility notes:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/spark2/latest/topics/spark2_requirements.html#cdh_versions" target="_self"&gt;https://www.cloudera.com/documentation/spark2/latest/topics/spark2_requirements.html#cdh_versions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the screenshot, the procedure failed while it was distributing configuration to namenode. Can you check the "stdout" and "stderr" output? You can copy it here so we can take a look.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 13:41:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69353#M79790</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-06-25T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 2 Installation Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69372#M79791</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdout and stderr are in below;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Tue Jun 26 09:01:24 +03 2018
using /usr/java/jdk1.7.0_67-cloudera as JAVA_HOME
using 5 as CDH_VERSION
using /run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771 as CONF_DIR
using spark2-conf as DIRECTORY_NAME
using /etc/spark2/conf.cloudera.spark2_on_yarn as DEST_PATH
using spark2-conf as ALT_NAME
using /etc/spark2/conf as ALT_LINK
using 51 as PRIORITY
using scripts/control.sh as RUNNER_PROGRAM
using client as RUNNER_ARGS
using /usr/sbin/update-alternatives as UPDATE_ALTERNATIVES
Deploying service client configs to /etc/spark2/conf.cloudera.spark2_on_yarn
invoking optional deploy script scripts/control.sh
/run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771/spark2-conf /run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771
Tue Jun 26 09:01:24 +03 2018: Running Spark2 CSD control script...
Tue Jun 26 09:01:24 +03 2018: Detected CDH_VERSION of [5]
Java version 1.8 is required for Spark 2.2.&lt;/PRE&gt;&lt;PRE&gt;+ for SPECIAL_FILE in '$DEST_PATH/{taskcontroller.cfg,container-executor.cfg}'
+ '[' -e /etc/spark2/conf.cloudera.spark2_on_yarn/taskcontroller.cfg ']'
+ for SPECIAL_FILE in '$DEST_PATH/{taskcontroller.cfg,container-executor.cfg}'
+ '[' -e /etc/spark2/conf.cloudera.spark2_on_yarn/container-executor.cfg ']'
++ basename /etc/spark2/conf
+ LINK_BASENAME=conf
+ [[ -d conf ]]
+ '[' -n scripts/control.sh ']'
+ chmod u+x /run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771/scripts/control.sh
+ echo 'invoking optional deploy script scripts/control.sh'
+ SRC_PATH=/run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771/spark2-conf
+ '[' '!' -d /run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771/spark2-conf ']'
+ pushd /run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771/spark2-conf
+ /run/cloudera-scm-agent/process/ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_-1963022203308540771/scripts/control.sh client
++ log 'Running Spark2 CSD control script...'
+++ date
++ timestamp='Tue Jun 26 09:01:24 +03 2018'
++ echo 'Tue Jun 26 09:01:24 +03 2018: Running Spark2 CSD control script...'
++ echo 'Tue Jun 26 09:01:24 +03 2018: Running Spark2 CSD control script...'
Tue Jun 26 09:01:24 +03 2018: Running Spark2 CSD control script...
++ log 'Detected CDH_VERSION of [5]'
+++ date
++ timestamp='Tue Jun 26 09:01:24 +03 2018'
++ echo 'Tue Jun 26 09:01:24 +03 2018: Detected CDH_VERSION of [5]'
++ echo 'Tue Jun 26 09:01:24 +03 2018: Detected CDH_VERSION of [5]'
Tue Jun 26 09:01:24 +03 2018: Detected CDH_VERSION of [5]
++ PATH_TO_JAVA=/usr/java/jdk1.7.0_67-cloudera/bin/java
+++ /usr/java/jdk1.7.0_67-cloudera/bin/java -version
+++ awk -F '"' '/version/ {print $2}'
++ JAVA_VER=1.7.0_67
++ JAVA_VER_SHORT=1.7
++ [[ 1.7 != \1\.\8 ]]
++ echo 'Java version 1.8 is required for Spark 2.2.'
++ exit 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 06:15:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69372#M79791</guid>
      <dc:creator>Huriye</dc:creator>
      <dc:date>2018-06-26T06:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 2 Installation Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69373#M79792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26295"&gt;@Huriye&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for posting your query with Cloudera community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the documentation I could see, the requirement for spark 2.2.x is JDK 1.8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer the below URL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1].&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/spark2/2-2-x/topics/spark2_requirements.html" target="_blank"&gt;https://www.cloudera.com/documentation/spark2/2-2-x/topics/spark2_requirements.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 08:55:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69373#M79792</guid>
      <dc:creator>satz</dc:creator>
      <dc:date>2018-06-26T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 2 Installation Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69376#M79793</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, I tried to change java version but cloudera service not starting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed th link: &lt;A href="https://www.cloudera.com/documentation/enterprise/5-11-x/topics/cdh_cm_upgrading_to_jdk8.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-11-x/topics/cdh_cm_upgrading_to_jdk8.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get error which is Failed to start LSB: Cloudera SCM Server and there is no error on /var/log/cloudera-scm-server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Huriye&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:11:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69376#M79793</guid>
      <dc:creator>Huriye</dc:creator>
      <dc:date>2018-06-26T11:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Spark 2 Installation Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69377#M79794</link>
      <description>&lt;P&gt;Ok, from the log it is obvioues that issue for spark is the old jdk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you tried to upgrade java have you defined the java home in "/etc/default/cloudera-scm-server"&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;PRE&gt;export JAVA_HOME="/usr/lib/jvm/java-8-oracle/"&lt;/PRE&gt;&lt;P&gt;Can you send the relevant "/var/log/cloudera-scm-server/cloudera-scm-server.out" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 11:33:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-2-Installation-Failed/m-p/69377#M79794</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-06-26T11:33:52Z</dc:date>
    </item>
  </channel>
</rss>

