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

    r25 r27  
     1/**
     2 * Program: LogFetcher.java
     3 * Editor: Waue Chen
     4 * From :  NCHC. Taiwn
     5 * Last Update Date: 07/02/2008
     6 */
    17/**
    28 * Copyright 2007 The Apache Software Foundation
     
    95101    }
    96102  }
     103//   do it to resolve warning : FileSystem.listPaths
    97104  static public Path[] listPaths(FileSystem fsm,Path path) throws IOException
    98105  {
     
    114121    jobConf.setJobName("apache log fetcher");
    115122    jobConf.set(TABLE, table);
    116     // my convert function from 0.16 to 0.17
     123//     Path[] in = FileSystem.listPaths(fs, InputDir);
    117124    Path[] in = listPaths(fs, InputDir);
    118125    if (fs.isFile(InputDir)) {
     
    123130          jobConf.addInputPath(in[i]);
    124131        } else {
    125           // my convert function from 0.16 to 0.17
     132//          Path[] sub = FileSystem.listPaths(fs, in[i]);
    126133          Path[] sub = listPaths(fs, in[i]);
    127134          for (int j = 0; j < sub.length; j++) {
Note: See TracChangeset for help on using the changeset viewer.