<?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 Fetch Hive Table from HCatalog/Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-Hive-Table-from-HCatalog-Hive/m-p/116368#M16833</link>
    <description>&lt;P&gt;What's the horton-recommended way to get Hive data in Java code?
Thinking:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hcat api&lt;/LI&gt;&lt;LI&gt;jdbc query&lt;/LI&gt;&lt;LI&gt;HDFS call&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We're just trying to get Hive data into a data structure in java, like a Collection, and operate on it. Typical Map/Reduce stuff. Specifically this would be used in a Crunch/Cascading setup.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2016 03:00:53 GMT</pubDate>
    <dc:creator>landon_t_robins</dc:creator>
    <dc:date>2016-01-29T03:00:53Z</dc:date>
    <item>
      <title>Fetch Hive Table from HCatalog/Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-Hive-Table-from-HCatalog-Hive/m-p/116368#M16833</link>
      <description>&lt;P&gt;What's the horton-recommended way to get Hive data in Java code?
Thinking:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hcat api&lt;/LI&gt;&lt;LI&gt;jdbc query&lt;/LI&gt;&lt;LI&gt;HDFS call&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We're just trying to get Hive data into a data structure in java, like a Collection, and operate on it. Typical Map/Reduce stuff. Specifically this would be used in a Crunch/Cascading setup.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 03:00:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-Hive-Table-from-HCatalog-Hive/m-p/116368#M16833</guid>
      <dc:creator>landon_t_robins</dc:creator>
      <dc:date>2016-01-29T03:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Hive Table from HCatalog/Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-Hive-Table-from-HCatalog-Hive/m-p/116369#M16834</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/936/landontrobinson.html" nodeid="936"&gt;@Landon Robinson&lt;/A&gt;, take a look at &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/hive-jdbc-odbc-drivers.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/hive-jdbc-odbc-drivers.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you're writing Java code, the easiest to use is probably the provided JDBC driver.&lt;/P&gt;&lt;P&gt;You can get the current version of the JDBC driver in one of two ways:&lt;/P&gt;&lt;P&gt;1. At /user/hdp/current/hive-client/lib/hive-jdbc.jar on your edge/client node&lt;/P&gt;&lt;P&gt;2. &lt;A href="http://repo.hortonworks.com/content/repositories/releases/org/apache/hive/hive-jdbc/"&gt;here&lt;/A&gt;- you'll need to pick the jar corresponding to your HDP version (Ambari shows this under the Admin-&amp;gt;Stacks and Versions-&amp;gt;Versions tab, or you can display it on the CLI by typing "hdp-select", which shows the version number of each installed component.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 03:17:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Fetch-Hive-Table-from-HCatalog-Hive/m-p/116369#M16834</guid>
      <dc:creator>rgelhausen</dc:creator>
      <dc:date>2016-01-29T03:17:02Z</dc:date>
    </item>
  </channel>
</rss>

