<?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 hive.server2.thrift.http.cookie.auth.enabled in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300530#M220279</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We are hitting a bug&amp;nbsp;&lt;STRONG&gt;BUG-77340&amp;nbsp;&lt;/STRONG&gt;where&amp;nbsp;&lt;SPAN&gt;HS2 failover requires knox restart if cookie use is enabled for HS2. We checked&amp;nbsp;&lt;A href="https://my.cloudera.com/knowledge/quotError-opening?id=273455" target="_blank"&gt;https://my.cloudera.com/knowledge/quotError-opening?id=273455&lt;/A&gt;&amp;nbsp;and it is mentioned to set&amp;nbsp;&lt;STRONG&gt;hive.server2.thrift.http.cookie.auth.enabled&lt;/STRONG&gt; to &lt;STRONG&gt;false&lt;/STRONG&gt;. We would like to know if there is any known performance impact if we set this parameter to false.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, we have below parameters set to 600s but still we are seeing server&amp;nbsp;&lt;STRONG&gt;500 &lt;/STRONG&gt;error.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gateway.httpclient.connectionTimeout 600s
gateway.httpclient.socketTimeout 600s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 10:28:39 GMT</pubDate>
    <dc:creator>AdityaShaw</dc:creator>
    <dc:date>2020-07-29T10:28:39Z</dc:date>
    <item>
      <title>hive.server2.thrift.http.cookie.auth.enabled</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300530#M220279</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We are hitting a bug&amp;nbsp;&lt;STRONG&gt;BUG-77340&amp;nbsp;&lt;/STRONG&gt;where&amp;nbsp;&lt;SPAN&gt;HS2 failover requires knox restart if cookie use is enabled for HS2. We checked&amp;nbsp;&lt;A href="https://my.cloudera.com/knowledge/quotError-opening?id=273455" target="_blank"&gt;https://my.cloudera.com/knowledge/quotError-opening?id=273455&lt;/A&gt;&amp;nbsp;and it is mentioned to set&amp;nbsp;&lt;STRONG&gt;hive.server2.thrift.http.cookie.auth.enabled&lt;/STRONG&gt; to &lt;STRONG&gt;false&lt;/STRONG&gt;. We would like to know if there is any known performance impact if we set this parameter to false.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, we have below parameters set to 600s but still we are seeing server&amp;nbsp;&lt;STRONG&gt;500 &lt;/STRONG&gt;error.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gateway.httpclient.connectionTimeout 600s
gateway.httpclient.socketTimeout 600s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 10:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300530#M220279</guid>
      <dc:creator>AdityaShaw</dc:creator>
      <dc:date>2020-07-29T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: hive.server2.thrift.http.cookie.auth.enabled</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300532#M220281</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79669"&gt;@AdityaShaw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for inquiring about the performance impact on &lt;A href="https://docs.cloudera.com/HDPDocuments/DLM1/DLM-1.1.0/release-notes/content/dlm_known_issues.html" target="_self"&gt;disabling&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;hive.server2.thrift.http.cookie.auth.enabled&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done some research in our internal jira and support cases, however have not seen any performance issue reported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note, this bug is now fixed&amp;nbsp;&lt;SPAN&gt;as part of HIVE-22841&lt;/SPAN&gt; and will be available in a future HDP release.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you:&lt;BR /&gt;Ferenc&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 11:49:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300532#M220281</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-07-29T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: hive.server2.thrift.http.cookie.auth.enabled</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300551#M220288</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12296"&gt;@Bender&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your response. Can you please also provide some insight on timeout parameter. Can this be increased and will there be any extra load on Knox if we increase the timeout and&amp;nbsp;&lt;STRONG&gt;maxConnections &amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 17:38:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300551#M220288</guid>
      <dc:creator>AdityaShaw</dc:creator>
      <dc:date>2020-07-29T17:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: hive.server2.thrift.http.cookie.auth.enabled</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300615#M220306</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79669"&gt;@AdityaShaw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry I have missed addressing your enquiry about the server 500 error. Based on the KB article you referenced, it is related to the bug. Do you still have the server 500 error once&amp;nbsp;hive.server2.thrift.http.cookie.auth.enabled is set to false, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should you experience disconnects even after applying the workaround, you might have too many HTTPClient connections, which are too high for KNOX to handle at a time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please only change any of the parameters listed below once you tested that the above workaround was not sufficient. Based on my research the below parameters are still safe to apply. Before applying any changes in production, please test out the new values in a non-prod environment, as we are not familiar with your use cases and how your cluster/workload is designed:&lt;/P&gt;&lt;P&gt;gateway.httpclient.connectionTimeout=600000 (10 min)&lt;BR /&gt;gateway.httpclient.socketTimeout=600000 (10 min)&lt;BR /&gt;gateway.metrics.enabled=false&lt;BR /&gt;gateway.jmx.metrics.reporting.enabled=false&lt;BR /&gt;gateway.httpclient.maxConnections=128&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards:&lt;/P&gt;&lt;P&gt;Ferenc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 08:36:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-server2-thrift-http-cookie-auth-enabled/m-p/300615#M220306</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2020-07-30T08:36:16Z</dc:date>
    </item>
  </channel>
</rss>

