hi,all:
I'm using the mahout bayes classifier these days,and here are some question
about it:
1.SequenceFileModelReader only assume that the reduce task number is 1,and
if user's hadoop-site.xml set the default reduce task number to some number
larger than 1,it may get more than 1 reduce results,that is part-00000
part-00001  ... ,some this may lead to some problems.
I think change the path parameter to a directory the contains the reduce
file rather than directly the reduce file is more proper
 *public Model loadModel(FileSystem fs,* *Path path, Configuration conf)
throws IOException *

ar set the num of reduce tasks to 1 in the TrainerDrive#runJob()
*conf.setNumReduceTasks(1);*
**
2.why does the ClassifierDriver class load model data from the HDFS instead
of local filesystem?these can avoid copyToLocal command.

Look forward to feedbacks.
-- 
--~--~---------~--~----~------------~-------~--

Best Regards,

Yours
Phonechen

-~----------~----~----~----~------~----~------

Reply via email to