<?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 livy2 zepplin issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220980#M82189</link>
    <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I tried to connect to livy2.spark thru zepplin notebook at HDP 2.6.4&lt;/P&gt;&lt;P&gt;I don't know what configuration should be at interpreter(please check attached image)  in Zepplin.&lt;/P&gt;&lt;PRE&gt;I counldn't cocnnect to livy2.spark, I had error:

org.apache.zeppelin.livy.LivyException: The creation of session 4 is timeout within 120 seconds, appId: null, log: [stdout: , 
stderr: , Warning: Master yarn-cluster is deprecated since 2.0. Please use master "yarn" with specified deploy mode instead., 18/08/15 07:47:28 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable, 18/08/15 07:47:55 WARN DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded., 18/08/15 07:47:56 INFO RMProxy: Connecting to ResourceManager at sandbox-hdp.hortonworks.com/172.18.0.2:8032, 
YARN Diagnostics: ]
	at org.apache.zeppelin.livy.BaseLivyInterpreter.createSession(BaseLivyInterpreter.java:291)
	at org.apache.zeppelin.livy.BaseLivyInterpreter.initLivySession(BaseLivyInterpreter.java:184)
	at org.apache.zeppelin.livy.LivySharedInterpreter.open(LivySharedInterpreter.java:57)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.livy.BaseLivyInterpreter.getLivySharedInterpreter(BaseLivyInterpreter.java:165)
	at org.apache.zeppelin.livy.BaseLivyInterpreter.open(BaseLivyInterpreter.java:139)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:493)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
	at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

 &lt;/PRE&gt;
&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8194i110954AB200C207A/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture.png" title="capture.png" /&gt;</description>
    <pubDate>Wed, 15 Aug 2018 19:42:37 GMT</pubDate>
    <dc:creator>shved_maks</dc:creator>
    <dc:date>2018-08-15T19:42:37Z</dc:date>
    <item>
      <title>livy2 zepplin issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220980#M82189</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I tried to connect to livy2.spark thru zepplin notebook at HDP 2.6.4&lt;/P&gt;&lt;P&gt;I don't know what configuration should be at interpreter(please check attached image)  in Zepplin.&lt;/P&gt;&lt;PRE&gt;I counldn't cocnnect to livy2.spark, I had error:

org.apache.zeppelin.livy.LivyException: The creation of session 4 is timeout within 120 seconds, appId: null, log: [stdout: , 
stderr: , Warning: Master yarn-cluster is deprecated since 2.0. Please use master "yarn" with specified deploy mode instead., 18/08/15 07:47:28 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable, 18/08/15 07:47:55 WARN DomainSocketFactory: The short-circuit local reads feature cannot be used because libhadoop cannot be loaded., 18/08/15 07:47:56 INFO RMProxy: Connecting to ResourceManager at sandbox-hdp.hortonworks.com/172.18.0.2:8032, 
YARN Diagnostics: ]
	at org.apache.zeppelin.livy.BaseLivyInterpreter.createSession(BaseLivyInterpreter.java:291)
	at org.apache.zeppelin.livy.BaseLivyInterpreter.initLivySession(BaseLivyInterpreter.java:184)
	at org.apache.zeppelin.livy.LivySharedInterpreter.open(LivySharedInterpreter.java:57)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.livy.BaseLivyInterpreter.getLivySharedInterpreter(BaseLivyInterpreter.java:165)
	at org.apache.zeppelin.livy.BaseLivyInterpreter.open(BaseLivyInterpreter.java:139)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:493)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
	at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

 &lt;/PRE&gt;
&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/8194i110954AB200C207A/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="capture.png" title="capture.png" /&gt;</description>
      <pubDate>Wed, 15 Aug 2018 19:42:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220980#M82189</guid>
      <dc:creator>shved_maks</dc:creator>
      <dc:date>2018-08-15T19:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: livy2 zepplin issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220981#M82190</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/92253/shvedmaks.html" nodeid="92253"&gt;@Maksym Shved&lt;/A&gt;! &lt;BR /&gt;Right, looking at your screenshot. I'm assuming you're doing this tests in a non-production environment. If so, then change the following parameters:&lt;/P&gt;&lt;PRE&gt;#Ambari &amp;gt; Spark2 &amp;gt; Advanced livy2-conf
livy.spark.master=yarn 
livy.impersonation.enabled=false
#Ambari &amp;gt; Spark2 &amp;gt; Advanced livy2-env
            export SPARK_HOME=/usr/hdp/current/spark2-client
            export SPARK_CONF_DIR=/etc/spark2/conf
            export JAVA_HOME={{java_home}}
            export HADOOP_CONF_DIR=/etc/hadoop/conf
            export LIVY_LOG_DIR={{livy2_log_dir}}
            export LIVY_PID_DIR={{livy2_pid_dir}}
            export LIVY_SERVER_JAVA_OPTS="-Xmx2g"
&lt;/PRE&gt;&lt;P&gt;Restart the SPARK2 service and make the test again. If you're still facing issues, then go back to the Ambari and set the following.&lt;/P&gt;&lt;PRE&gt;Ambari &amp;gt; HDFS &amp;gt; Custom Core-Site
hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*
&lt;/PRE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 05:44:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220981#M82190</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-08-16T05:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: livy2 zepplin issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220982#M82191</link>
      <description>&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/79158/vmurakami.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Vinicius Higa Murakami&lt;/A&gt;, I have one small question, how I can connect to livy2 server?&lt;/P&gt;&lt;P&gt;I need to know some parameters to connect(look at the screenshot), but I don't know where I could find them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="87413-1.png" style="width: 437px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15806iB7E2DC5D825B725E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="87413-1.png" alt="87413-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm work at SandBox 2.6.5(last version)&lt;/P&gt;&lt;P&gt;Please help me, if u can.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:19:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/livy2-zepplin-issue/m-p/220982#M82191</guid>
      <dc:creator>shved_maks</dc:creator>
      <dc:date>2019-08-18T02:19:10Z</dc:date>
    </item>
  </channel>
</rss>

