Changes between Version 1 and Version 2 of NCHCCloudCourse100928_3_EXE


Ignore:
Timestamp:
Sep 28, 2010, 10:39:19 AM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCHCCloudCourse100928_3_EXE

    v1 v2  
    1212= Ex1. 從 local 上傳資料到 hdfs  =
    1313
    14  * 請在 local 端建立資料: /home/hadooper/input
    15  * 請檢查 hdfs 無該資料夾: /user/hadooper/program_put_input
     14 * 請在 local 端建立資料: /home/hadoop/input
     15 * 請檢查 hdfs 無該資料夾: /user/hadoop/program_put_input
    1616
    1717{{{
     
    4343        static public void main(String args[]){
    4444                Configuration conf = new Configuration();
    45                 String src = "/home/hadooper/input";
    46                 String dst = "/user/hadooper/program_put_input";
     45                String src = "/home/hadoop/input";
     46                String dst = "/user/hadoop/program_put_input";
    4747                boolean status = putToHdfs(src, dst, conf);
    4848                System.err.println("create? :" + status);
     
    5353}}}
    5454
    55  * 執行後請檢查 hdfs 是否有該資料夾: /user/hadooper/program_put_input
     55 * 執行後請檢查 hdfs 是否有該資料夾: /user/hadoop/program_put_input
    5656