<?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 Unable to Connect Hive with Hue in CDH7.1 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326791#M229935</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed CDP with CDH 7.1 on my servers. We want to integrate our hue with hive. Earlier it used to show "Error loading databases" after that we uncommented following portion under interpreters section of notebook section in &lt;FONT face="terminal,monaco,monospace"&gt;/etc/hue/conf/hue.ini&lt;/FONT&gt; file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[[[mysql]]]
name = MySQL
interface=sqlalchemy
## https://docs.sqlalchemy.org/en/latest/dialects/mysql.html
options='{"url": "mysql://hue:mypassword@myhostnameonwhichhuedbwascreatedandhueserviceisrunning:3306/hue"}'
# ## options='{"url": "mysql://${USER}:${PASSWORD}@localhost:3306/hue"}'

[[[hive]]]
name=Hive
interface=hiveserver2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it started showing the databases after making above configurations but its not showing me tables and giving me the following error as shown in below screenshot:&lt;/P&gt;&lt;UL class="unstyled"&gt;&lt;LI&gt;'NoneType' object has no attribute 'settimeout'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hue db was created during installation by following this link, I gave path of this db in above config file:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/install_cm_mariadb.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/install_cm_mariadb.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both Hive and Hive on Tez are configured in my cluster but HiveServer2 of&amp;nbsp; Hive on Tez is down showing the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE&gt;Error stopping schq&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me solve these issues and connect hive with hue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hxn_0-1633589278121.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32614i71D0F552FF3EF127/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hxn_0-1633589278121.png" alt="hxn_0-1633589278121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 08:56:43 GMT</pubDate>
    <dc:creator>hxn</dc:creator>
    <dc:date>2026-04-21T08:56:43Z</dc:date>
    <item>
      <title>Unable to Connect Hive with Hue in CDH7.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326791#M229935</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed CDP with CDH 7.1 on my servers. We want to integrate our hue with hive. Earlier it used to show "Error loading databases" after that we uncommented following portion under interpreters section of notebook section in &lt;FONT face="terminal,monaco,monospace"&gt;/etc/hue/conf/hue.ini&lt;/FONT&gt; file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[[[mysql]]]
name = MySQL
interface=sqlalchemy
## https://docs.sqlalchemy.org/en/latest/dialects/mysql.html
options='{"url": "mysql://hue:mypassword@myhostnameonwhichhuedbwascreatedandhueserviceisrunning:3306/hue"}'
# ## options='{"url": "mysql://${USER}:${PASSWORD}@localhost:3306/hue"}'

[[[hive]]]
name=Hive
interface=hiveserver2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it started showing the databases after making above configurations but its not showing me tables and giving me the following error as shown in below screenshot:&lt;/P&gt;&lt;UL class="unstyled"&gt;&lt;LI&gt;'NoneType' object has no attribute 'settimeout'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hue db was created during installation by following this link, I gave path of this db in above config file:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/install_cm_mariadb.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/install_cm_mariadb.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both Hive and Hive on Tez are configured in my cluster but HiveServer2 of&amp;nbsp; Hive on Tez is down showing the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE&gt;Error stopping schq&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me solve these issues and connect hive with hue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hxn_0-1633589278121.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32614i71D0F552FF3EF127/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hxn_0-1633589278121.png" alt="hxn_0-1633589278121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 08:56:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326791#M229935</guid>
      <dc:creator>hxn</dc:creator>
      <dc:date>2026-04-21T08:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Connect Hive with Hue in CDH7.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326878#M229956</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92563"&gt;@hxn&lt;/a&gt;&amp;nbsp;It seems like hive on Tez service is not up. Please go through Hive on Tez logs, and you should see more info around the error 'Error stopping schq'. We need to bring Hive service up first, and then we can approach the Hue issue, or Hue might start working after fixing Hive.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 17:05:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326878#M229956</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2021-10-07T17:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Connect Hive with Hue in CDH7.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326909#M229968</link>
      <description>&lt;P&gt;Do I need to stop I hive and only use hive on tez..?&lt;/P&gt;&lt;P&gt;There are 2 hiveserver2 1 is of hive service and the other one is&amp;nbsp;hive on tez's hiveserver2.&lt;/P&gt;&lt;P&gt;I am getting following logs on hive on tez's hiveserver2:&lt;/P&gt;&lt;PRE&gt;[shutdown-hook-0]: Error stopping schq
java.lang.IllegalStateException: The current ScheduledQueryExecutionService INSTANCE is invalid
	at org.apache.hadoop.hive.ql.scheduled.ScheduledQueryExecutionService.close(ScheduledQueryExecutionService.java:312) ~[hive-exec-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]
	at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:892) ~[hive-service-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]
	at org.apache.hive.service.server.HiveServer2.lambda$init$0(HiveServer2.java:439) ~[hive-service-3.1.3000.7.1.7.0-551.jar:3.1.3000.7.1.7.0-551]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 04:21:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326909#M229968</guid>
      <dc:creator>hxn</dc:creator>
      <dc:date>2021-10-08T04:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Connect Hive with Hue in CDH7.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326921#M229973</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92563"&gt;@hxn&lt;/a&gt;&amp;nbsp;We should not have any hiveserver2 under "Hive" service.&lt;/P&gt;&lt;P&gt;hiveserver2 should be present only under "Hive on Tez".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a hiveserver2 instance under "Hive" service, please delete it.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 06:57:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-Connect-Hive-with-Hue-in-CDH7-1/m-p/326921#M229973</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2021-10-08T06:57:05Z</dc:date>
    </item>
  </channel>
</rss>

