ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivér Szabó (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-21277) Fail to create solr clients in Log Search / Log Feeder with openjdk8
Date Tue, 27 Jun 2017 11:23:00 GMT

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

Olivér Szabó resolved AMBARI-21277.
-----------------------------------
    Resolution: Fixed

{code:java}
commit 535660bb75efefd21692b0558dc7d74e420903f2
Author: oleewere <oleewere@gmail.com>
Date:   Mon Jun 26 15:44:34 2017 +0200

    AMBARI-21277. Fail to create solr clients in Log Search / Log Feeder (oleewere)
{code}

> Fail to create solr clients in Log Search / Log Feeder with openjdk8
> --------------------------------------------------------------------
>
>                 Key: AMBARI-21277
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21277
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-logsearch
>    Affects Versions: 3.0.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 3.0.0, 2.5.2
>
>
> From Feeder log:
> {code}
> 2017-06-15 20:31:14,765 [main] FATAL org.apache.ambari.logfeeder.LogFeeder (LogFeeder.java:88)
- Caught exception in main.
> java.lang.VerifyError: Bad return type
> Exception Details:
>   Location:
>     org/apache/solr/client/solrj/impl/HttpClientUtil.createClient(Lorg/apache/solr/common/params/SolrParams;)Lorg/apache/http/impl/client/CloseableHttpClient;
@57: areturn
>   Reason:
>     Type 'org/apache/http/impl/client/SystemDefaultHttpClient' (current frame, stack[0])
is not assignable to 'org/apache/http/impl/client/CloseableHttpClient' (from method signature)
>   Current Frame:
>     bci: @57
>     flags: { }
>     locals: { 'org/apache/solr/common/params/SolrParams', 'org/apache/solr/common/params/ModifiableSolrParams',
'org/apache/http/impl/client/SystemDefaultHttpClient' }
>     stack: { 'org/apache/http/impl/client/SystemDefaultHttpClient' }
>   Bytecode:
>     0x0000000: bb00 0359 2ab7 0004 4cb2 0005 b900 0601
>     0x0000010: 0099 001e b200 05bb 0007 59b7 0008 1209
>     0x0000020: b600 0a2b b600 0bb6 000c b900 0d02 00b8
>     0x0000030: 000e 4d2c 2bb8 000f 2cb0
>   Stackmap Table:
>     append_frame(@47,Object[#144])
>         at org.apache.ambari.logfeeder.output.OutputSolr.setupSecurity(OutputSolr.java:134)
>         at org.apache.ambari.logfeeder.output.OutputSolr.init(OutputSolr.java:94)
>         at org.apache.ambari.logfeeder.output.OutputManager.init(OutputManager.java:72)
>         at org.apache.ambari.logfeeder.LogFeeder.init(LogFeeder.java:102)
>         at org.apache.ambari.logfeeder.LogFeeder.run(LogFeeder.java:84)
>         at org.apache.ambari.logfeeder.LogFeeder.main(LogFeeder.java:511)
> {code}
> introduced by: https://issues.apache.org/jira/browseAMBARI-19369 (added httpclient dependency
to ambari-metrics-common)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message