<?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: Spark2 History Server Cant Start using HDP 2.5 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215536#M72161</link>
    <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/39242/ashikinhtc.html" nodeid="39242"&gt;@Ashikin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1)Can you try moving the file /usr/hdp/2.6.3.0-235 to some other folder. Make sure that only 2.5.3.0-37 folder is there in /usr/hdp folder.&lt;/P&gt;&lt;P&gt;2) Then run hdp-select set all 2.5.3.0-37&lt;/P&gt;&lt;P&gt;3)Now run hdp-select versions. Should return only 2.5.3.0-37&lt;/P&gt;&lt;P&gt;4) Restart spark history &lt;/P&gt;&lt;P&gt;If it still fails . Then try the manual steps for creating the tar file which i have mentioned above.&lt;/P&gt;&lt;P&gt;For the failure which you have mentioned while running the manual steps, you can try creating these folders manually&lt;/P&gt;&lt;PRE&gt;hdfs dfs -mkdir /hdp/apps/2.5.3.0-37/
hdfs dfs -mkdir /hdp/apps/2.5.3.0-37/spark2
hdfs dfs -chown -R hdfs:hdfs /hdp/apps/2.5.3.0-37&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Dec 2017 13:48:58 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2017-12-04T13:48:58Z</dc:date>
    <item>
      <title>Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215528#M72153</link>
      <description>&lt;P&gt;Hi, I am having trouble to start Spark2 History Server in Ambari. Below is the standard errors.&lt;/P&gt;&lt;P&gt;stderr:  /var/lib/ambari-agent/data/errors-3723.txt&lt;/P&gt;&lt;PRE&gt;2017-12-01 11:26:34,759 - Found multiple matches for stack version, cannot identify the correct one from: 2.5.3.0-37, 2.6.3.0-235
