0
我想在扩展TableMapper的非常基本的mapper上使用HbaseTestingUtility运行测试。 在我的测试课中,我使用utility.startMiniCluster()
启动MiniCluster,并在设置方法中使用utility.createTable(tablename_bytes, familyname_bytes)
创建测试表。HbaseTestingUtility和MapReduce作业
然后我用启动映射:
Job job = new Job(utility.getConfiguration()); //Job.getInstance();
TableMapReduceUtil.initTableMapperJob(tableName, new Scan(),MyBasicHbaseMapper.class,Text.class, Text.class, job);
job.waitForCompletion(true);
这是我的错误:
java.io.FileNotFoundException: File does not exist: hdfs://localhost:57276/Users/user1/.m2/repository/org/cloudera/htrace/htrace-core/2.04/htrace-core-2.04.jar
这个jar文件是~/.m2/repository/org/cloudera/htrace/htrace-core/2.04/htrace-core-2.04.jar
。
我在做什么错?