<?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: Get DATA from hive using apache nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Get-DATA-from-hive-using-apache-nifi/m-p/313838#M225755</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to set the "Database User", e.g. hive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you refer to the Hive2 JDBC documentation, the user ID is required&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-UsingJDBC" target="_blank" rel="noopener"&gt;https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-UsingJDBC&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;port&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is 10000. In non-secure configurations, &lt;U&gt;specify a&amp;nbsp;&amp;lt;user&amp;gt;&amp;nbsp;for the query to run as.&lt;/U&gt; The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;password&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field value is ignored in non-secure mode.&lt;/P&gt;&lt;DIV class="preformatted panel conf-macro output-block"&gt;&lt;DIV class="preformattedContent panelContent"&gt;&lt;PRE&gt;Connection cnct = DriverManager.getConnection("jdbc:hive2://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;", "&amp;lt;user&amp;gt;", "");&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 30 Mar 2021 09:19:16 GMT</pubDate>
    <dc:creator>Daming Xue</dc:creator>
    <dc:date>2021-03-30T09:19:16Z</dc:date>
  </channel>
</rss>