2017-12-01 11:26:34,759 - Cannot copy spark2 tarball to HDFS because stack version could be be determined.
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/job_history_server.py", line 103, in &amp;lt;module&amp;gt;
    JobHistoryServer().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/job_history_server.py", line 56, in start
    spark_service('jobhistoryserver', upgrade_type=upgrade_type, action='start')
  File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/spark_service.py", line 65, in spark_service
    make_tarfile(tmp_archive_file, source_dir)
  File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/spark_service.py", line 38, in make_tarfile
    os.remove(output_filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found&lt;/PRE&gt;</description>
      <pubDate>Sun, 03 Dec 2017 16:39:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215528#M72153</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-03T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215529#M72154</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/39242/ashikinhtc.html" nodeid="39242"&gt;@Ashikin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you please list the files under this directory (/usr/hdp) &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 17:48:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215529#M72154</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-03T17:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215530#M72155</link>
      <description>&lt;P&gt;Hi Aditya, here it is&lt;/P&gt;&lt;PRE&gt;[root@host ~]# ls /usr/hdp/2.5.3.0-37
atlas             HDP-LICENSE.txt  ranger-hbase-plugin  spark2
datafu            HDP-NOTICES.txt  ranger-hdfs-plugin   storm
etc               hive             ranger-hive-plugin   storm-slider-client
hadoop            hive2            ranger-kafka-plugin  tez
hadoop-hdfs       hive-hcatalog    ranger-storm-plugin  tez_hive2
hadoop-mapreduce  kafka            ranger-yarn-plugin   usr
hadoop-yarn       livy             slider               zeppelin
hbase             pig              spark                zookeeper


&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 09:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215530#M72155</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-04T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215531#M72156</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/39242/ashikinhtc.html" nodeid="39242"&gt;@Ashikin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1) Do you have this folder as well ( /usr/hdp/2.6.3.0-235) &lt;/P&gt;&lt;P&gt;2) Did you try upgrade/downgrade of HDP on this cluster?&lt;/P&gt;&lt;P&gt;3) Did you have a HDP 2.6.3 setup on this node by any chance and did not do a proper clean up while deleting the cluster?&lt;/P&gt;&lt;P&gt;If the above statements are not true, can you try running the below and see if it works fine&lt;/P&gt;&lt;PRE&gt;cd /usr/hdp/2.5.3.0-37/spark2/jars
# create tar file from existing jars
tar -czvf spark2-hdp-yarn-archive.tar.gz *
# put the new tar file in hdfs
hdfs dfs -put spark2-hdp-yarn-archive.tar.gz /hdp/apps/2.5.3.0-37/spark2&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:06:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215531#M72156</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-04T12:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215532#M72157</link>
      <description>&lt;P&gt;I downgrade HDP from 2.6 to 2.5. I did proper cleanup. I follow your steps but there is error stated that &lt;/P&gt;&lt;PRE&gt;put: `/hdp/apps/2.5.3.0-37/spark2': No such file or directory: `hdfs://hostname:8020/hdp/apps/2.5.3.0-37/spark2'&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:52:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215532#M72157</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-04T12:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215533#M72158</link>
      <description>&lt;P&gt;Yes. I also have folder /usr/hdp/2.6.3.0-235&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:53:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215533#M72158</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-04T12:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215534#M72159</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/39242/ashikinhtc.html" nodeid="39242"&gt;@Ashikin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you try running 'hdp-select' and attach the output. If this command returns multiple versions in the output(ie HDP-2.5.3.0-37 and HDP-2.6.3.0-235 , Can you try running the below&lt;/P&gt;&lt;PRE&gt;hdp-select set all 2.5.3.0-37&lt;/PRE&gt;&lt;P&gt;and then run&lt;/P&gt;&lt;PRE&gt;hdp-select versions&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:05:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215534#M72159</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-04T13:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215535#M72160</link>
      <description>&lt;P&gt;The following is the result for hdp-select  : &lt;/P&gt;&lt;PRE&gt;[root@host ~]# hdp-select
accumulo-client - None
accumulo-gc - None
accumulo-master - None
accumulo-monitor - None
accumulo-tablet - None
accumulo-tracer - None
atlas-client - 2.5.3.0-37
atlas-server - 2.5.3.0-37
falcon-client - None
falcon-server - None
flume-server - None
hadoop-client - 2.5.3.0-37
hadoop-hdfs-datanode - 2.5.3.0-37
hadoop-hdfs-journalnode - 2.5.3.0-37
hadoop-hdfs-namenode - 2.5.3.0-37
hadoop-hdfs-nfs3 - 2.5.3.0-37
hadoop-hdfs-portmap - 2.5.3.0-37
hadoop-hdfs-secondarynamenode - 2.5.3.0-37
hadoop-hdfs-zkfc - 2.5.3.0-37
hadoop-httpfs - None
hadoop-mapreduce-historyserver - 2.5.3.0-37
hadoop-yarn-nodemanager - 2.5.3.0-37
hadoop-yarn-resourcemanager - 2.5.3.0-37
hadoop-yarn-timelineserver - 2.5.3.0-37
hbase-client - 2.5.3.0-37
hbase-master - 2.5.3.0-37
hbase-regionserver - 2.5.3.0-37
hive-metastore - 2.5.3.0-37
hive-server2 - 2.5.3.0-37
hive-server2-hive2 - 2.5.3.0-37
hive-webhcat - 2.5.3.0-37
kafka-broker - 2.5.3.0-37
knox-server - None
livy-server - 2.5.3.0-37
mahout-client - None
oozie-client - None
oozie-server - None
phoenix-client - None
phoenix-server - None
ranger-admin - None
ranger-kms - None
ranger-tagsync - None
ranger-usersync - None
slider-client - 2.5.3.0-37
spark-client - 2.5.3.0-37
spark-historyserver - 2.5.3.0-37
spark-thriftserver - 2.5.3.0-37
spark2-client - 2.5.3.0-37
spark2-historyserver - 2.5.3.0-37
spark2-thriftserver - 2.5.3.0-37
sqoop-client - None
sqoop-server - None
storm-client - 2.5.3.0-37
storm-nimbus - 2.5.3.0-37
storm-slider-client - 2.5.3.0-37
storm-supervisor - 2.5.3.0-37
zeppelin-server - 2.5.3.0-37
zookeeper-client - 2.5.3.0-37
zookeeper-server - 2.5.3.0-37
[root@slot2 ~]# hdp-select set all 2.5.3.0-37
[root@slot2 ~]# hdp-select versions
2.5.3.0-37
2.6.3.0-235
[root@slot2 ~]# hdp-select set all 2.6.3.0-235
[root@slot2 ~]# hdp-select
accumulo-client - None
accumulo-gc - None
accumulo-master - None
accumulo-monitor - None
accumulo-tablet - None
accumulo-tracer - None
atlas-client - 2.6.3.0-235
atlas-server - 2.6.3.0-235
falcon-client - None
falcon-server - None
flume-server - None
hadoop-client - 2.6.3.0-235
hadoop-hdfs-datanode - None
hadoop-hdfs-journalnode - None
hadoop-hdfs-namenode - None
hadoop-hdfs-nfs3 - None
hadoop-hdfs-portmap - None
hadoop-hdfs-secondarynamenode - None
hadoop-hdfs-zkfc - None
hadoop-httpfs - None
hadoop-mapreduce-historyserver - None
hadoop-yarn-nodemanager - None
hadoop-yarn-resourcemanager - None
hadoop-yarn-timelineserver - None
hbase-client - 2.6.3.0-235
hbase-master - 2.6.3.0-235
hbase-regionserver - 2.6.3.0-235
hive-metastore - 2.6.3.0-235
hive-server2 - 2.6.3.0-235
hive-server2-hive2 - 2.6.3.0-235
hive-webhcat - None
kafka-broker - 2.6.3.0-235
knox-server - None
livy-server - None
mahout-client - None
oozie-client - None
oozie-server - None
phoenix-client - None
phoenix-server - None
ranger-admin - None
ranger-kms - None
ranger-tagsync - None
ranger-usersync - None
slider-client - None
spark-client - 2.6.3.0-235
spark-historyserver - 2.6.3.0-235
spark-thriftserver - 2.6.3.0-235
spark2-client - 2.6.3.0-235
spark2-historyserver - 2.6.3.0-235
spark2-thriftserver - 2.6.3.0-235
sqoop-client - None
sqoop-server - None
storm-client - 2.6.3.0-235
storm-nimbus - 2.6.3.0-235
storm-slider-client - None
storm-supervisor - 2.6.3.0-235
zeppelin-server - 2.6.3.0-235
zookeeper-client - None
zookeeper-server - None


&lt;/PRE&gt;&lt;P&gt;No result if I run hdp-select set all 2.5.3.0-37&lt;/P&gt;&lt;P&gt;The following is the result if I run hdp-select versions&lt;/P&gt;&lt;PRE&gt;[root@host ~]# hdp-select versions
2.5.3.0-37
2.6.3.0-235
&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:26:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215535#M72160</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-04T13:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215536#M72161</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/39242/ashikinhtc.html" nodeid="39242"&gt;@Ashikin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1)Can you try moving the file /usr/hdp/2.6.3.0-235 to some other folder. Make sure that only 2.5.3.0-37 folder is there in /usr/hdp folder.&lt;/P&gt;&lt;P&gt;2) Then run hdp-select set all 2.5.3.0-37&lt;/P&gt;&lt;P&gt;3)Now run hdp-select versions. Should return only 2.5.3.0-37&lt;/P&gt;&lt;P&gt;4) Restart spark history &lt;/P&gt;&lt;P&gt;If it still fails . Then try the manual steps for creating the tar file which i have mentioned above.&lt;/P&gt;&lt;P&gt;For the failure which you have mentioned while running the manual steps, you can try creating these folders manually&lt;/P&gt;&lt;PRE&gt;hdfs dfs -mkdir /hdp/apps/2.5.3.0-37/
hdfs dfs -mkdir /hdp/apps/2.5.3.0-37/spark2
hdfs dfs -chown -R hdfs:hdfs /hdp/apps/2.5.3.0-37&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:48:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215536#M72161</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-04T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215537#M72162</link>
      <description>&lt;P&gt;It works like a charm. Thanks a lot Aditya &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:21:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215537#M72162</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-04T15:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Spark2 History Server Cant Start using HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215538#M72163</link>
      <description>&lt;P&gt;Hi Aditya, I have problem that Zeppelin UI cant found my spark2 interpreter. Error stated 'Prefix not found'&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:13:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark2-History-Server-Cant-Start-using-HDP-2-5/m-p/215538#M72163</guid>
      <dc:creator>ashikinhtc</dc:creator>
      <dc:date>2017-12-05T13:13:58Z</dc:date>
    </item>
  </channel>
</rss>

