Ignore:
Timestamp:
Jul 3, 2008, 4:45:54 PM (16 years ago)
Author:
waue
Message:

downgrade from 0.17 to 0.16
test for work -> not yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sample/hadoop-0.16/tw/org/nchc/code/WordCountFromHBase.java

    r23 r25  
    168168    // input is Hbase format => TableInputFormat
    169169    conf.setInputFormat(TableInputFormat.class);
    170     // 0.16
    171 //    conf.setOutputPath(new Path(outputPath));
    172     Convert.setOutputPath(conf, new Path(outputPath));
     170    conf.setOutputPath(new Path(outputPath));
    173171//     delete the old path with the same name
    174     FileSystem.get(conf).delete(new Path(outputPath),true);
     172    FileSystem.get(conf).delete(new Path(outputPath));
    175173    JobClient.runJob(conf);
    176174  }
Note: See TracChangeset for help on using the changeset viewer.