Git Product home page Git Product logo

elasticsearch-image's People

Contributors

jmoati avatar kiwionly avatar kiwionly2 avatar kzwang avatar youqian avatar zengde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elasticsearch-image's Issues

Plans to support Elasticsearch >= 5.0?

Elasticsearch 5.0 has been released and this plugin has not yet been updated to support the new version. Are there plans to support future versions of ES?

My findings so far

I attempted to edit build.gradle, gradle.properties, and plugin-descriptor.properties to reflect my current version of Elasticsearch (5.0.2) and build the plugin myself using gradle plugin.

When I do this, there are many instances of Elasticsearch-specific classes not being found. In particular, these statements seem to cause problems

import org.elasticsearch.common.logging.ESLogger;
import org.elasticsearch.index.mapper.MappedFieldType.Names;
import static org.elasticsearch.index.mapper.MapperBuilders.binaryField;
import static org.elasticsearch.index.mapper.MapperBuilders.stringField;
import org.elasticsearch.index.query.BoostableQueryBuilder;
import org.elasticsearch.index.query.QueryParsingException;

Note: these statements are all in different files and do not appear one right after another in the actual code.

These seem to be actual issues stemming from the differences between 2.4 and 5.0. I've confirmed that MapperBuilders is a file that existed in 2.4 but was removed in 5.0.

unsupported parameters" error

elastic.version = 2.2.0
using branch : https://github.com/kiwionly/elasticsearch-image
I created the plugin via gradle and unzip to %elasticsearch%/plugins folder.
Then trying to create mapping like example in Redme. I have this "unsupported parameters" error:

-first create index:
curl -XPUT 'localhost:9200/test?pretty'
-second crete mapping
"like example in README.md"
--return
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]"
},
"status": 400
}

No index mapper found for field [image.JCD.hash.BIT_SAMPLING] returning default postings format

Hi,

Thanks a bunch for updating the elasticsearch-image plugin to be 2.x compatible. I really appreciate all the work you've done.

I was wondering if you could assist with some warning messages I'm getting in the logs when I index an image using v2.3.3 of the plugin. The errors repeat for all enabled features, but here is one I get for JCD:

[WARN ] [index.codec         ] [search] [classifier] No index mapper found for field [image.JCD.hash.BIT_SAMPLING] returning default postings format

My mapping is as follows:

...
        "image": {
            "type": "image",
            "feature": {
                "JCD": {
                    "hash": ["BIT_SAMPLING"]
                }
            }
        },
...

Any thoughts on why it's spitting out these warnings? Do I need to specify a type on each feature?

Thanks again for the awesome work on the plugin.

Regards,
D

error on index.codec

I'm new beginner at elasticsearch-image. I compile and install the plugin following instructions of the README on the project. My test environment is elasticsearch 2.4.1 and elasticsearch-image-2.4.1
however, I found the warning log..
[Danger] [my_index] no index mapper found for field: [my_img.CEDD.hash.BIT_SAMPLING] return default position format [Danger] [my_index] no index mapper found for field: [my_img.JCB.hash.BIT_SAMPLING] return default position format [Danger] [my_index] no index mapper found for field: [my_img.JCB.hash.LSH] return default position format
it seems that the plugin is not installed successfully.
also the size of elasticsearch index is greater than raw image dataset. like Issue 22.

any suggestion?

ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

On my Windows 10 machine I have downloaded ES 2.3.3 and trying to install elasticsearch-image plugin by a following command:

bin\plugin install kiwionly/elasticsearch-image

It fails with a following error:

elasticsearch-2.3.3>bin\plugin install kiwionly/elasticsearch-image
-> Installing kiwionly/elasticsearch-image...
Trying https://github.com/kiwionly/elasticsearch-image/archive/master.zip ...
Downloading ................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
...........................................................................................................................................D
ONE
Verifying https://github.com/kiwionly/elasticsearch-image/archive/master.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

What am I doing wrong ?

Mapper parsing exception and null pointers on indexing

I've built and installed this release on Elasticsearch 2.3.3 using gradle, and I have gotten to the point where I'm trying to ingest an image:

curl -XPOST 'localhost:9200/test/test' -d '{
    "my_img": "blah blah blah..."
}'

and I am receiving this error

{
  "error" : {
    "root_cause" : [ {
      "type" : "mapper_parsing_exception",
      "reason" : "failed to parse"
    } ],
    "type" : "mapper_parsing_exception",
    "reason" : "failed to parse",
    "caused_by" : {
      "type" : "null_pointer_exception",
      "reason" : null
    }
  },
  "status" : 400
}

are there any instructions for fixing this? On kzwang's original branch, the solution was to downgrade to an older version of ES, but my plugin version matches my ES version so I'm not sure what the problem is.

