![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
MapReducemain接口设置和运行命令分别如下,请问MapReduce的输入文件为()Publicvoidmain(strin
MapReducemain接口设置和运行命令分别如下,请问MapReduce的输入文件为()
Publicvoidmain(string[]args)
{
String[]otherArgs=newGeneriOptionsParser(conf,args).getRemainingArgs();
FileInputFormat.addInputPath(job,newPath(otherArgs[0]));
FileOutputFormat.setOutputPath(job,newPath(otherArgs[1]));
}
命令:hadoopjarWordCount.jar/user/hadoopfs/test.txt/user/hadoopfs/out
A、WordCount.jar
B、/user/hadoop
C、/user/hadoopfs/test.txt
D、/user/hadoopfs/out
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)