hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 谭军 <tanjun_2...@163.com>
Subject The method addCacheFIle(URI) is undefined for the type Job
Date Fri, 23 Sep 2011 13:01:09 GMT
 Hi,
I encountered an error that I cannot understand.

Configuration conf = new Configuration();
Job job = new Job(conf, "job1");
job.addCacheFile(new URI(args[0]));

Why did it report "The method addCacheFile(URI) is undefined for the type Job"?
Thanks!

--


Regards!

Jun Tan
Mime
View raw message