This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$HADOOP_HOME/bin/hadoop jar $HADOOP_HOME/hadoop-streaming.jar \ | |
-input "/user/me/samples/cachefile/input.txt" \ | |
-mapper "xargs cat" \ | |
-reducer "cat" \ | |
-output "/user/me/samples/cachefile/out" \ | |
-cacheArchive 'hdfs://hadoop-nn1.example.com:8020/user/me/samples/cachefile/cachedir.jar#testlink' \ | |
-jobconf mapred.map.tasks=1 \ | |
-jobconf mapred.reduce.tasks=1 \ | |
-jobconf mapred.job.name="Experiment" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function backup(){ | |
newname=$1.`date +%Y%m%d`.bk; | |
cp $1 $newname; | |
echo "Backed up(copy) $1 to $newname"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
以台北車站附近地點為主。 | |
提案一:貳樓餐廳 Second Floor Cafe(微風台北車站店) | |
http://blog.xuite.net/jusboy1970/papago/60209431 | |
提案二:魔法咖哩-凱撒店-北車六號出口 | |
http://blog.sina.com.tw/mayyu_doggy/article.php?pbgid=6276&entryid=584871 |