When I'm running Unit test's, all works fine, but when I run it on cluster, I'm getting NoSuchMethodError
2015-09-07 16:51:40,143 FATAL [main] org.apache.hadoop.mapred.YarnChild: Error running child : java.lang.NoSuchMethodError: com.google.common.base.Splitter.splitToList(Ljava/lang/CharSequence;)Ljava/util/List;
In pom.xml I've included guava: com.google.guava:guava:18.0
And when I set guava version 14.0, I'm getting the same error. What should I do?