datacleaner / DataCleaner

The premier open source Data Quality solution
GNU Lesser General Public License v3.0
597 stars 181 forks source link

Get elasticsearch up to date #1497

Open ClaudiaPHI opened 8 years ago

ClaudiaPHI commented 8 years ago

There are many versions of Elasticsearch that do not work with elasticsearch indexer.

ClaudiaPHI commented 8 years ago

Can not connect to ElasticSearch using Transport protocol:

I have tested many versions including 2.3.1

Exception:

Unexpected error!

Message:
    org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
Level:
    SEVERE
Stack Trace:
None of the configured nodes are available: []
    org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:279)
    org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:198)
    org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient.execute(InternalTransportClusterAdminClient.java:86)
    org.elasticsearch.client.support.AbstractClusterAdminClient.state(AbstractClusterAdminClient.java:142)
    org.elasticsearch.action.admin.cluster.state.ClusterStateRequestBuilder.doExecute(ClusterStateRequestBuilder.java:100)
    org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
    org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)
    org.apache.metamodel.elasticsearch.nativeclient.ElasticSearchDataContext.detectSchema(ElasticSearchDataContext.java:171)
    org.apache.metamodel.elasticsearch.nativeclient.ElasticSearchDataContext.<init>(ElasticSearchDataContext.java:122)
    org.apache.metamodel.elasticsearch.nativeclient.ElasticSearchDataContext.<init>(ElasticSearchDataContext.java:136)
    org.datacleaner.connection.ElasticSearchDatastore.createDatastoreConnection(ElasticSearchDatastore.java:123)
    org.datacleaner.connection.UsageAwareDatastore.getDatastoreConnection(UsageAwareDatastore.java:117)
    org.datacleaner.connection.UsageAwareDatastore.openConnection(UsageAwareDatastore.java:128)
    org.datacleaner.connection.ElasticSearchDatastore.openConnection(ElasticSearchDatastore.java:220)
    org.datacleaner.connection.ElasticSearchDatastore.openConnection(ElasticSearchDatastore.java:49)
    org.datacleaner.panels.DatastoreManagementPanel$1.actionPerformed(DatastoreManagementPanel.java:122)
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)