88cf29b903
Reported in https://github.com/elastic/elasticsearch/issues/11647#issuecomment-118523861 > btw, I think you broke some plugins on Master, cloud-aws doesn't register s3 repos anymore. ``` org.elasticsearch.common.inject.CreationException: Guice creation errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext at org.elasticsearch.repositories.s3.S3Repository.<init>(Unknown Source) while locating org.elasticsearch.repositories.s3.S3Repository while locating org.elasticsearch.repositories.Repository 1 error at org.elasticsearch.common.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:344) at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:178) at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110) at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:140) at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:69) at org.elasticsearch.repositories.RepositoriesService.createRepositoryHolder(RepositoriesService.java:404) at org.elasticsearch.repositories.RepositoriesService.registerRepository(RepositoriesService.java:368) at org.elasticsearch.repositories.RepositoriesService.access$100(RepositoriesService.java:55) at org.elasticsearch.repositories.RepositoriesService$1.execute(RepositoriesService.java:110) at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:378) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:209) at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:179) 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: org/apache/http/protocol/HttpContext at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:129) at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:432) at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:414) at org.elasticsearch.cloud.aws.InternalAwsS3Service.getClient(InternalAwsS3Service.java:153) at org.elasticsearch.cloud.aws.InternalAwsS3Service.client(InternalAwsS3Service.java:82) at org.elasticsearch.repositories.s3.S3Repository.<init>(S3Repository.java:125) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:56) at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86) at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104) at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:54) at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47) at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:865) at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43) at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59) at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46) at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201) at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193) at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:858) at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193) at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175) ... 13 more Caused by: java.lang.ClassNotFoundException: org.apache.http.protocol.HttpContext at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 37 more ``` Closes #12034. |
||
---|---|---|
.. | ||
activation-1.1.jar.sha1 | ||
activation-LICENSE.txt | ||
activation-NOTICE.txt | ||
azure-LICENSE.txt | ||
azure-NOTICE.txt | ||
azure-core-0.7.0.jar.sha1 | ||
azure-management-0.7.0.jar.sha1 | ||
azure-management-compute-0.7.0.jar.sha1 | ||
azure-storage-2.0.0.jar.sha1 | ||
commons-codec-1.6.jar.sha1 | ||
commons-codec-LICENSE.txt | ||
commons-codec-NOTICE.txt | ||
commons-logging-1.1.3.jar.sha1 | ||
commons-logging-LICENSE.txt | ||
commons-logging-NOTICE.txt | ||
httpclient-4.3.6.jar.sha1 | ||
httpclient-LICENSE.txt | ||
httpclient-NOTICE.txt | ||
httpcore-4.3.3.jar.sha1 | ||
httpcore-LICENSE.txt | ||
httpcore-NOTICE.txt | ||
jackson-LICENSE | ||
jackson-NOTICE | ||
jackson-core-asl-1.9.2.jar.sha1 | ||
jackson-jaxrs-1.9.2.jar.sha1 | ||
jackson-mapper-asl-1.9.2.jar.sha1 | ||
jackson-xc-1.9.2.jar.sha1 | ||
javax.inject-1.jar.sha1 | ||
javax.inject-LICENSE.txt | ||
javax.inject-NOTICE.txt | ||
jaxb-LICENSE.txt | ||
jaxb-NOTICE.txt | ||
jaxb-api-2.2.2.jar.sha1 | ||
jaxb-impl-2.2.3-1.jar.sha1 | ||
jersey-LICENSE.txt | ||
jersey-NOTICE.txt | ||
jersey-client-1.13.jar.sha1 | ||
jersey-core-1.13.jar.sha1 | ||
jersey-json-1.13.jar.sha1 | ||
jettison-1.1.jar.sha1 | ||
jettison-LICENSE.txt | ||
jettison-NOTICE.txt | ||
mail-1.4.5.jar.sha1 | ||
mail-LICENSE.txt | ||
mail-NOTICE.txt | ||
stax-LICENSE.txt | ||
stax-NOTICE.txt | ||
stax-api-1.0-2.jar.sha1 |