Caused by: MapperParsingException[No type specified for field [metadata]]

Hi:

I have created mapping.json in my java application. With REST, mapping as provided in documentation works fine but not with JAVA API in elastic search. Following is code:

For Mapping :

public void createlireMapping(elasticsearchcon elasticSearchConnection) {

    CreateIndexRequestBuilder createIndexRequestBuilder = elasticSearchConnection.getClient().admin().indices().prepareCreate(indexName);
    Path str = Paths.get(settingsFile);
    try {
        String settings_json = new String(Files.readAllBytes(str));
        createIndexRequestBuilder.setSource(settings_json);
        String mapping_json = new String(Files.readAllBytes(Paths.get(jsonFileName)));
        createIndexRequestBuilder.addMapping(mappingType, mapping_json);
        System.out.println("it do");
        CreateIndexResponse indexResponse = createIndexRequestBuilder.execute().actionGet();


    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
}

Mapping.json:
{
"properties": {
"type": "image",
"feature": {
"CEDD": {
"hash": ["BIT_SAMPLING"]
},
"JCD": {
"hash": ["BIT_SAMPLING", "LSH"]
}
},
"metadata": {
"jpeg.image_width": {
"type": "string",
"store": "yes"
},
"jpeg.image_height": {
"type": "string",
"store": "yes"
}
}
}
}

Error: Exception in thread "main" MapperParsingException[Failed to parse mapping [imagess]: No type specified for field [metadata]]; nested: MapperParsingException[No type specified for field [metadata]];

Am I doing something wrong in mapping?

MapperParsingException[failed to parse]; nested: NoClassDefFoundError[Could not initialize class com.drew.imaging.jpeg.JpegMetadataReader];

I'm trying to index my images. Png file indexes without exceptions, but jpeg file throws:

MapperParsingException[failed to parse]; nested: NoClassDefFoundError[Could not initialize class com.drew.imaging.jpeg.JpegMetadataReader];
        at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:154)
        at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:309)
        at org.elasticsearch.index.shard.IndexShard.prepareCreate(IndexShard.java:529)
        at org.elasticsearch.index.shard.IndexShard.prepareCreateOnPrimary(IndexShard.java:506)
        at org.elasticsearch.action.index.TransportIndexAction.prepareIndexOperationOnPrimary(TransportIndexAction.java:215)
        at org.elasticsearch.action.index.TransportIndexAction.executeIndexRequestOnPrimary(TransportIndexAction.java:224)
        at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:158)
        at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:66)
        at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.doRun(TransportReplicationAction.java:639)
        at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
        at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:279)
        at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:271)
        at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75)
        at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376)
        at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.drew.imaging.jpeg.JpegMetadataReader
        at com.drew.imaging.ImageMetadataReader.readMetadata(ImageMetadataReader.java:98)
        at org.elasticsearch.index.mapper.image.ImageMapper.parse(ImageMapper.java:407)
        at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:309)
        at org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:436)
        at org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:262)
        at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:122)
        ... 17 more

what am I doing wrong ?

ElasticsearchImageProcessException[Failed to index feature LOCAL_BINARY_PATTERNS]

MapperParsingException[failed to parse]; nested: ElasticsearchImageProcessException[Failed to index feature LOCAL_BINARY_PATTERNS]; nested: ArrayIndexOutOfBoundsException;
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:154)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:309)
at org.elasticsearch.index.shard.IndexShard.prepareCreate(IndexShard.java:529)
at org.elasticsearch.index.shard.IndexShard.prepareCreateOnPrimary(IndexShard.java:506)
at org.elasticsearch.action.index.TransportIndexAction.prepareIndexOperationOnPrimary(TransportIndexAction.java:215)
at org.elasticsearch.action.index.TransportIndexAction.executeIndexRequestOnPrimary(TransportIndexAction.java:224)
at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:158)
at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:66)
at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.doRun(TransportReplicationAction.java:639)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:279)
at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:271)
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75)
at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: ElasticsearchImageProcessException[Failed to index feature LOCAL_BINARY_PATTERNS]; nested: ArrayIndexOutOfBoundsException;
at org.elasticsearch.index.mapper.image.ImageMapper.parse(ImageMapper.java:400)
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:309)
at org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:436)
at org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:262)
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:122)
... 17 more
Caused by: java.lang.ArrayIndexOutOfBoundsException

"unsupported parameters" error

elastic.version = 2.2.0

I created the plugin via gradle and unzip to %elasticsearch%/plugins folder.
Then trying to create mapping like example in Redme. I have this "unsupported parameters" error:

