bharath v created IMPALA-8872:
---------------------------------

             Summary: SPNEGO auth failures using httpcore v4.4.1
                 Key: IMPALA-8872
                 URL: https://issues.apache.org/jira/browse/IMPALA-8872
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: bharath v
            Assignee: bharath v


When deploying a cluster with Ranger publishing audits to SOLR, we noticed that 
the SPNEGO request consistently fails with the following exception using 
httpcore 4.4.1 pulled in by thrift.

The error goes away with httpcore v4.4.6 (manually tested). This could be a 
library bug but we don't have a solid theory yet.
{noformat}
 E0816 15:13:53.912468 16695 HttpClientUtil.java:181]
    Java exception follows:
    java.lang.IllegalStateException: Content has not been provided
            at org.apache.http.util.Asserts.check(Asserts.java:34)
            at 
org.apache.http.entity.BasicHttpEntity.getContent(BasicHttpEntity.java:77)
            at 
org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:122)
            at 
org.apache.http.entity.BufferedHttpEntity.<init>(BufferedHttpEntity.java:63)
            at 
org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder.lambda$new$3(Krb5HttpClientBuilder.java:154)
            at 
org.apache.solr.client.solrj.impl.HttpClientUtil$DynamicInterceptor$1.accept(HttpClientUtil.java:179)
            at 
org.apache.solr.client.solrj.impl.HttpClientUtil$DynamicInterceptor$1.accept(HttpClientUtil.java:174)
            at 
java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891)
            at 
org.apache.solr.client.solrj.impl.HttpClientUtil$DynamicInterceptor.process(HttpClientUtil.java:174)
            at 
org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:132)
            at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:183)
            at 
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
            at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
            at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
            at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
            at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
            at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:542)
            at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
            at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
            at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:484)
            at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:414)
            at 
org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$0(CloudSolrClient.java:528)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to