HBASE-3264 Remove unnecessary Guava Dependency

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1040299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-11-29 21:12:56 +00:00
parent 8b8d6b9b50
commit 2778fced75
1 changed files with 7 additions and 0 deletions

View File

@ -251,5 +251,12 @@ public class TestTableMapReduce extends MultiRegionTable {
System.err.println("tmpjars: " + tmpjars);
assertTrue(tmpjars.contains("zookeeper"));
assertFalse(tmpjars.contains("guava"));
System.err.println("appending guava jar");
TableMapReduceUtil.addDependencyJars(job.getConfiguration(),
com.google.common.base.Function.class);
tmpjars = job.getConfiguration().get("tmpjars");
assertTrue(tmpjars.contains("guava"));
}
}