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 "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/17 15:14:02 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16909744#comment-16909744 ] 

ASF subversion and git services commented on IMPALA-8872:
---------------------------------------------------------

Commit 7d387d97eef83f3e8e8f2a5e6868c2dcd677b0a4 in impala's branch refs/heads/master from Bharath Vissapragada
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7d387d9 ]

IMPALA-8872: Override httpcore from libthrift to 4.4.9

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

The error goes away with httpcore v4.4.9 (manually tested). This
patch overrides the dependency.

Change-Id: I675356d002354b0aff439f0635e30f4610a96989
Reviewed-on: http://gerrit.cloudera.org:8080/14087
Reviewed-by: Bharath Vissapragada <bh...@cloudera.com>
Tested-by: Bharath Vissapragada <bh...@cloudera.com>


> 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
>
> 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