-first create index:
curl -XPUT 'localhost:9200/test?pretty'
-second crete mapping
"like example in README.md"
--return
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]"
}
],
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]"
},
"status": 400
}

has unsupported parameters

I try to create mapping for index follow this request
curl -XPUT 'http://192.168.1.107:9299/images/_mapping/images?pretty=true' -d '{ "images": { "properties": { "my_img": { "type": "image", "feature": { "CEDD": { "hash": "BIT_SAMPLING" }, "JCD": { "hash": ["BIT_SAMPLING", "LSH"] } }, "metadata": { "jpeg.image_width": { "type": "string", "store": "yes" }, "jpeg.image_height": { "type": "string", "store": "yes" } } } } } }'

and this is response

{ "error" : { "root_cause" : [ { "type" : "mapper_parsing_exception", "reason" : "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]" } ], "type" : "mapper_parsing_exception", "reason" : "Mapping definition for [my_img] has unsupported parameters: [feature : {CEDD={hash=[BIT_SAMPLING]}, JCD={hash=[BIT_SAMPLING, LSH]}}] [metadata : {jpeg.image_width={type=string}, jpeg.image_height={type=string}}]" }, "status" : 400 }

what any happen?

Specify image identifier

In original LIRE + Lucene when indexing a new image I can specify custom image identifier that will be returned later in a search results.

Is it possible to do the same with this plugin for Elasticsearch ?

elasticsearch 2.20 Could not find plugin class [org.elasticsearch.plugin.image.ImagePlugin]

Elasticsearch 2.2.0 , Java 1.8 (original 1.7 , since elasticsearch-image requires 1.8 , just upgraded )

When I start elasticsearch server , i got

[2016-05-25 06:06:14,054][INFO ][node                     ] [homer] initializing ...
Exception in thread "main" ElasticsearchException[Could not find plugin class [org.elasticsearch.plugin.image.ImagePlugin]]; nested: ClassNotFoundException[org.elasticsearch.plugin.image.ImagePlugin];
Likely root cause: java.lang.ClassNotFoundException: org.elasticsearch.plugin.image.ImagePlugin
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at org.elasticsearch.plugins.PluginsService.loadPluginClass(PluginsService.java:463)
    at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:431)
    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:129)
    at org.elasticsearch.node.Node.<init>(Node.java:146)
    at org.elasticsearch.node.Node.<init>(Node.java:128)
    at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)

If i remove elasticsearch-image , server start without problem .

does anybody know how to fix it ? I know few about Java .

image query does not support limit

version 2.4.1, while using search curl example code, console threw:
{"error":{"root_cause":[{"type":"query_parsing_exception","reason":"[image] query does not support [limit]","index":"my_index","line":1,"col":2738}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"my_index","node":"UZ7GqTt0Rpi4EZT-d16ZVw","reason":{"type":"query_parsing_exception","reason":"[image] query does not support [limit]","index":"my_index","line":1,"col":2738}}]},"status":400}

but without limit is OK.

Is index.version.created supposed to be fixed?

Hi,

In my index settings I changed the index.version.created number from the example 1070499 to the propper version to match my ES deployment (2030399) and creating mappings after doing so fails with

Mapping definition for [image] has unsupported parameters: [feature: ......... ]

Is this hard-coded somewhere in the plugin itself?

Cheers,
D

WARN: no index mapper found for field

I'm trying to index following png image from url: https://pixabay.com/static/uploads/photo/2015/10/01/19/05/car-967470_960_720.png

In order to do it I have created a following ES index:

curl -XPUT 'http://localhost:9200/images/' -d '{
    "settings" : {
        "number_of_shards" : 5,
        "number_of_replicas" : 1,
        "index.version.created" : 1070499 
    },
    "mappings" : {
        "images": {
            "properties": {
                "img": {
                    "type": "image",
                    "feature": {
                        "CEDD": {
                            "hash": ["BIT_SAMPLING"]
                        },
                        "JCD": {
                            "hash": ["BIT_SAMPLING", "LSH"]
                        }
                    },
                    "metadata": {
                        "jpeg.image_width": {
                            "type": "string",
                            "store": "yes"
                        },
                        "jpeg.image_height": {
                            "type": "string",
                            "store": "yes"
                        }
                    }
                }
            }
        }
    }
}'

Created a following Image class(Spring Data Elasticserch):

@Document(indexName = "images", type = "images")
public class Image {

    @Id
    private String id;

    private String img;

    public Image() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

}

and indexed with ES(created InputStream by img url):

byte[] imageBase64 = Base64.encodeBase64(IOUtils.toByteArray(inputStream));

Image image  = new Image();
image.setImg(new String(imageBase64));

