Hadoop中default代码是什么呀?
代码如下
Configuration conf = new Configuration():
conf set('dfs defaultFS',
'hefs://hadoop:9000'1:
Job job = Job.getinstance(conf, 'max tempr
job.setJarByClass(MaxTemperature.class)
job.setlobName('Max temperature');:
FilelnputFormat.addinputPath(job, new Path(args[0))):
FileOutputformat.setOutputPath(job, new Path(args[1])):
赞0
踩0