<?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: HDP3.0: livy server cannot start in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231129#M192973</link>
    <description>&lt;P&gt;Thanks guys. Rolling back to python 2.7 made livy server succeed to start.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 23:21:12 GMT</pubDate>
    <dc:creator>jiangok2006</dc:creator>
    <dc:date>2018-08-28T23:21:12Z</dc:date>
    <item>
      <title>HDP3.0: livy server cannot start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231126#M192970</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using HDP3.0 and cannot start the livy server:&lt;/P&gt;&lt;PRE&gt;18/08/24 20:24:39 WARN LivyConf: The configuration key livy.repl.enableHiveContext has been deprecated as of Livy 0.4 and may be removed in the future. Please use the new key livy.repl.enable-hive-context instead.
18/08/24 20:24:39 WARN LivyConf: The configuration key livy.server.csrf_protection.enabled has been deprecated as of Livy 0.4 and may be removed in the future. Please use the new key livy.server.csrf-protection.enabled instead.
18/08/24 20:24:39 INFO AccessManager: AccessControlManager acls disabled;users with view permission: ;users with modify permission: ;users with super permission: ;other allowed users: *
18/08/24 20:24:39 INFO LineBufferedStream: stdout:   File "/usr/bin/hdp-select", line 251
18/08/24 20:24:39 INFO LineBufferedStream: stdout:     print "ERROR: Invalid package - " + name
18/08/24 20:24:39 INFO LineBufferedStream: stdout:                                     ^
18/08/24 20:24:39 INFO LineBufferedStream: stdout: SyntaxError: Missing parentheses in call to 'print'. Did you mean print("ERROR: Invalid package - " + name)?
18/08/24 20:24:39 INFO LineBufferedStream: stdout: ls: cannot access /usr/hdp//hadoop/lib: No such file or directory
18/08/24 20:24:39 INFO LineBufferedStream: stdout: Exception in thread "main" java.lang.IllegalStateException: hdp.version is not set while running Spark under HDP, please set through HDP_VERSION in spark-env.sh or add a java-opts file in conf with -Dhdp.version=xxx
18/08/24 20:24:39 INFO LineBufferedStream: stdout:      at org.apache.spark.launcher.Main.main(Main.java:118)
Exception in thread "main" java.lang.IllegalArgumentException: Fail to parse Spark version from is not set while running Spark under HDP, please set through HDP_VERSION in spark-env.sh or add a java-opts file in conf with -Dhdp.version=xxx
        at org.apache.livy.utils.LivySparkUtils$.formatSparkVersion(LivySparkUtils.scala:155)
        at org.apache.livy.utils.LivySparkUtils$.testSparkVersion(LivySparkUtils.scala:82)
        at org.apache.livy.server.LivyServer.start(LivyServer.scala:74)
        at org.apache.livy.server.LivyServer$.main(LivyServer.scala:339)
        at org.apache.livy.server.LivyServer.main(LivyServer.scala)&lt;/PRE&gt;&lt;P&gt;The error looks like livy tried to use python3 to parse the python2 syntax. Any idea why this happens? Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 03:54:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231126#M192970</guid>
      <dc:creator>jiangok2006</dc:creator>
      <dc:date>2018-08-25T03:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.0: livy server cannot start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231127#M192971</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18745/jiangok2006.html" nodeid="18745"&gt;@Lian Jiang&lt;/A&gt; Looks like default python version is 3.0, you might want to change to 2.7.x.&lt;/P&gt;&lt;P&gt;Please refer supported python release: &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/mmsr_software_reqs.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/mmsr_software_reqs.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 11:49:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231127#M192971</guid>
      <dc:creator>cravani</dc:creator>
      <dc:date>2018-08-27T11:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.0: livy server cannot start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231128#M192972</link>
      <description>&lt;P&gt;
	Hi &lt;A nodeid="18745" rel="user" href="#"&gt;@Lian Jiang&lt;/A&gt;,
&lt;/P&gt;
&lt;P&gt;
	Please see if this article can help you : &lt;A href="https://community.hortonworks.com/content/supportkb/186304/unable-to-start-pyspark-jobs-when-running-with-pyt.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/186304/unable-to-start-pyspark-jobs-when-running-with-pyt.html&lt;/A&gt;
&lt;/P&gt;
&lt;P style="color:green"&gt;
	Please login and  accept answer if it helped :)
&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 12:03:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231128#M192972</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-27T12:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.0: livy server cannot start</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231129#M192973</link>
      <description>&lt;P&gt;Thanks guys. Rolling back to python 2.7 made livy server succeed to start.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 23:21:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-0-livy-server-cannot-start/m-p/231129#M192973</guid>
      <dc:creator>jiangok2006</dc:creator>
      <dc:date>2018-08-28T23:21:12Z</dc:date>
    </item>
  </channel>
</rss>

