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/DemoHBaseSink.java

    r21 r27  
    44 * From :  NCHC. Taiwn
    55 * Last Update Date: 07/02/2008
    6  * Upgrade to 0.17
    76 * Re-code from : Cloud9: A MapReduce Library for Hadoop
    87 */
     
    2827import org.apache.hadoop.mapred.lib.IdentityMapper;
    2928import org.apache.hadoop.mapred.lib.IdentityReducer;
    30 
    31 import tw.org.nchc.code.Convert;
    3229
    3330/**
     
    8178    conf.setNumMapTasks(mapTasks);
    8279    conf.setNumReduceTasks(reduceTasks);
    83     // 0.16
    84     // conf.setInputPath(new Path(filename));
    85     Convert.setInputPath(conf, new Path(filename));
    86 
     80    conf.setInputPath(new Path(filename));
    8781    conf.setMapperClass(IdentityMapper.class);
    8882    conf.setCombinerClass(IdentityReducer.class);
Note: See TracChangeset for help on using the changeset viewer.