<?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: Hue 3.10.0 + HiveServer2 ​with hive.server2.thrift.sasl.qop=auth-conf  sometimes(or always on certain conditions) reports a SASL error. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174818#M137081</link>
    <description>&lt;P&gt;To tell the truth, I don't know what is SSF and what increasing SSF means... There's no need to increase SSF possibly. I'll try later, sorry.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2016 10:47:41 GMT</pubDate>
    <dc:creator>takefumi_ohide</dc:creator>
    <dc:date>2016-08-18T10:47:41Z</dc:date>
    <item>
      <title>Hue 3.10.0 + HiveServer2 ​with hive.server2.thrift.sasl.qop=auth-conf  sometimes(or always on certain conditions) reports a SASL error.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174815#M137078</link>
      <description>&lt;P&gt;Hue 3.10.0 + HiveServer2 with hive.server2.thrift.sasl.qop=auth-conf sometimes(or always on certain conditions) reports a SASL error shown below:&lt;/P&gt;&lt;P&gt;Error in sasl_decode (-1) SASL(-1): generic failure: Unable to find a callback: 32775 (code THRIFTTRANSPORT): TTransportException('Error in sasl_decode (-1) SASL(-1): generic failure: Unable to find a callback: 32775',)&lt;/P&gt;&lt;P&gt;I can see this message when executing, for example, "select * from db.table limit 12;", but cannot see when executing "select * from db.table limit 11;"... These queries are same only except for "limit" clause.&lt;/P&gt;&lt;P&gt;I searched with that error message, so I found this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/0LfySJBERsc" target="_blank"&gt;https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/0LfySJBERsc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A poster said "Seems hue doesn't play nice with hive.server2.thrift.sasl.qop set to auth-conf. Works OK with only auth though." in this post. Is that also true on Hue 3.10.0? Is it impossible to use sasl.qop=auth-conf on Hue 3.10.0?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:43:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174815#M137078</guid>
      <dc:creator>takefumi_ohide</dc:creator>
      <dc:date>2016-08-16T11:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 + HiveServer2 ​with hive.server2.thrift.sasl.qop=auth-conf  sometimes(or always on certain conditions) reports a SASL error.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174816#M137079</link>
      <description>&lt;P&gt;
	I found a solution... but it's just a quick hack, not an appropriate fix I think.&lt;/P&gt;&lt;OL&gt;
	&lt;LI&gt;modify hue/desktop/core/ext-py/sasl-0.1.1/sasl/saslwrapper.cpp to increase maxBufSize.&lt;/LI&gt;	&lt;LI&gt;build it with "python setup.py build" and get a new _saslwrapper.so&lt;/LI&gt;	&lt;LI&gt;replace hue/build/env/lib/python2.6/site-packages/sasl-0.1.1-py2.6-linux-x86_64.egg/_saslwrapper.so with it&lt;/LI&gt;	&lt;LI&gt;restart Hue.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Detail of step 1 and 2 below.&lt;/P&gt;&lt;P&gt;Step 1.&lt;/P&gt;&lt;P&gt;In hue/desktop/core/ext-py/sasl-0.1.1/sasl/saslwrapper.cpp you can find a line "ClientImpl() : conn(0), cbIndex(0), maxBufSize(65535), minSsf(0), maxSsf(65535), externalSsf(0), secret(0) {}" around line 35, so modified maxBufSize to larger value.&lt;/P&gt;&lt;P&gt;Step 2.&lt;/P&gt;&lt;P&gt;In hue/desktop/core/ext-py/sasl-0.1.1, execute "python setup.py build", so you've got _saslwrapper.so  in hue/desktop/core/ext-py/sasl-0.1.1/uild/lib.linux-x86_64-2.6/_saslwrapper.so&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 16:39:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174816#M137079</guid>
      <dc:creator>takefumi_ohide</dc:creator>
      <dc:date>2016-08-17T16:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 + HiveServer2 ​with hive.server2.thrift.sasl.qop=auth-conf  sometimes(or always on certain conditions) reports a SASL error.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174817#M137080</link>
      <description>&lt;P&gt;Thank you very much for providing an answer. &lt;/P&gt;&lt;P&gt;I'm having some difficulty to understand why SSF is also needed to increase. I'm just wondering accepting (or offering?) higher factor wouldn't require more buffer?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 10:23:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174817#M137080</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2016-08-18T10:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 + HiveServer2 ​with hive.server2.thrift.sasl.qop=auth-conf  sometimes(or always on certain conditions) reports a SASL error.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174818#M137081</link>
      <description>&lt;P&gt;To tell the truth, I don't know what is SSF and what increasing SSF means... There's no need to increase SSF possibly. I'll try later, sorry.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 10:47:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174818#M137081</guid>
      <dc:creator>takefumi_ohide</dc:creator>
      <dc:date>2016-08-18T10:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 + HiveServer2 ​with hive.server2.thrift.sasl.qop=auth-conf  sometimes(or always on certain conditions) reports a SASL error.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174819#M137082</link>
      <description>&lt;P&gt;I confirmed that it's not necessary to increase maxSsf, only maxBufSize should be increased for this solution. Thanks &lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt; for your comment! And I'll edit my first answer.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:39:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-3-10-0-HiveServer2-with-hive-server2-thrift-sasl-qop/m-p/174819#M137082</guid>
      <dc:creator>takefumi_ohide</dc:creator>
      <dc:date>2016-08-18T13:39:59Z</dc:date>
    </item>
  </channel>
</rss>

