在MapReduce编程中,为Job对象设置Mapper类的代码正确的是()。
(A)job.setMapper(new MyMapper())
(B)job.setMapper(MyMapper.class)
(C)job.setMapperClass(new MyMapper())
(D)job.setMapperClass(MyMapper.class)
查看解析
参考答案
继续答题:下一题
(A)job.setMapper(new MyMapper())
(B)job.setMapper(MyMapper.class)
(C)job.setMapperClass(new MyMapper())
(D)job.setMapperClass(MyMapper.class)