<?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 Hue connects hiveserver2 timeout in hortonworks in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hue-connects-hiveserver2-timeout-in-hortonworks/m-p/148771#M111297</link>
    <description>&lt;P&gt;Hi, everybody&lt;/P&gt;&lt;P&gt;I think i encountered one messy problem. After installing the hadoop，hive，hue, etc. services successfully and using hue without any problem for a while, I encountered such one problem. it printed the timeout error when i tried to login in to the beeswax page. I have tried some ways including installing the hiveserver2 service and hue server service in the same host, changing the value of hive_server_host from fqdn to localhost, changing the server_conn_timeout from 120 to 300 of hue.ini, etc. But all these ways didn't work. I think maybe i should read the source code of hue and hive, and then trace it. Maybe you guys have solutions, do you? Thanks in advance.&lt;/P&gt;&lt;P&gt;Versions of HDP and hue, hive:&lt;/P&gt;&lt;P&gt;HDP: 2.5.0.0&lt;/P&gt;&lt;P&gt;hue: 2.6.1.2.5.0.0&lt;/P&gt;&lt;P&gt;hive: 1.2.1000&lt;/P&gt;&lt;P&gt;Parts of the logs of hivesever2 in both cases:&lt;/P&gt;&lt;P&gt;1. successfully login from hue ui&lt;/P&gt;&lt;P&gt;see the text file or png file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/13457-success-hiveserver2.txt" target="_blank"&gt;success-hiveserver2.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13458-success-hiveserver2.png" style="width: 1568px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21303i47D14937F6B30593/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13458-success-hiveserver2.png" alt="13458-success-hiveserver2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. failed to login from hue ui, or timeout error&lt;/P&gt;&lt;P&gt;see the text file or png file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/13459-fail-hiveserver2.txt" target="_blank"&gt;fail-hiveserver2.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13460-fail-hiveserver2.png" style="width: 1565px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21304iDD722B9FAC8F509D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13460-fail-hiveserver2.png" alt="13460-fail-hiveserver2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Parts of the logs of hue in fail case:&lt;/P&gt;&lt;P&gt;see the text file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/13461-fail-hue.txt" target="_blank"&gt;fail-hue.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please use vim or other editor open the text file because of the aligning problem. Ignoring the time in the log, maybe it's a bug of hue, or maybe no.&lt;/P&gt;&lt;P&gt;Buy the way, some of the configuration options of hive like this:&lt;/P&gt;&lt;P&gt;hive.server2.enable.doAs=true&lt;/P&gt;&lt;P&gt;hive.server2.authentication=NOSASL&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 13:10:26 GMT</pubDate>
    <dc:creator>imrforever</dc:creator>
    <dc:date>2019-08-18T13:10:26Z</dc:date>
  </channel>
</rss>