IndexQuery query = new IndexQueryBuilder().withIndexName("images").withObject(image).build();
 String id = elasticsearchTemplate.index(query);

In console in response to this request Elasticsearch shows following warning:

[2016-07-03 11:14:54,685][WARN ][index.codec              ] [Crime Master] [images] no index mapper found for field: [img.CEDD.hash.BIT_SAMPLING] returning default postings format
[2016-07-03 11:14:54,687][WARN ][index.codec              ] [Crime Master] [images] no index mapper found for field: [img.JCD.hash.BIT_SAMPLING] returning default postings format
[2016-07-03 11:14:54,688][WARN ][index.codec              ] [Crime Master] [images] no index mapper found for field: [img.JCD.hash.LSH] returning default postings format

What can be a reason for this WARN and what am I doing wrong ?

Index is larger than image set?

I'm trying to index 120,000 images (around 50GB) from a spinning HDD onto a 128GB SSD using SCALABLE_COLOR for testing purposes. To my surprise after just 20,000 images, the index has swelled to 60GB, making the index likely to be ten times the size of my source images by the time it finishes.

Is this expected behaviour? Am I accidentally storing the entire image in Elasticsearch?

For the record, my mapping is curl -XPUT 'localhost:9201/images/art/_mapping' -d '{ "my_image_item": { "properties": { "img": { "type": "image", "feature": { "SCALABLE_COLOR": { "hash": ["LSH"] } } } } } }'

Better instructions on how to install

as /bin/plugin install kiwionly/elasticsearch-image doesn't work I've installed gradle, but have no idea how to actually get it to install this "Create this plugin using gradle, task gradle plugin, then unzip to %elasticsearch%/plugins folder" is not very easy to follow...

Caused by: NotSerializableExceptionWrapper[Failed to index feature PHOG]; nested: ArrayIndexOutOfBoundsException;

Exception in thread "main" MapperParsingException[failed to parse]; nested: NotSerializableExceptionWrapper[Failed to index feature PHOG]; nested: ArrayIndexOutOfBoundsException;
at org.elasticsearch.index.mapper.DocumentParser.innerParseDocument(DocumentParser.java:159)
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:79)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:304)
at org.elasticsearch.index.shard.IndexShard.prepareCreate(IndexShard.java:517)
at org.elasticsearch.index.shard.IndexShard.prepareCreate(IndexShard.java:508)
at org.elasticsearch.action.support.replication.TransportReplicationAction.prepareIndexOperationOnPrimary(TransportReplicationAction.java:1054)
at org.elasticsearch.action.support.replication.TransportReplicationAction.executeIndexRequestOnPrimary(TransportReplicationAction.java:1062)
at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:170)
at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.performOnPrimary(TransportReplicationAction.java:580)
at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase$1.doRun(TransportReplicationAction.java:453)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: NotSerializableExceptionWrapper[Failed to index feature PHOG]; nested: ArrayIndexOutOfBoundsException;
at org.elasticsearch.index.mapper.image.ImageMapper.parse(ImageMapper.java:388)
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:314)
at org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:441)
at org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:267)
at org.elasticsearch.index.mapper.DocumentParser.innerParseDocument(DocumentParser.java:127)
... 13 more
Caused by: java.lang.ArrayIndexOutOfBoundsException

Cannot start ES2.3.4 after adding this plugin

1, I copied this folder into the elasticsearch-2.3.4/plugins/ and extracted

2, successfully ran gradle plugin

3, I was able to start my ES2.3.4 successfully prior to adding this plugin.

4, When I try to start ES2.3.4 w/ this plugin , I got this error:

bin/elasticsearch

[2016-07-12 00:01:27,695][INFO ][node                     ] [Celestial Madonna] version[2.3.4], pid[2347], build[e455fd0/2016-06-30T11:24:31Z]
[2016-07-12 00:01:27,696][INFO ][node                     ] [Celestial Madonna] initializing ...
Exception in thread "main" java.lang.IllegalStateException: Could not load plugin descriptor for existing plugin [elasticsearch-image]. Was the plugin built before 2.0?
Likely root cause: java.nio.file.NoSuchFileException: somepath/elasticsearch-2.3.4/plugins/elasticsearch-image/plugin-descriptor.properties
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
    at java.nio.file.Files.newByteChannel(Files.java:361)
    at java.nio.file.Files.newByteChannel(Files.java:407)
    at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
    at java.nio.file.Files.newInputStream(Files.java:152)
    at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:87)
    at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:378)
    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:128)
    at org.elasticsearch.node.Node.<init>(Node.java:158)
    at org.elasticsearch.node.Node.<init>(Node.java:140)
    at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Refer to the log for complete error details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.