<?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: Apache Zeppelin with Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162901#M29302</link>
    <description>&lt;P&gt;In the installed Zeppelin setup on HDP 2.4 it's available.&lt;/P&gt;&lt;P&gt;Just run your queries&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;select * from hivetable&lt;/P&gt;&lt;P&gt;%hive&lt;/P&gt;&lt;P&gt;select * from hivetable&lt;/P&gt;&lt;P&gt;You should be able to connect the Hive interpreter standard way.&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2016 01:33:13 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2016-05-25T01:33:13Z</dc:date>
    <item>
      <title>Apache Zeppelin with Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162896#M29297</link>
      <description>&lt;P&gt;I heard about Zeppelin in the past and now I wish to use it. I would like to visualize my data in Hive using Zeppelin. I am using CDH though &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; , but I can install and configure it. I just want to know the basic steps to pull the hive tables to Zeppelin.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 18:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162896#M29297</guid>
      <dc:creator>Alexraj84</dc:creator>
      <dc:date>2016-05-23T18:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Zeppelin with Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162897#M29298</link>
      <description>&lt;P&gt;Good thing it is an ASF project!!  &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;  See if &lt;A href="http://zeppelin.apache.org/" target="_blank"&gt;http://zeppelin.apache.org/&lt;/A&gt;, &lt;A href="http://zeppelin.apache.org/download.html" target="_blank"&gt;http://zeppelin.apache.org/download.html&lt;/A&gt;, &lt;A href="http://zeppelin.apache.org/docs/0.5.6-incubating/index.html" target="_blank"&gt;http://zeppelin.apache.org/docs/0.5.6-incubating/index.html&lt;/A&gt;, &lt;A href="http://zeppelin.apache.org/docs/0.5.6-incubating/install/install.html" target="_blank"&gt;http://zeppelin.apache.org/docs/0.5.6-incubating/install/install.html&lt;/A&gt; and/or &lt;A href="http://zeppelin.apache.org/docs/0.5.6-incubating/install/yarn_install.html" target="_blank"&gt;http://zeppelin.apache.org/docs/0.5.6-incubating/install/yarn_install.html&lt;/A&gt; can get you going.  Good luck!&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 19:12:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162897#M29298</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2016-05-23T19:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Zeppelin with Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162898#M29299</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/122/lmartin.html" nodeid="122"&gt;@Lester Martin&lt;/A&gt;. I am gonna try it in my VM.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:43:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162898#M29299</guid>
      <dc:creator>Alexraj84</dc:creator>
      <dc:date>2016-05-23T20:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Zeppelin with Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162899#M29300</link>
      <description>&lt;P&gt;Hello Alex:&lt;/P&gt;&lt;P&gt;You can access Hive tables via Zeppelin in two ways:&lt;/P&gt;&lt;P&gt;1) Use Zeppelin's native Hive interpreter directly by starting a code block with '%sql' interpreter command and issuing commands like 'show tables' or 'select * from table'&lt;/P&gt;&lt;P&gt;2) Via Spark by creating HiveContext and then loading hive table into DataFrame, like this:&lt;/P&gt;&lt;PRE&gt;%spark

// sc is an existing SparkContext.
val sqlContext = new org.apache.spark.sql.hive.HiveContext(sc)

sqlContext.sql("CREATE TABLE IF NOT EXISTS src (key INT, value STRING)")
sqlContext.sql("LOAD DATA LOCAL INPATH 'examples/src/main/resources/kv1.txt' INTO TABLE src")

// Queries are expressed in HiveQL
sqlContext.sql("FROM src SELECT key, value").collect().foreach(println)&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2016 01:13:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162899#M29300</guid>
      <dc:creator>phargis</dc:creator>
      <dc:date>2016-05-24T01:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Zeppelin with Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162900#M29301</link>
      <description>&lt;P&gt;FYI: Here is the quickest way to discover if you have access to your Hive "default" database tables:&lt;/P&gt;&lt;PRE&gt;val sqlContext = new org.apache.spark.sql.hive.HiveContext(sc)
val tables = sqlContext.sql("show tables")
tables.show()

tables: org.apache.spark.sql.DataFrame = [tableName: string, isTemporary: boolean]
+---------+-----------+
|tableName|isTemporary|
+---------+-----------+
|sample_07|      false|
|sample_08|      false|
+---------+-----------+

&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2016 01:27:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162900#M29301</guid>
      <dc:creator>phargis</dc:creator>
      <dc:date>2016-05-24T01:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Zeppelin with Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162901#M29302</link>
      <description>&lt;P&gt;In the installed Zeppelin setup on HDP 2.4 it's available.&lt;/P&gt;&lt;P&gt;Just run your queries&lt;/P&gt;&lt;P&gt;%sql&lt;/P&gt;&lt;P&gt;select * from hivetable&lt;/P&gt;&lt;P&gt;%hive&lt;/P&gt;&lt;P&gt;select * from hivetable&lt;/P&gt;&lt;P&gt;You should be able to connect the Hive interpreter standard way.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 01:33:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Zeppelin-with-Hive/m-p/162901#M29302</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-05-25T01:33:13Z</dc:date>
    </item>
  </channel>
</rss>

