<?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: Is there a way to show only form output in a Zeppelin paragraph? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170961#M133258</link>
    <description>&lt;P&gt;In report view, Zeppelin is still printing object reference information.&lt;/P&gt;&lt;P&gt;I want only the dropdown (green circle) to show to the end-user, and hide the standard Scala repl output (red rectangle).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6525-screen-shot-2016-08-10-at-120038-pm.png" style="width: 2844px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20076i4A894F980739A670/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6525-screen-shot-2016-08-10-at-120038-pm.png" alt="6525-screen-shot-2016-08-10-at-120038-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 10:42:06 GMT</pubDate>
    <dc:creator>rgelhausen</dc:creator>
    <dc:date>2019-08-18T10:42:06Z</dc:date>
    <item>
      <title>Is there a way to show only form output in a Zeppelin paragraph?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170959#M133256</link>
      <description>&lt;P&gt;I'm using Zeppelin to build a simple interactive dashboard. I allow the user to select values from a dropdown, and want to show them the picklist, but not show them the Scala output underneath it. If I use the "Hide Output" button, my picklist is hidden as well.&lt;/P&gt;&lt;P&gt;See attached screenshot and code snippet:&lt;/P&gt;&lt;PRE&gt;val nodes = sqlContext.sql("select distinct node from nodes").collect().map(x =&amp;gt; (x(0).asInstanceOf[String], x(0).asInstanceOf[String]))


val query = """
select
 concat_ws(',', collect_list(date_format(datetime, 'HH:mm'))) as time,
 concat_ws(',', collect_list(cast(diskbusy as string))) as Disk,
 concat_ws(',', collect_list(cast(cpuuser as string))) as CPUUser,
 concat_ws(',', collect_list(cast(cpusys as string))) as CPUSys,
 concat_ws(',', collect_list(cast(round(cpusys+cpuuser, 2) as string))) as CPU,
 concat_ws(',', collect_list(cast(round(100*memavailable/memtotal, 2) as string))) as Mem,
 concat_ws(',', collect_list(cast(greatest(unknown.requests, 0) as string))) as ExternalRequests,
 concat_ws(',', collect_list(cast(greatest(known.requests, 0) as string))) as InternalRequests,
 concat_ws(',', collect_list(cast(greatest(known.requests, 0) + greatest(unknown.requests, 0) as string))) as TotalRequests,
 concat_ws(',', collect_list(cast(round(memavailable/1000, 0) as string))) as MemAvail
from node_monitoring
left outer join (
  select date_format(datetime, 'HH:mm') as time, app_host, count(*) as requests
  from web_logs_enriched
  where source_host is not null or source_ip = '127.0.0.1'
  group by date_format(datetime, 'HH:mm'), app_host
) known
on node_monitoring.node = known.app_host and date_format(node_monitoring.datetime, 'HH:mm') = known.time
left outer join (
  select date_format(datetime, 'HH:mm') as time, app_host, count(*) as requests
  from web_logs_enriched
  where source_host is null
  group by date_format(datetime, 'HH:mm'), app_host
) unknown
on node_monitoring.node = unknown.app_host and date_format(node_monitoring.datetime, 'HH:mm') = unknown.time
where node = '""" + z.select("node", nodes) + """'
group by node
"""
val data2 = sqlContext.sql(query)
z.angularBind("data2", data2.collect())
z.angularBind("data2Schema", data2.schema)
&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6511-screen-shot-2016-08-09-at-72117-pm.png" style="width: 2816px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20077iC63B0FB8ECA78252/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6511-screen-shot-2016-08-09-at-72117-pm.png" alt="6511-screen-shot-2016-08-09-at-72117-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:42:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170959#M133256</guid>
      <dc:creator>rgelhausen</dc:creator>
      <dc:date>2019-08-18T10:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to show only form output in a Zeppelin paragraph?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170960#M133257</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/157/rgelhausen.html" nodeid="157"&gt;@Randy Gelhausen&lt;/A&gt; You can switch your notebook to the report view, please see the dropdown top right. Screenshot attached.&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/6534-screen-shot-2016-08-10-at-114601-am.png"&gt;screen-shot-2016-08-10-at-114601-am.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:44:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170960#M133257</guid>
      <dc:creator>vshukla</dc:creator>
      <dc:date>2016-08-10T22:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to show only form output in a Zeppelin paragraph?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170961#M133258</link>
      <description>&lt;P&gt;In report view, Zeppelin is still printing object reference information.&lt;/P&gt;&lt;P&gt;I want only the dropdown (green circle) to show to the end-user, and hide the standard Scala repl output (red rectangle).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6525-screen-shot-2016-08-10-at-120038-pm.png" style="width: 2844px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20076i4A894F980739A670/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6525-screen-shot-2016-08-10-at-120038-pm.png" alt="6525-screen-shot-2016-08-10-at-120038-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:42:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170961#M133258</guid>
      <dc:creator>rgelhausen</dc:creator>
      <dc:date>2019-08-18T10:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to show only form output in a Zeppelin paragraph?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170962#M133259</link>
      <description>&lt;P&gt;I found the answer. In the Spark interpreter menu there is a "zeppelin.spark.printREPLOutput" property which you can set to false.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 23:18:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-a-way-to-show-only-form-output-in-a-Zeppelin/m-p/170962#M133259</guid>
      <dc:creator>rgelhausen</dc:creator>
      <dc:date>2016-08-10T23:18:02Z</dc:date>
    </item>
  </channel>
</rss>

