@Test public void createsCorrectJobConfiguration() throws IOException, IllegalAccessException, ClassNotFoundException { Job job=createBloomFilterTool.createJob(new String[] { "-input", "/basekb-sandbox/someLocation", "-R", "9500", "-k", "7", "-m", "1000000", "-output", "/basekb-sandbox/anotherLocation", }); assertEquals(job.getMapperClass(),BloomMapper.class); }
@Override protected Class<? extends Mapper> getMapperClass() { return BloomMapper.class; }
CreateBloomFilterTool extends SingleJobTool<CreateBloomOptions> { @Override protected Class<? extends Mapper> getMapperClass() { return BloomMapper.class; } }
CreateBloomFilterTool extends SingleJobTool<CreateBloomOptions> { @Override protected Class<? extends Mapper> getMapperClass() { return BloomMapper.class; }  }
CreateBloomFilterTool extends SingleJobTool<CreateBloomOptions> { @Override protected Class<? extends Mapper> getMapperClass() { return BloomMapper.class; }  @Override Class getOptionsClass(); @Override Class<? extends Writable> getOutputKeyClass(); @Override Class<? extends Writable> getOutputValueClass(); @Override Iterable<Path> getInputPaths(); @Override int getNumReduceTasks(); }
CreateBloomFilterTool extends SingleJobTool<CreateBloomOptions> { @Override protected Class<? extends Mapper> getMapperClass() { return BloomMapper.class; }  @Override Class getOptionsClass(); @Override Class<? extends Writable> getOutputKeyClass(); @Override Class<? extends Writable> getOutputValueClass(); @Override Iterable<Path> getInputPaths(); @Override int getNumReduceTasks();  }