Not to able use the jar built from source and start elastic search


(balakc) #1

Got the elastic search source code from GIT and build with Maven.
After that i copied elasticsearch-0.19.0-SNAPSHOT.jar
from target directory to ES/lib and moved elasticsearch-0.17.2.jar out
of the ES/lib directory.

After that i started elastic search am getting the below error

[2012-01-07 11:10:59,618][INFO ][node ]
[Conquistador] {0.19.0-SNAPSHOT}[3887]: initializing ...
[2012-01-07 11:10:59,624][INFO ][plugins ]
[Conquistador] loaded [], sites [head]
[2012-01-07 11:11:01,182][ERROR][bootstrap ] {0.19.0-
SNAPSHOT}: Initialization Failed ...

  1. NoSuchFieldError[LUCENE_34]2) NoClassDefFoundError[Could not
    initialize class org.elasticsearch.common.lucene.Lucene]

List of plugins i have installed are head and river-couchdb.


(balakc) #2

Resolved the problem, i need to copy the complete file set under lib
directory since the source is now using Lucene 3.5 and
binaries available at site uses Lucene 3.3.

On Jan 7, 11:19 am, balakc balak1...@gmail.com wrote:

Got the elastic search source code from GIT and build with Maven.
After that i copied elasticsearch-0.19.0-SNAPSHOT.jar
from target directory to ES/lib and moved elasticsearch-0.17.2.jar out
of the ES/lib directory.

After that i started elastic search am getting the below error

[2012-01-07 11:10:59,618][INFO ][node ]
[Conquistador] {0.19.0-SNAPSHOT}[3887]: initializing ...
[2012-01-07 11:10:59,624][INFO ][plugins ]
[Conquistador] loaded [], sites [head]
[2012-01-07 11:11:01,182][ERROR][bootstrap ] {0.19.0-
SNAPSHOT}: Initialization Failed ...

  1. NoSuchFieldError[LUCENE_34]2) NoClassDefFoundError[Could not
    initialize class org.elasticsearch.common.lucene.Lucene]

List of plugins i have installed are head and river-couchdb.


(Shay Banon) #3

When you run "mvn package -DskipTests", you get a full installation zip
under target/release, just use that one.

On Sat, Jan 7, 2012 at 9:36 PM, balakc balak1718@gmail.com wrote:

Resolved the problem, i need to copy the complete file set under lib
directory since the source is now using Lucene 3.5 and
binaries available at site uses Lucene 3.3.

On Jan 7, 11:19 am, balakc balak1...@gmail.com wrote:

Got the elastic search source code from GIT and build with Maven.
After that i copied elasticsearch-0.19.0-SNAPSHOT.jar
from target directory to ES/lib and moved elasticsearch-0.17.2.jar out
of the ES/lib directory.

After that i started elastic search am getting the below error

[2012-01-07 11:10:59,618][INFO ][node ]
[Conquistador] {0.19.0-SNAPSHOT}[3887]: initializing ...
[2012-01-07 11:10:59,624][INFO ][plugins ]
[Conquistador] loaded [], sites [head]
[2012-01-07 11:11:01,182][ERROR][bootstrap ] {0.19.0-
SNAPSHOT}: Initialization Failed ...

  1. NoSuchFieldError[LUCENE_34]2) NoClassDefFoundError[Could not
    initialize class org.elasticsearch.common.lucene.Lucene]

List of plugins i have installed are head and river-couchdb.


(system) #4