<?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: HttpClient error with SelectHiveQL NiFi Processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390992#M247426</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112177"&gt;@NagendraKumar&lt;/a&gt;&amp;nbsp;&lt;A href="https://www-indigocard.com" target="_self"&gt;My Indigo Card&lt;/A&gt;wrote:&lt;BR /&gt;&lt;P&gt;We are facing the HttpClient error when we try to fetch data from the Hive using the&amp;nbsp; SelectHiveQL NiFi Processor.&lt;/P&gt;&lt;P&gt;Please find the error details below and help us resolve this with your expertise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Controller Service&lt;/STRONG&gt;&lt;/U&gt; -&amp;nbsp;HiveConnectionPool&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;STRONG&gt;Database Connection URL:&lt;/STRONG&gt; jdbc:hive2://localhost:10000/default;principal=hive@test@xyz.com&lt;BR /&gt;&lt;STRONG&gt;Hive Configuration Resources:&lt;/STRONG&gt; /etc/hive/conf/hive-site.xml,/etc/hadoop/conf/core-site.xml&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NagendraKumar_1-1721916322741.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41251iB617347AAF0D59B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NagendraKumar_1-1721916322741.png" alt="NagendraKumar_1-1721916322741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;NiFi Processor&lt;/STRONG&gt;&lt;/U&gt; -&amp;nbsp;SelectHiveQL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NagendraKumar_2-1721916579157.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41252iBF86116247613635/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NagendraKumar_2-1721916579157.png" alt="NagendraKumar_2-1721916579157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error Message :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;SelectHiveQL[id=23er-1234-9999-4444-17] org.apache.nifi.processors.hive.SelectHiveQL$$Lambda$2132/2007351143@6ab4a383 failed to process due to java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient&lt;BR /&gt;- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient; rolling back session: {}&lt;/P&gt;&lt;P&gt;SelectHiveQL[id=sge33-1234-9999-21-33] Processing halted: yielding [1 sec]: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient&lt;BR /&gt;- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Your NiFi isn't talking to Hive properly.&lt;/P&gt;&lt;P&gt;It sounds like there's a missing piece in your software that's stopping them from connecting.&lt;/P&gt;&lt;P&gt;Let's fix it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Check the connections: Make sure everything is plugged in correctly (figuratively speaking).&lt;/LI&gt;&lt;LI&gt;Look for missing software: You might need to add something to NiFi to make it work.&lt;/LI&gt;&lt;LI&gt;Restart NiFi: Sometimes, a simple restart can fix weird computer problems.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If this doesn't work, you might need to ask for more help from NiFi experts.&lt;/P&gt;&lt;P&gt;Let me know if you need more help!&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2024 05:47:36 GMT</pubDate>
    <dc:creator>monica345</dc:creator>
    <dc:date>2024-07-26T05:47:36Z</dc:date>
    <item>
      <title>HttpClient error with SelectHiveQL NiFi Processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390972#M247416</link>
      <description>&lt;P&gt;We are facing the HttpClient error when we try to fetch data from the Hive using the&amp;nbsp; SelectHiveQL NiFi Processor.&lt;/P&gt;&lt;P&gt;Please find the error details below and help us resolve this with your expertise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Controller Service&lt;/STRONG&gt;&lt;/U&gt; -&amp;nbsp;HiveConnectionPool&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;STRONG&gt;Database Connection URL:&lt;/STRONG&gt; jdbc:hive2://localhost:10000/default;principal=hive@test@xyz.com&lt;BR /&gt;&lt;STRONG&gt;Hive Configuration Resources:&lt;/STRONG&gt; /etc/hive/conf/hive-site.xml,/etc/hadoop/conf/core-site.xml&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NagendraKumar_1-1721916322741.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41251iB617347AAF0D59B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NagendraKumar_1-1721916322741.png" alt="NagendraKumar_1-1721916322741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;NiFi Processor&lt;/STRONG&gt;&lt;/U&gt; -&amp;nbsp;SelectHiveQL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NagendraKumar_2-1721916579157.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41252iBF86116247613635/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NagendraKumar_2-1721916579157.png" alt="NagendraKumar_2-1721916579157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error Message :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;SelectHiveQL[id=23er-1234-9999-4444-17] org.apache.nifi.processors.hive.SelectHiveQL$$Lambda$2132/2007351143@6ab4a383 failed to process due to java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient&lt;BR /&gt;- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient; rolling back session: {}&lt;/P&gt;&lt;P&gt;SelectHiveQL[id=sge33-1234-9999-21-33] Processing halted: yielding [1 sec]: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient&lt;BR /&gt;- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 14:14:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390972#M247416</guid>
      <dc:creator>NagendraKumar</dc:creator>
      <dc:date>2024-07-25T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: HttpClient error with SelectHiveQL NiFi Processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390992#M247426</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112177"&gt;@NagendraKumar&lt;/a&gt;&amp;nbsp;&lt;A href="https://www-indigocard.com" target="_self"&gt;My Indigo Card&lt;/A&gt;wrote:&lt;BR /&gt;&lt;P&gt;We are facing the HttpClient error when we try to fetch data from the Hive using the&amp;nbsp; SelectHiveQL NiFi Processor.&lt;/P&gt;&lt;P&gt;Please find the error details below and help us resolve this with your expertise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Controller Service&lt;/STRONG&gt;&lt;/U&gt; -&amp;nbsp;HiveConnectionPool&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;STRONG&gt;Database Connection URL:&lt;/STRONG&gt; jdbc:hive2://localhost:10000/default;principal=hive@test@xyz.com&lt;BR /&gt;&lt;STRONG&gt;Hive Configuration Resources:&lt;/STRONG&gt; /etc/hive/conf/hive-site.xml,/etc/hadoop/conf/core-site.xml&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NagendraKumar_1-1721916322741.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41251iB617347AAF0D59B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NagendraKumar_1-1721916322741.png" alt="NagendraKumar_1-1721916322741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;NiFi Processor&lt;/STRONG&gt;&lt;/U&gt; -&amp;nbsp;SelectHiveQL&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NagendraKumar_2-1721916579157.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41252iBF86116247613635/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NagendraKumar_2-1721916579157.png" alt="NagendraKumar_2-1721916579157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error Message :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;SelectHiveQL[id=23er-1234-9999-4444-17] org.apache.nifi.processors.hive.SelectHiveQL$$Lambda$2132/2007351143@6ab4a383 failed to process due to java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient&lt;BR /&gt;- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient; rolling back session: {}&lt;/P&gt;&lt;P&gt;SelectHiveQL[id=sge33-1234-9999-21-33] Processing halted: yielding [1 sec]: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient&lt;BR /&gt;- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Your NiFi isn't talking to Hive properly.&lt;/P&gt;&lt;P&gt;It sounds like there's a missing piece in your software that's stopping them from connecting.&lt;/P&gt;&lt;P&gt;Let's fix it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Check the connections: Make sure everything is plugged in correctly (figuratively speaking).&lt;/LI&gt;&lt;LI&gt;Look for missing software: You might need to add something to NiFi to make it work.&lt;/LI&gt;&lt;LI&gt;Restart NiFi: Sometimes, a simple restart can fix weird computer problems.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If this doesn't work, you might need to ask for more help from NiFi experts.&lt;/P&gt;&lt;P&gt;Let me know if you need more help!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 05:47:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390992#M247426</guid>
      <dc:creator>monica345</dc:creator>
      <dc:date>2024-07-26T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: HttpClient error with SelectHiveQL NiFi Processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390997#M247428</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/113182"&gt;@monica345&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks a lot for your valuable input!&lt;/P&gt;&lt;P&gt;We have restarted the NiFi multiple times and find below the list of jar files placed in the NiFi lib folder. Please let us know if there is any additional jar file that needs to be used in NiFi for connecting to Hive. Thanks!&lt;/P&gt;&lt;P&gt;slf4j-api-2.0.6.jar&lt;BR /&gt;nifi-stateless-bootstrap-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-stateless-api-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-server-api-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-runtime-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-property-utils-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-properties-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-nar-utils-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-framework-api-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;nifi-api-1.18.0.2.1.5.3000-3.jar&lt;BR /&gt;logback-core-1.3.5.jar&lt;BR /&gt;logback-classic-1.3.5.jar&lt;BR /&gt;log4j-over-slf4j-2.0.6.jar&lt;BR /&gt;jul-to-slf4j-2.0.6.jar&lt;BR /&gt;jetty-schemas-5.2.jar&lt;BR /&gt;jcl-over-slf4j-2.0.6.jar&lt;BR /&gt;javax.servlet-api-3.1.0.jar&lt;BR /&gt;aspectjweaver-1.9.6.jar&lt;BR /&gt;oracle-connector-java.jar&lt;BR /&gt;mysql-connector-java.jar&lt;BR /&gt;ojdbc8.jar&lt;BR /&gt;ojdbc10.jar&lt;BR /&gt;hive-jdbc-3.1.3000.7.1.7.2000-305.jar&lt;BR /&gt;libthrift-0.9.3.jar&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 07:29:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HttpClient-error-with-SelectHiveQL-NiFi-Processor/m-p/390997#M247428</guid>
      <dc:creator>NagendraKumar</dc:creator>
      <dc:date>2024-07-26T07:29:00Z</dc:date>
    </item>
  </channel>
</rss>

