nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (NUTCH-2473) Elasticsearch REST Indexer broken due to wrong depenency
Date Wed, 13 Dec 2017 20:19:00 GMT


ASF GitHub Bot commented on NUTCH-2473:

lewismc commented on issue #253: fix for NUTCH-2473 Remove broken slf4j dependecy from indexer-elastic-rest
   Hi @dwirz the PR does not cover or fix the issue here... do you have a patch?

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Elasticsearch REST Indexer broken due to wrong depenency
> --------------------------------------------------------
>                 Key: NUTCH-2473
>                 URL:
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.14
>            Reporter: Moreno Feltscher
>            Assignee: Sebastian Nagel
> When trying to index into Elasticsearch using {{indexer-elastic-rest}} the following
error is being thrown:
> {code}
> Exception in thread "main" java.lang.LinkageError: loader constraint violation: when
resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
the class loader (instance of org/apache/nutch/plugin/PluginClassLoader) of the current class,
org/slf4j/LoggerFactory, and the class loader (instance of sun/misc/Launcher$AppClassLoader)
for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects
for the type org/slf4j/ILoggerFactory used in the signature
>     at org.slf4j.LoggerFactory.getILoggerFactory(
>     at org.slf4j.LoggerFactory.getLogger(
>     at org.slf4j.LoggerFactory.getLogger(
>     at org.apache.nutch.indexwriter.elasticrest.ElasticRestIndexWriter.<clinit>(
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance(
>     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
>     at java.lang.reflect.Constructor.newInstance(
>     at java.lang.Class.newInstance(
>     at org.apache.nutch.plugin.Extension.getExtensionInstance(
>     at org.apache.nutch.indexer.IndexWriters.<init>(
>     at org.apache.nutch.indexer.IndexingJob.index(
>     at
>     at
>     at org.apache.nutch.indexer.IndexingJob.main(
> {code}
> [e66d44d|]
removed the runtime dependency on {{slf4j-api-1.7.21.jar}} everywhere but in {{indexer-elastic-rest}}.
> Possible fix:

This message was sent by Atlassian JIRA

View raw message