<?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 unable to start the spark2-history in hdp 3.1using Ambari 2.7 and HDP 3.1 on Amzonlinux2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281262#M209276</link>
    <description>&lt;P&gt;While starting the spark2history in amzon2 os hdp 3.1 i am getting the below error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;19/10/24 10:44:48 INFO FsHistoryProvider: History server ui acls disabled; users with admin permissions: ; groups with admin permissions&lt;BR /&gt;19/10/24 10:44:49 WARN DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.&lt;BR /&gt;Exception in thread "main" java.lang.reflect.InvocationTargetException&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;at org.apache.spark.deploy.history.HistoryServer.main(HistoryServer.scala)&lt;BR /&gt;Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, /tmp/libleveldbjni-64-1-539041147636939375.8: /tmp/libleveldbjni-64-1-539041147636939375.8: failed to map segment from shared object]&lt;BR /&gt;at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)&lt;BR /&gt;at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)&lt;BR /&gt;at org.fusesource.leveldbjni.JniDBFactory.&amp;lt;clinit&amp;gt;(JniDBFactory.java:48)&lt;BR /&gt;at org.apache.spark.util.kvstore.LevelDB.&amp;lt;init&amp;gt;(LevelDB.jav&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried by export the following vairables at run time and added in hadoop_env.sh as well no luck&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xport HADOOP_HOME=/usr/hdp/3.1.4.0-315/hadoop&lt;BR /&gt;export PATH=$HADOOP_HOME/bin:$PATH&lt;BR /&gt;export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native&lt;BR /&gt;export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop&lt;BR /&gt;export HADOOP_HDFS_HOME=$HADOOP_HOME&lt;BR /&gt;export HADOOP_MAPRED_HOME=$HADOOP_HOME&lt;BR /&gt;export HADOOP_YARN_HOME=$HADOOP_HOME&lt;BR /&gt;export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"&lt;BR /&gt;export JAVA_LIBRARY_PATH=$HADOOP_HOME/lib/native:$JAVA_LIBRARY_PATH&lt;BR /&gt;export JAVA_HOME=/usr/jdk64/jdk1.8.0_112&lt;BR /&gt;export JRE_HOME=/usr/jdk64/jdk1.8.0_112/jre&lt;BR /&gt;export PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin:${PATH}:.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and also getting the following error while running the hadoop native lib check&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[murali.kumpatla@hadoop02 spark2]$ hadoop checknative -a&lt;BR /&gt;19/10/24 14:01:19 DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...&lt;BR /&gt;19/10/24 14:01:19 DEBUG util.NativeCodeLoader: Loaded the native-hadoop library&lt;BR /&gt;19/10/24 14:01:20 INFO bzip2.Bzip2Factory: Successfully loaded &amp;amp; initialized native-bzip2 library system-native&lt;BR /&gt;19/10/24 14:01:20 INFO zlib.ZlibFactory: Successfully loaded &amp;amp; initialized native-zlib library&lt;BR /&gt;19/10/24 14:01:20 WARN zstd.ZStandardCompressor: Error loading zstandard native libraries: java.lang.InternalError: Cannot load libzstd.so.1 (libzstd.so.1: cannot open shared object file: No such file or directory)!&lt;BR /&gt;19/10/24 14:01:20 WARN erasurecode.ErasureCodeNative: Loading ISA-L failed: Failed to load libisal.so.2 (libisal.so.2: cannot open shared object file: No such file or directory)&lt;BR /&gt;19/10/24 14:01:20 WARN erasurecode.ErasureCodeNative: ISA-L support is not available in your platform... using builtin-java codec where applicable&lt;BR /&gt;19/10/24 14:01:20 DEBUG util.Shell: setsid exited with exit code 0&lt;BR /&gt;Native library checking:&lt;BR /&gt;hadoop: true /usr/hdp/3.1.4.0-315/hadoop/lib/native/libhadoop.so.1.0.0&lt;BR /&gt;zlib: true /lib64/libz.so.1&lt;BR /&gt;zstd : false&lt;BR /&gt;snappy: true /usr/hdp/3.1.4.0-315/hadoop/lib/native/libsnappy.so.1&lt;BR /&gt;lz4: true revision:10301&lt;BR /&gt;bzip2: true /lib64/libbz2.so.1&lt;BR /&gt;openssl: true /lib64/libcrypto.so&lt;BR /&gt;ISA-L: false Loading ISA-L failed: Failed to load libisal.so.2 (libisal.so.2: cannot open shared object file: No such file or directory)&lt;BR /&gt;19/10/24 14:01:20 DEBUG util.ExitUtil: Exiting with status 1: ExitException&lt;BR /&gt;1: ExitException&lt;BR /&gt;at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:304)&lt;BR /&gt;at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:292)&lt;BR /&gt;at org.apache.hadoop.util.NativeLibraryChecker.main(NativeLibraryChecker.java:160)&lt;BR /&gt;19/10/24 14:01:20 INFO util.ExitUtil: Exiting with status 1: ExitException&lt;BR /&gt;[murali.kumpatla@hadoop02 spark2]$&lt;/P&gt;
&lt;P&gt;[murali.kumpatla@hadoop02 native]$ ldd libhadoop.so&lt;BR /&gt;linux-vdso.so.1 (0x00007ffe213fe000)&lt;BR /&gt;libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007fbcdc039000)&lt;BR /&gt;libjvm.so =&amp;gt; not found&lt;BR /&gt;libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007fbcdbe1b000)&lt;BR /&gt;libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007fbcdba65000)&lt;BR /&gt;/lib64/ld-linux-x86-64.so.2 (0x00007fbcdc464000)&lt;BR /&gt;[murali.kumpatla@hadoop02 native]$&lt;/P&gt;
&lt;P&gt;Java version as follows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[murali.kumpatla@hadoop02 bin]$ ./java -version&lt;BR /&gt;java version "1.8.0_112"&lt;BR /&gt;Java(TM) SE Runtime Environment (build 1.8.0_112-b15)&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)&lt;BR /&gt;[murali.kumpatla@hadoop02 bin]$&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 19:16:10 GMT</pubDate>
    <dc:creator>Muralikrishna</dc:creator>
    <dc:date>2019-10-24T19:16:10Z</dc:date>
    <item>
      <title>unable to start the spark2-history in hdp 3.1using Ambari 2.7 and HDP 3.1 on Amzonlinux2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281262#M209276</link>
      <description>&lt;P&gt;While starting the spark2history in amzon2 os hdp 3.1 i am getting the below error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;19/10/24 10:44:48 INFO FsHistoryProvider: History server ui acls disabled; users with admin permissions: ; groups with admin permissions&lt;BR /&gt;19/10/24 10:44:49 WARN DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.&lt;BR /&gt;Exception in thread "main" java.lang.reflect.InvocationTargetException&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;at org.apache.spark.deploy.history.HistoryServer.main(HistoryServer.scala)&lt;BR /&gt;Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, /tmp/libleveldbjni-64-1-539041147636939375.8: /tmp/libleveldbjni-64-1-539041147636939375.8: failed to map segment from shared object]&lt;BR /&gt;at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)&lt;BR /&gt;at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)&lt;BR /&gt;at org.fusesource.leveldbjni.JniDBFactory.&amp;lt;clinit&amp;gt;(JniDBFactory.java:48)&lt;BR /&gt;at org.apache.spark.util.kvstore.LevelDB.&amp;lt;init&amp;gt;(LevelDB.jav&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried by export the following vairables at run time and added in hadoop_env.sh as well no luck&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xport HADOOP_HOME=/usr/hdp/3.1.4.0-315/hadoop&lt;BR /&gt;export PATH=$HADOOP_HOME/bin:$PATH&lt;BR /&gt;export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native&lt;BR /&gt;export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop&lt;BR /&gt;export HADOOP_HDFS_HOME=$HADOOP_HOME&lt;BR /&gt;export HADOOP_MAPRED_HOME=$HADOOP_HOME&lt;BR /&gt;export HADOOP_YARN_HOME=$HADOOP_HOME&lt;BR /&gt;export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"&lt;BR /&gt;export JAVA_LIBRARY_PATH=$HADOOP_HOME/lib/native:$JAVA_LIBRARY_PATH&lt;BR /&gt;export JAVA_HOME=/usr/jdk64/jdk1.8.0_112&lt;BR /&gt;export JRE_HOME=/usr/jdk64/jdk1.8.0_112/jre&lt;BR /&gt;export PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin:${PATH}:.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and also getting the following error while running the hadoop native lib check&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[murali.kumpatla@hadoop02 spark2]$ hadoop checknative -a&lt;BR /&gt;19/10/24 14:01:19 DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...&lt;BR /&gt;19/10/24 14:01:19 DEBUG util.NativeCodeLoader: Loaded the native-hadoop library&lt;BR /&gt;19/10/24 14:01:20 INFO bzip2.Bzip2Factory: Successfully loaded &amp;amp; initialized native-bzip2 library system-native&lt;BR /&gt;19/10/24 14:01:20 INFO zlib.ZlibFactory: Successfully loaded &amp;amp; initialized native-zlib library&lt;BR /&gt;19/10/24 14:01:20 WARN zstd.ZStandardCompressor: Error loading zstandard native libraries: java.lang.InternalError: Cannot load libzstd.so.1 (libzstd.so.1: cannot open shared object file: No such file or directory)!&lt;BR /&gt;19/10/24 14:01:20 WARN erasurecode.ErasureCodeNative: Loading ISA-L failed: Failed to load libisal.so.2 (libisal.so.2: cannot open shared object file: No such file or directory)&lt;BR /&gt;19/10/24 14:01:20 WARN erasurecode.ErasureCodeNative: ISA-L support is not available in your platform... using builtin-java codec where applicable&lt;BR /&gt;19/10/24 14:01:20 DEBUG util.Shell: setsid exited with exit code 0&lt;BR /&gt;Native library checking:&lt;BR /&gt;hadoop: true /usr/hdp/3.1.4.0-315/hadoop/lib/native/libhadoop.so.1.0.0&lt;BR /&gt;zlib: true /lib64/libz.so.1&lt;BR /&gt;zstd : false&lt;BR /&gt;snappy: true /usr/hdp/3.1.4.0-315/hadoop/lib/native/libsnappy.so.1&lt;BR /&gt;lz4: true revision:10301&lt;BR /&gt;bzip2: true /lib64/libbz2.so.1&lt;BR /&gt;openssl: true /lib64/libcrypto.so&lt;BR /&gt;ISA-L: false Loading ISA-L failed: Failed to load libisal.so.2 (libisal.so.2: cannot open shared object file: No such file or directory)&lt;BR /&gt;19/10/24 14:01:20 DEBUG util.ExitUtil: Exiting with status 1: ExitException&lt;BR /&gt;1: ExitException&lt;BR /&gt;at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:304)&lt;BR /&gt;at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:292)&lt;BR /&gt;at org.apache.hadoop.util.NativeLibraryChecker.main(NativeLibraryChecker.java:160)&lt;BR /&gt;19/10/24 14:01:20 INFO util.ExitUtil: Exiting with status 1: ExitException&lt;BR /&gt;[murali.kumpatla@hadoop02 spark2]$&lt;/P&gt;
&lt;P&gt;[murali.kumpatla@hadoop02 native]$ ldd libhadoop.so&lt;BR /&gt;linux-vdso.so.1 (0x00007ffe213fe000)&lt;BR /&gt;libdl.so.2 =&amp;gt; /lib64/libdl.so.2 (0x00007fbcdc039000)&lt;BR /&gt;libjvm.so =&amp;gt; not found&lt;BR /&gt;libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007fbcdbe1b000)&lt;BR /&gt;libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007fbcdba65000)&lt;BR /&gt;/lib64/ld-linux-x86-64.so.2 (0x00007fbcdc464000)&lt;BR /&gt;[murali.kumpatla@hadoop02 native]$&lt;/P&gt;
&lt;P&gt;Java version as follows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[murali.kumpatla@hadoop02 bin]$ ./java -version&lt;BR /&gt;java version "1.8.0_112"&lt;BR /&gt;Java(TM) SE Runtime Environment (build 1.8.0_112-b15)&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)&lt;BR /&gt;[murali.kumpatla@hadoop02 bin]$&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 19:16:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281262#M209276</guid>
      <dc:creator>Muralikrishna</dc:creator>
      <dc:date>2019-10-24T19:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: unable to start the spark2-history in hdp 3.1using Ambari 2.7 and HDP 3.1 on Amzonlinux2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281278#M209287</link>
      <description>&lt;P&gt;Make sure that /tmp is not mounted with noexec option on the host where spark2 history is failing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;#mount -v&amp;nbsp;&lt;/P&gt;&lt;P&gt;#df -h /tmp&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 15:06:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281278#M209287</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2019-10-24T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: unable to start the spark2-history in hdp 3.1using Ambari 2.7 and HDP 3.1 on Amzonlinux2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281292#M209292</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50754"&gt;@rguruvannagari&lt;/a&gt;&amp;nbsp; Thanks for the quick&amp;nbsp; reply and i able to start the process based on your inputs.&lt;/P&gt;&lt;P&gt;While running the spark application i am getting the below issue, Help to fix the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;19/10/24 16:36:09 INFO ContextHandler: Started o.s.j.s.ServletContextHandler@4a0df195{/history,null,AVAILABLE,@Spark}&lt;BR /&gt;19/10/24 16:36:09 INFO HistoryServer: Bound HistoryServer to 0.0.0.0, and started at &lt;A href="http://hadoop02.prod.phenom.local:18081" target="_blank"&gt;http://hadoop02.prod.phenom.local:18081&lt;/A&gt;&lt;BR /&gt;[murali.kumpatla@hadoop02 spark2]$ spark-shell&lt;BR /&gt;Setting default log level to "WARN".&lt;BR /&gt;To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).&lt;BR /&gt;19/10/24 16:37:20 ERROR SparkContext: Error initializing SparkContext.&lt;BR /&gt;org.apache.spark.SparkException: Yarn application has already ended! It might have been killed or unable to launch application master.&lt;BR /&gt;at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.waitForApplication(YarnClientSchedulerBackend.scala:89)&lt;BR /&gt;at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:63)&lt;BR /&gt;at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:164)&lt;BR /&gt;at org.apache.spark.SparkContext.&amp;lt;init&amp;gt;(SparkContext.scala:500)&lt;BR /&gt;at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2498)&lt;BR /&gt;at org.apache.spark.sql.SparkSession$Builder$$anonfun$7.apply(SparkSession.scala:934)&lt;BR /&gt;at org.apache.spark.sql.SparkSession$Builder$$anonfun$7.apply(SparkSession.scala:925)&lt;BR /&gt;at scala.Option.getOrElse(Option.scala:121)&lt;BR /&gt;at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:925)&lt;BR /&gt;at org.apache.spark.repl.Main$.createSparkSession(Main.scala:103)&lt;BR /&gt;at $line3.$read$$iw$$iw.&amp;lt;init&amp;gt;(&amp;lt;console&amp;gt;:15)&lt;BR /&gt;at $line3.$read$$iw.&amp;lt;init&amp;gt;(&amp;lt;console&amp;gt;:43)&lt;BR /&gt;at $line3.$read.&amp;lt;init&amp;gt;(&amp;lt;console&amp;gt;:45)&lt;BR /&gt;at $line3.$read$.&amp;lt;init&amp;gt;(&amp;lt;console&amp;gt;:49)&lt;BR /&gt;at $line3.$read$.&amp;lt;clinit&amp;gt;(&amp;lt;console&amp;gt;)&lt;BR /&gt;at $line3.$eval$.$print$lzycompute(&amp;lt;console&amp;gt;:7)&lt;BR /&gt;at $line3.$eval$.$print(&amp;lt;console&amp;gt;:6)&lt;BR /&gt;at $line3.$eval.$print(&amp;lt;console&amp;gt;)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:793)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:1054)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply(IMain.scala:645)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply(IMain.scala:644)&lt;BR /&gt;at scala.reflect.internal.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:31)&lt;BR /&gt;at scala.reflect.internal.util.AbstractFileClassLoader.asContext(AbstractFileClassLoader.scala:19)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$WrappedRequest.loadAndRunReq(IMain.scala:644)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:576)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:572)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$$anonfun$quietRun$1.apply(IMain.scala:231)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain$$anonfun$quietRun$1.apply(IMain.scala:231)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain.beQuietDuring(IMain.scala:221)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain.quietRun(IMain.scala:231)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$initializeSpark$1$$anonfun$apply$mcV$sp$1.apply(SparkILoop.scala:88)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$initializeSpark$1$$anonfun$apply$mcV$sp$1.apply(SparkILoop.scala:88)&lt;BR /&gt;at scala.collection.immutable.List.foreach(List.scala:392)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$initializeSpark$1.apply$mcV$sp(SparkILoop.scala:88)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$initializeSpark$1.apply(SparkILoop.scala:88)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$initializeSpark$1.apply(SparkILoop.scala:88)&lt;BR /&gt;at scala.tools.nsc.interpreter.ILoop.savingReplayStack(ILoop.scala:91)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop.initializeSpark(SparkILoop.scala:87)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1$$anonfun$org$apache$spark$repl$SparkILoop$$anonfun$$loopPostInit$1$1.apply$mcV$sp(SparkILoop.scala:170)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1$$anonfun$org$apache$spark$repl$SparkILoop$$anonfun$$loopPostInit$1$1.apply(SparkILoop.scala:158)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1$$anonfun$org$apache$spark$repl$SparkILoop$$anonfun$$loopPostInit$1$1.apply(SparkILoop.scala:158)&lt;BR /&gt;at scala.tools.nsc.interpreter.ILoop$$anonfun$mumly$1.apply(ILoop.scala:189)&lt;BR /&gt;at scala.tools.nsc.interpreter.IMain.beQuietDuring(IMain.scala:221)&lt;BR /&gt;at scala.tools.nsc.interpreter.ILoop.mumly(ILoop.scala:186)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1.org$apache$spark$repl$SparkILoop$$anonfun$$loopPostInit$1(SparkILoop.scala:158)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1$$anonfun$startup$1$1.apply(SparkILoop.scala:226)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1$$anonfun$startup$1$1.apply(SparkILoop.scala:206)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1.withSuppressedSettings$1(SparkILoop.scala:194)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1.startup$1(SparkILoop.scala:206)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1.apply$mcZ$sp(SparkILoop.scala:241)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1.apply(SparkILoop.scala:141)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop$$anonfun$process$1.apply(SparkILoop.scala:141)&lt;BR /&gt;at scala.reflect.internal.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:97)&lt;BR /&gt;at org.apache.spark.repl.SparkILoop.process(SparkILoop.scala:141)&lt;BR /&gt;at org.apache.spark.repl.Main$.doMain(Main.scala:76)&lt;BR /&gt;at org.apache.spark.repl.Main$.main(Main.scala:56)&lt;BR /&gt;at org.apache.spark.repl.Main.main(Main.scala)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)&lt;BR /&gt;at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:904)&lt;BR /&gt;at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:198)&lt;BR /&gt;at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:228)&lt;BR /&gt;at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:137)&lt;BR /&gt;at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)&lt;BR /&gt;19/10/24 16:37:20 WARN YarnSchedulerBackend$YarnSchedulerEndpoint: Attempted to request executors before the AM has registered!&lt;BR /&gt;19/10/24 16:37:20 WARN MetricsSystem: Stopping a MetricsSystem that is not running&lt;BR /&gt;org.apache.spark.SparkException: Yarn application has already ended! It might have been killed or unable to launch application master.&lt;BR /&gt;at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.waitForApplication(YarnClientSchedulerBackend.scala:89)&lt;BR /&gt;at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:63)&lt;BR /&gt;at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:164)&lt;BR /&gt;at org.apache.spark.SparkContext.&amp;lt;init&amp;gt;(SparkContext.scala:500)&lt;BR /&gt;at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2498)&lt;BR /&gt;at org.apache.spark.sql.SparkSession$Builder$$anonfun$7.apply(SparkSession.scala:934)&lt;BR /&gt;at org.apache.spark.sql.SparkSession$Builder$$anonfun$7.apply(SparkSession.scala:925)&lt;BR /&gt;at scala.Option.getOrElse(Option.scala:121)&lt;BR /&gt;at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:925)&lt;BR /&gt;at org.apache.spark.repl.Main$.createSparkSession(Main.scala:103)&lt;BR /&gt;... 62 elided&lt;BR /&gt;&amp;lt;console&amp;gt;:14: error: not found: value spark&lt;BR /&gt;import spark.implicits._&lt;BR /&gt;^&lt;BR /&gt;&amp;lt;console&amp;gt;:14: error: not found: value spark&lt;BR /&gt;import spark.sql&lt;BR /&gt;^&lt;BR /&gt;Welcome to&lt;BR /&gt;____&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 16:42:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/unable-to-start-the-spark2-history-in-hdp-3-1using-Ambari-2/m-p/281292#M209292</guid>
      <dc:creator>Muralikrishna</dc:creator>
      <dc:date>2019-10-24T16:42:52Z</dc:date>
    </item>
  </channel>
</rss>

