Closed cwensel closed 12 years ago
Which versions are you using? Of the plugin and elasticsearch? This failure will happen if you use the 1.3.0
plugin version with elasticsearch 0.18.
with 0.19.0. + 1.3.0.
my war file..
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/web.xml
WEB-INF/classes/
WEB-INF/classes/log4j.properties
WEB-INF/classes/driven/
WEB-INF/classes/driven/server/
WEB-INF/classes/driven/server/DrivenServerProps.class
WEB-INF/classes/driven/server/DrivenServlet.class
WEB-INF/classes/driven/server/ElasticSearchServletListener.class
WEB-INF/lib/
WEB-INF/lib/slf4j-log4j12-1.6.1.jar
WEB-INF/lib/slf4j-api-1.6.1.jar
WEB-INF/lib/log4j-1.2.16.jar
WEB-INF/lib/common-1.0-wip-122.jar
WEB-INF/lib/elasticsearch-0.19.0.jar
WEB-INF/lib/lucene-core-3.5.0.jar
WEB-INF/lib/lucene-analyzers-3.5.0.jar
WEB-INF/lib/lucene-queries-3.5.0.jar
WEB-INF/lib/lucene-memory-3.5.0.jar
WEB-INF/lib/lucene-highlighter-3.5.0.jar
WEB-INF/lib/guava-10.0.1.jar
WEB-INF/lib/jsr305-1.3.9.jar
WEB-INF/lib/jackson-core-asl-1.9.2.jar
WEB-INF/lib/jackson-mapper-asl-1.9.2.jar
WEB-INF/lib/joda-time-2.0.jar
WEB-INF/lib/zookeeper-3.3.1.jar
WEB-INF/lib/jline-0.9.94.jar
WEB-INF/lib/cascading-core-2.0.0-wip-238.jar
WEB-INF/lib/riffle-0.1-dev.jar
WEB-INF/lib/jgrapht-jdk1.6-0.8.1.jar
WEB-INF/lib/janino-2.5.16.jar
WEB-INF/lib/cascading-local-2.0.0-wip-238.jar
WEB-INF/lib/cascading-hadoop-2.0.0-wip-238.jar
WEB-INF/lib/hadoop-core-0.20.2.jar
WEB-INF/lib/commons-cli-1.2.jar
WEB-INF/lib/xmlenc-0.52.jar
WEB-INF/lib/commons-httpclient-3.0.1.jar
WEB-INF/lib/commons-logging-1.1.1.jar
WEB-INF/lib/commons-codec-1.4.jar
WEB-INF/lib/commons-net-1.4.1.jar
WEB-INF/lib/oro-2.0.8.jar
WEB-INF/lib/jetty-6.1.14.jar
WEB-INF/lib/jetty-util-6.1.14.jar
WEB-INF/lib/servlet-api-2.5-6.1.14.jar
WEB-INF/lib/jasper-runtime-5.5.12.jar
WEB-INF/lib/jasper-compiler-5.5.12.jar
WEB-INF/lib/jsp-api-2.1-6.1.14.jar
WEB-INF/lib/jsp-2.1-6.1.14.jar
WEB-INF/lib/core-3.1.1.jar
WEB-INF/lib/ant-1.6.5.jar
WEB-INF/lib/commons-el-1.0.jar
WEB-INF/lib/jets3t-0.7.1.jar
WEB-INF/lib/kfs-0.3.jar
WEB-INF/lib/hsqldb-1.8.0.10.jar
WEB-INF/lib/elasticsearch-cloud-aws-1.3.0.jar
WEB-INF/lib/aws-java-sdk-1.2.15.jar
WEB-INF/lib/httpclient-4.1.1.jar
WEB-INF/lib/httpcore-4.1.jar
WEB-INF/lib/elasticsearch-transport-wares-1.2.0.jar
WEB-INF/lib/servlet-api-2.5.jar
Thats really strange.., since the mentioned class exists in 0.19, but it does not exists in 0.18... . In any case, I uploaded a new version, 1.4.0
updated to the latest AWS sdk, can you give it a twirl?
haven't seen it show up in maven yet https://oss.sonatype.org/content/repositories/releases/org/elasticsearch/elasticsearch-cloud-aws/
Grr, forgot to release it on sonatype, just did it.
seems to be booting up fine now. thanks!
this is showing up in the logs, may just need a recompile and push to mvn.
Error injecting constructor, java.lang.NoSuchMethodError: org.elasticsearch.common.util.concurrent.EsExecutors.newScalingExecutorService(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ThreadPoolExecutor; at org.elasticsearch.gateway.s3.S3Gateway.(Unknown Source)
while locating org.elasticsearch.gateway.s3.S3Gateway
while locating org.elasticsearch.gateway.Gateway
Caused by: java.lang.NoSuchMethodError: org.elasticsearch.common.util.concurrent.EsExecutors.newScalingExecutorService(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ThreadPoolExecutor;
at org.elasticsearch.gateway.s3.S3Gateway.(S3Gateway.java:85)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)