Changes between Version 1 and Version 2 of NCHCCloudCourse100928_4_EXM8
- Timestamp:
- Jul 18, 2011, 11:03:12 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100928_4_EXM8
v1 v2 1 1 {{{ 2 #!text 3 此範例使用"執行緒"一次執行兩個不同的"hadoop job" 4 以及在程式中使用 conf.set 來修改 hadoop 環境設定,如 5 conf.set("mapred.job.tracker", "local"); // for single 6 conf.set("fs.default.name", "file:///"); // for single 7 }}} 2 8 3 9 {{{ 4 10 #!java 11 package org.nchc.hadoop; 5 12 6 13 import java.io.IOException;