<?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: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97944#M11427</link>
    <description>&lt;P&gt;I would mark Ali's one as the accepted answer... ?&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2015 03:58:41 GMT</pubDate>
    <dc:creator>mherring</dc:creator>
    <dc:date>2015-12-05T03:58:41Z</dc:date>
    <item>
      <title>No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97938#M11421</link>
      <description>&lt;P&gt;After following the Apache Zeppelin setup provided here - &lt;A href="https://urldefense.proofpoint.com/v2/url?u=http-3A__hortonworks.com_hadoop-2Dtutorial_apache-2Dzeppelin_&amp;amp;d=CwMFAw&amp;amp;c=GC0NZZhaEw6GOQSjMHI2g15k_drElRoPmOYiK2k0eZ8&amp;amp;r=VzWNkTVsal7Ro4pQv62u5SIp14SQ2GVYp8Bn6GlOQHI&amp;amp;m=n_QkD2xpshcl6XJxMqIQxL_i7DImPXlnIqNUA-Ri-oQ&amp;amp;s=VTD4TqNr0-sveaMxWYFqK672nr73rnyc6CvYBhpx__E&amp;amp;e=." rel="nofollow noopener noreferrer" target="_blank"&gt;https://urldefense.proofpoint.com/v2/url?u=http-3A...&lt;/A&gt; Zeppelin notebook does not show output after executing commands successfully.&lt;/P&gt;&lt;P&gt;Here's a subset of the errors seen in YARN logs:&lt;/P&gt;&lt;PRE&gt;Stack trace: ExitCodeException exitCode=1: /grid/1/hadoop/yarn/local/usercache/root/appcache/application_1447968118518_0003/container_e03_1447968118518_0003_02_000004/launch_container.sh: line 23: :/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/interpreter/spark/dep/*:/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/interpreter/spark/*:/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/lib/*:/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/*::/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/conf:/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/conf:/usr/hdp/current/spark-client/bin/zeppelin-0.6.0-incubating-SNAPSHOT/conf:/etc/hadoop/conf:$PWD:$PWD/__spark__.jar:$HADOOP_CONF_DIR:/usr/hdp/current/hadoop-client/*:/usr/hdp/current/hadoop-client/lib/*:/usr/hdp/current/hadoop-hdfs-client/*:/usr/hdp/current/hadoop-hdfs-client/lib/*:/usr/hdp/current/hadoop-yarn-client/*:/usr/hdp/current/hadoop-yarn-client/lib/*:$PWD/mr-framework/hadoop/share/hadoop/mapreduce/*:$PWD/mr-framework/hadoop/share/hadoop/mapreduce/lib/*:$PWD/mr-framework/hadoop/share/hadoop/common/*:$PWD/mr-framework/hadoop/share/hadoop/common/lib/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/lib/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/lib/*:$PWD/mr-framework/hadoop/share/hadoop/tools/lib/*:/usr/hdp/${hdp.version}/hadoop/lib/hadoop-lzo-0.6.0.${hdp.version}.jar:/etc/hadoop/conf/secure: bad substitution&lt;/PRE&gt;&lt;P&gt;Noticed the mapred-site.xml had "${hdp.version}" variables that were not replaced. &lt;STRONG&gt;The workaround was replacing the variable with the actual hdp version in the mapred-site.xml then restarting&lt;/STRONG&gt;. See the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="608-image002.png" style="width: 882px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23938i242575E0339EA227/image-size/medium?v=v2&amp;amp;px=400" role="button" title="608-image002.png" alt="608-image002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is posted as an FYI in case anyone else runs into a similar issue. I don't have a root cause for this behavior at this time.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:44:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97938#M11421</guid>
      <dc:creator>aparanjape</dc:creator>
      <dc:date>2019-08-19T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97939#M11422</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/387/aparanjape.html" nodeid="387"&gt;@Ameet Paranjape&lt;/A&gt; Can you double check you modified the zeppelin-env.sh as mentioned in the blog? The hdp.version should be replaced automatically without users having to change mapred-site configs (check note below about "message related to bad substitution")&lt;/P&gt;&lt;PRE&gt;In the zeppelin-env.sh file, add the following.

