[ https://issues.apache.org/jira/browse/NUTCH-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Nioche updated NUTCH-1220: --------------------------------- Attachment: NUTCH-1633-trunk.patch Patch which removes slf4j and log4j from the SOLR dependencies so that they rely on the main jars. Needs testing, in particular the dependency to log4j is not a direct one in SOLR so it could be that whatever library needs it works OK. > Upgrade Solr deps > ----------------- > > Key: NUTCH-1220 > URL: https://issues.apache.org/jira/browse/NUTCH-1220 > Project: Nutch > Issue Type: Task > Components: build, indexer > Reporter: Markus Jelsma > Assignee: Markus Jelsma > Priority: Minor > Fix For: 1.9 > > Attachments: NUTCH-1633-trunk.patch > > > SlfJ4 needs to be part of upgrade to Solr 3.5 but that breaks something else. > Likely Hadoop has a different Slf4J version? > {code} > Exception in thread "main" java.lang.NoSuchMethodError: > org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V > at > org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133) > at > org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:136) > at > org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:180) > at > org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:159) > at > org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:216) > at > org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:409) > at > org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:395) > at > org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1418) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1319) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:109) > at > org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:544) > at > org.apache.hadoop.mapred.FileInputFormat.addInputPath(FileInputFormat.java:339) > at > org.apache.nutch.util.domain.DomainStatistics.run(DomainStatistics.java:108) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at > org.apache.nutch.util.domain.DomainStatistics.main(DomainStatistics.java:215) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)