Changes between Version 10 and Version 11 of NCHCCloudCourse100928_4_EXM


Ignore:
Timestamp:
Jul 21, 2011, 12:05:15 PM (13 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCHCCloudCourse100928_4_EXM

    v10 v11  
    1212
    1313 = 說明 =
     14
    1415{{{
    1516#!text
     
    9798                job.setJarByClass(HelloHadoop.class);
    9899                // 設定輸入路徑
    99                 FileInputFormat.setInputPaths(job, "/user/hadoop/input");
     100                FileInputFormat.setInputPaths(job, "");// 請輸入正確的輸入資料夾
    100101                // 設定輸出路徑
    101                 FileOutputFormat.setOutputPath(job, new Path("/user/hadoop/output-hh1"));
     102                FileOutputFormat.setOutputPath(job, new Path("")); // 請輸入正確的輸出資料夾
    102103                // 指定定map class
    103104                job.setMapperClass(HelloMapper.class);
     
    113114
    114115
    115  * 最後請看結果檔: /user/hadoop/output-hh1/part-r-00000
     116 * 最後請呈現結果檔, 如: /user/hadoop/output-hh1/part-r-00000
     117
     118 [http://trac.nchc.org.tw/cloud/wiki/NCHCCloudCourse100928_4_EXM_sol 解答]