forked from hackreduce/Hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.vic
32 lines (20 loc) · 1.42 KB
/
README.vic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
scp -i ~/.ssh/hackreduce.pem hadoop@cluster-3.hackreduce.org:/mnt/bixidata/montreal/bixi_montreal_trunc_01.csv ./
scp -i ~/.ssh/hackreduce.pem hadoop@cluster-3.hackreduce.org:/mnt/bixidata/montreal/bixi_montreal_trunc_02.csv ./
java -classpath ".:build/libs/HackReduce-1.0.1.jar:lib/*" controlfreak.vic.Bixi datasets/bixi/bixi_montreal_trunc_01.csv results/bixi_hourly results/bixi_delta
java -classpath ".:build/libs/HackReduce-1.0.1.jar:lib/*" controlfreak.vic.Bixi datasets/bixi/bixi_montreal_trunc_01.csv results/bixi_derivative
java -classpath ".:./HackReduce-1.0.1.jar:lib/*" controlfreak.vic.Bixi /mnt/bixidata/montreal/2012.csv results/bixi_hourly results/bixi_delta
java -classpath ".:./HackReduce-1.0.1.jar:lib/*" controlfreak.vic.Bixi /mnt/bixidata/montreal/2012.csv results/bixi_derivative
scp -i ~/.ssh/hackreduce.pem build/libs/HackReduce-1.0.1.jar hadoop@cluster-3.hackreduce.org:~/users/controlfreak
ssh -i ~/.ssh/hackreduce.pem hadoop@cluster-3.hackreduce.org
hadoop/bin/hadoop jar ~/users/controlfreak/HackReduce-1.0.1.jar controlfreak.vic.Bixi /datasets/bixidata/montreal/2012.csv /users/controlfreak/job/
hadoop/bin/hadoop dfs -copyToLocal /users/controlfreak/job /mnt/users/controlfreak/results/
name <- function(day)
if (day <= 31)
return "Jan " + day
if (day <= 60)
return "Feb " + (day - 31)
if (day <= 91)
return "Mar " + (day - 60)
if (day <= 121)
return "Apr " + (day - 91)
pierluc.caronstpierre@gmail.com