Note: you will use PORT to access the Zeppelin Web UI. &amp;lt;HDP-version&amp;gt; corresponds to the version of HDP where you are installing Zeppelin; for example, 2.3.2.0-2950.


export HADOOP_CONF_DIR=/etc/hadoop/conf
export ZEPPELIN_PORT=9995
export ZEPPELIN_JAVA_OPTS="-Dhdp.version=&amp;lt;HDP-version&amp;gt;"

To obtain the HDP version for your HDP cluster, run the following command:
 hdp-select status hadoop-client | sed 's/hadoop-client - \(.*\)/\1/'&lt;/PRE&gt;&lt;PRE&gt;Add the following properties and settings:
spark.driver.extraJavaOptions -Dhdp.version=2.3.2.0-2950 
spark.yarn.am.extraJavaOptions -Dhdp.version=2.3.2.0-2950

Note 
Make sure that both spark.driver.extraJavaOptions &amp;amp; spark.yarn.am.extraJavaOptions are saved. 
Without these properties set, the Spark job will fail with message related to bad substitution
&lt;/PRE&gt;&lt;P&gt;Also note that the version of zeppelin used by in the TP blog is actually an early version of 0.5.5. &lt;/P&gt;&lt;P&gt;I tested both this version as well as the released 0.5.5 zeppelin HDP 2.3.2 with both Spark 1.4.1 and Spark 1.5.1TP using the &lt;A href="https://github.com/hortonworks-gallery/ambari-zeppelin-service"&gt;Zeppelin service&lt;/A&gt; and did not encounter issues running Spark code. The issues I encountered were around Hive (see &lt;A href="https://community.hortonworks.com/questions/4905/error-while-running-hive-queries-from-zeppelin.html"&gt;here&lt;/A&gt; for details)&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 01:19:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97939#M11422</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-05T01:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97940#M11423</link>
      <description>&lt;P&gt;As &lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;@Ali Bajwa&lt;/A&gt; wrote above, use the Zeppelin Service to install Zeppelin on HDP.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 02:06:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97940#M11423</guid>
      <dc:creator>dkumar1</dc:creator>
      <dc:date>2015-12-05T02:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97941#M11424</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/132/abajwa.html"&gt;Ali Bajwa&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/209/dkumar.html" nodeid="209"&gt;@Dhruv Kumar&lt;/A&gt;, thanks for the suggestions. Like you I could not reproduce this on a fresh install. I no longer have access to the environment that was showing this behavior but I know it had gone through multiple Zeppelin version changes and perhaps that caused this behavior...  &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 03:33:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97941#M11424</guid>
      <dc:creator>aparanjape</dc:creator>
      <dc:date>2015-12-05T03:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97942#M11425</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/387/aparanjape.html" nodeid="387"&gt;@Ameet Paranjape&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/553/mherring.html" nodeid="553"&gt;@Mark Herring&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Shall we close this question as not reproducible? &lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 03:35:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97942#M11425</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-05T03:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97943#M11426</link>
      <description>&lt;P&gt;Sure! I have seen the same issue of hdp.version not getting replaced lots of times and it usually always is a result of missing the hdp.version details in interpreter or zeppelin-env.sh or spark-defaults.conf. Following the steps from the blog (or using Ambari service) should help with this issue.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 03:37:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97943#M11426</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-05T03:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97944#M11427</link>
      <description>&lt;P&gt;I would mark Ali's one as the accepted answer... ?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 03:58:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97944#M11427</guid>
      <dc:creator>mherring</dc:creator>
      <dc:date>2015-12-05T03:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: No output from Zeppelin on HDP 2.3 using Spark 1.4 with Zeppelin 0.6.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97945#M11428</link>
      <description>&lt;P&gt;Accepting this as best answer. Thanks &lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;@Ali Bajwa&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 04:28:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/No-output-from-Zeppelin-on-HDP-2-3-using-Spark-1-4-with/m-p/97945#M11428</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-05T04:28:29Z</dc:date>
    </item>
  </channel>
</rss>

