You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "bharath v (JIRA)" <ji...@apache.org> on 2019/08/17 15:26:00 UTC

[jira] [Resolved] (IMPALA-8872) SPNEGO auth failures using httpcore v4.4.1

     [ https://issues.apache.org/jira/browse/IMPALA-8872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bharath v resolved IMPALA-8872.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.3.0

> 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
>    Affects Versions: Impala 3.3.0
>            Reporter: bharath v
>            Assignee: bharath v
>            Priority: Major
>             Fix For: Impala 3.3.0
>
>
> 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-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org