Commit ee0e8163 authored by 郭羽's avatar 郭羽

美购精排模型

parent 7309a2ac
......@@ -9,7 +9,7 @@ function mergeGetFile(){
rm -f $dataPath/$1.csv
logging "rm -f $dataPath/$1.csv"
/opt/hadoop/bin/hdfs dfs -getmerge $1 $dataPath/$1.csv
logging "/opt/hadoop/bin/hdfs dfs -getmerge /$1 $dataPath/$1.csv success"
logging "/opt/hadoop/bin/hdfs dfs -getmerge $1 $dataPath/$1.csv success"
head -1 $1.csv > $1.csv.head
cat $1.csv|grep -v `cat $1.csv.head` >> $1.csv.head
mv $1.csv.head $1.csv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment