metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (METAMODEL-124) ElasticSearch 0.9 and 1.4 compatibilty issues prevail
Date Thu, 26 Mar 2015 19:03:52 GMT

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

Kasper Sørensen resolved METAMODEL-124.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.4.0

> ElasticSearch 0.9 and 1.4 compatibilty issues prevail
> -----------------------------------------------------
>
>                 Key: METAMODEL-124
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-124
>             Project: Apache MetaModel
>          Issue Type: Bug
>    Affects Versions: 4.3.2
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
>             Fix For: 4.4.0
>
>
> I was curious to check the compatibility issues with ElasticSearch versions, and uncovered
a few more issues:
> {code}
> java.lang.NoSuchMethodError: org.elasticsearch.action.admin.indices.mapping.delete.DeleteMappingRequestBuilder.setType(Ljava/lang/String;)Lorg/elasticsearch/action/admin/
> indices/mapping/delete/DeleteMappingRequestBuilder;
>         at org.apache.metamodel.elasticsearch.ElasticSearchDropTableBuilder.execute(ElasticSearchDropTableBuilder.java:58)
>         at org.apache.metamodel.drop.DropTable.run(DropTable.java:65)
>         at org.apache.metamodel.elasticsearch.ElasticSearchDataContext.executeUpdate(ElasticSearchDataContext.java:423)
>         at org.apache.metamodel.elasticsearch.ElasticSearchDataContextTest.testUpdateRow(ElasticSearchDataContextTest.java:352)
> testDropTable(org.apache.metamodel.elasticsearch.ElasticSearchDataContextTest)  Time
elapsed: 0.016 sec  <<< ERROR!
> java.lang.NoSuchMethodError: org.elasticsearch.action.admin.indices.mapping.delete.DeleteMappingRequestBuilder.setType(Ljava/lang/String;)Lorg/elasticsearch/action/admin/
> indices/mapping/delete/DeleteMappingRequestBuilder;
>         at org.apache.metamodel.elasticsearch.ElasticSearchDropTableBuilder.execute(ElasticSearchDropTableBuilder.java:58)
>         at org.apache.metamodel.drop.DropTable.run(DropTable.java:65)
>         at org.apache.metamodel.elasticsearch.ElasticSearchDataContext.executeUpdate(ElasticSearchDataContext.java:423)
>         at org.apache.metamodel.elasticsearch.ElasticSearchDataContextTest.testDropTable(ElasticSearchDataContextTest.java:368)
> {code}
> To reproduce: build with java 6 (elasticsearch 0.9) but run tests with java 8 (elasticsearch
1.4).
> {code}
> cd metamodel/elasticsearch
> set JAVA_HOME=[your JDK6 home]
> mvn clean install
> set JAVA_HOME=[your JDK8 home]
> mvn test
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message