"hadoop dfs"和"hadoop fs"两条命令适用于任何不同的文件系统。()
- · 有7位网友选择 对,占比77.78%
- · 有2位网友选择 错,占比22.22%
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
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!