程序中的Context是否指谢谢。org.apache.hadoop.io.Text;import org.apache.hadoop.mapreduce.Mapperorg.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
public class WordCount
但它的模拟在ProductImpl中可用,但在Mapper类中不可用。我不知道需要做些什么才能让mocked of DataServices在Mapper类中也可用。class ProductImpl{ @Inject private Mappermapper;
ds.get(); //ds is not null here