jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-7182) Make it possible to update Guava
Date Wed, 07 Feb 2018 16:36:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355645#comment-16355645
] 

Julian Reschke edited comment on OAK-7182 at 2/7/18 4:35 PM:
-------------------------------------------------------------

Looking at classes in {{org.apache.jackrabbit.oak.plugins.index.solr.server}} it seems that
we're indeed running an embedded server. See also http://jackrabbit.apache.org/oak/docs/query/solr.html

EDIT: running the tests with: {{mvn -Dguava.version=21.0 -DtrimStackTrace=false clean install}}:
{noformat}
[ERROR] testHightlightFirstWord(org.apache.jackrabbit.core.query.ExcerptTest)  Time elapsed:
0.18 s  <<< ERROR!
java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
        at org.apache.solr.handler.component.HighlightComponent.prepare(HighlightComponent.java:74)
        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:246)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:2102)
        at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:178)
        at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
        at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:942)
        at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:957)
        at org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$2.loadDocs(SolrQueryIndex.java:343)
        at org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$2.computeNext(SolrQueryIndex.java:281)
        at org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$2.computeNext(SolrQueryIndex.java:1)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:145)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:140)
        at org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$SolrRowCursor$1.hasNext(SolrQueryIndex.java:684)
        at org.apache.jackrabbit.oak.plugins.index.Cursors$PathCursor.hasNext(Cursors.java:216)
        at org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$SolrRowCursor.hasNext(SolrQueryIndex.java:706)
        at org.apache.jackrabbit.oak.query.ast.SelectorImpl.next(SelectorImpl.java:435)
        at org.apache.jackrabbit.oak.query.QueryImpl$RowIterator.fetchNext(QueryImpl.java:824)
        at org.apache.jackrabbit.oak.query.QueryImpl$RowIterator.hasNext(QueryImpl.java:851)
        at org.apache.jackrabbit.oak.jcr.query.QueryResultImpl$1.fetch(QueryResultImpl.java:98)
        at org.apache.jackrabbit.oak.jcr.query.QueryResultImpl$1.<init>(QueryResultImpl.java:94)
        at org.apache.jackrabbit.oak.jcr.query.QueryResultImpl.getRows(QueryResultImpl.java:78)
        at org.apache.jackrabbit.core.query.ExcerptTest.checkExcerpt(ExcerptTest.java:277)
        at org.apache.jackrabbit.core.query.ExcerptTest.testHightlightFirstWord(ExcerptTest.java:48)

{noformat}



was (Author: reschke):
Looking at classes in {{org.apache.jackrabbit.oak.plugins.index.solr.server}} it seems that
we're indeed running an embedded server. See also http://jackrabbit.apache.org/oak/docs/query/solr.html

> Make it possible to update Guava
> --------------------------------
>
>                 Key: OAK-7182
>                 URL: https://issues.apache.org/jira/browse/OAK-7182
>             Project: Jackrabbit Oak
>          Issue Type: Wish
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>         Attachments: OAK-7182-guava-21.diff, guava.diff
>
>
> We currently rely on Guava 15, and this affects all users of Oak because they essentially
need to use the same version.
> This is an overall issue to investigate what would need to be done in Oak in order to
make updates possible.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message