Ignore:
Timestamp:
Jul 3, 2008, 5:25:22 PM (16 years ago)
Author:
waue
Message:

test!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sample/hadoop-0.16/tw/org/nchc/demo/DemoWordCondProb.java

    r21 r27  
    3333import org.apache.hadoop.mapred.lib.IdentityReducer;
    3434
    35 import tw.org.nchc.code.Convert;
    3635import tw.org.nchc.tuple.Schema;
    3736import tw.org.nchc.tuple.Tuple;
     
    185184    conf1.setNumMapTasks(numMapTasks);
    186185    conf1.setNumReduceTasks(numReduceTasks);
    187     //0.16
    188 //    conf1.setInputPath(new Path(inPath));
    189     Convert.setInputPath(conf1, new Path(inPath));
     186    conf1.setInputPath(new Path(inPath));
    190187   
    191188    conf1.setInputFormat(SequenceFileInputFormat.class);
    192189   
    193     // 0.16
    194 //    conf1.setOutputPath(new Path(output1Path));
    195     Convert.setOutputPath(conf1,new Path(output1Path));
     190    conf1.setOutputPath(new Path(output1Path));
    196191    conf1.setOutputKeyClass(Tuple.class);
    197192    conf1.setOutputValueClass(FloatWritable.class);
Note: See TracChangeset for help on using the changeset viewer.