--
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cascading-user/-/xZrbycvwlYEJ.
To post to this group, send email to cascadi...@googlegroups.com.
To unsubscribe from this group, send email to cascading-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.
its probably safe to leave it out of your job jar since its in the hadoop classpath.ckw
On Aug 6, 2012, at 11:40 PM, Ben Linsay <bli...@gmail.com> wrote:
Removing the symlinks to the 1.4.3 version did the trick. I've been poking around for a cleaner fix, but no dice. It seems like having both versions in the classpath is the problem, so that's the problem that has to be solved.
On Monday, August 6, 2012 10:37:49 PM UTC-7, Ben Linsay wrote:In the middle of a funny issue - the Amazon AMI update to Hadoop 1.0 (woo!) appears to have rolled out in between two test runs of a Cascading job I was writing. I went from working code to getting the following stack trace:Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactoryat org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)at cascading.property.AppProps.<clinit>(AppProps.java:46)Based on the slf4j FAQ (http://slf4j.org/faq.html#IllegalAccessError) it looks like an unfortunate dependency problem somewhere. Taking a look at the classpath, there are definitely multiple versions of slf4j hanging out:hadoop@ip-10-58-47-161:~$ ll /home/hadoop/lib/*slf*lrwxrwxrwx 1 hadoop 65 Aug 7 04:04 /home/hadoop/lib/slf4j-api-1.4.3.jar -> /home/hadoop/.versions/1.0.3/share/hadoop/lib/slf4j-api-1.4.3.jar-rw-r--r-- 1 hadoop 26K Jul 31 22:57 /home/hadoop/lib/slf4j-api-1.6.4.jarlrwxrwxrwx 1 hadoop 69 Aug 7 04:04 /home/hadoop/lib/slf4j-log4j12-1.4.3.jar -> /home/hadoop/.versions/1.0.3/share/hadoop/lib/slf4j-log4j12-1.4.3.jar-rw-r--r-- 1 hadoop 9.6K Jul 31 22:57 /home/hadoop/lib/slf4j-log4j12-1.6.4.jarHanging out in IRC while I slog through this. Whee!--
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cascading-user/-/xZrbycvwlYEJ.
To post to this group, send email to cascading-user@googlegroups.com.
To unsubscribe from this group, send email to cascading-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/cascading-user/-/7Zr8idNffwYJ.
To post to this group, send email to cascadi...@googlegroups.com.
To unsubscribe from this group, send email to cascading-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.
We are using lemur to launch a EMR cluster, so we really do not have the required control to modify the hadoop distribution.Thanks for the reply.