-
Notifications
You must be signed in to change notification settings - Fork 1
/
trafficAnalysisCommands.txt
86 lines (44 loc) · 2.93 KB
/
trafficAnalysisCommands.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
## Storing all the traffic data
pig pigScriptMultiStorage.pig
## DayAnalysis
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.DayAnalysis.SegmentRunner /tmp/ChicagoData_Result/Segments/ /tmp/Segments_ChicagoData_Congestions
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.DayAnalysis.RegionRunner /tmp/ChicagoData_Result/Region/ /tmp/Region_ChicagoData_Congestions
## Billboard data and day analysis data joined
pig RegionFlowAnalysisJoining.pig
pig SegmentFlowAnalysisJoining.pig
## Grouping Runner
## Segments
## Original Runner
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysis.SegmentFlowAnalysis /tmp/JoinedTrafficBillBoard/Segments/ /tmp/Segment_Flow_Analysis/Default
## Segment All
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.SegmentFlowAnalysisGrouping all /tmp/JoinedTrafficBillBoard/Segments/ /tmp/Segment_Flow_Analysis/All/
## Segment Year
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.SegmentFlowAnalysisGrouping year /tmp/JoinedTrafficBillBoard/Segments/ /tmp/Segment_Flow_Analysis/Year/
## Segment Month
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.SegmentFlowAnalysisGrouping month /tmp/JoinedTrafficBillBoard/Segments/ /tmp/Segment_Flow_Analysis/Month/
## Segment Week
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.SegmentFlowAnalysisGrouping week /tmp/JoinedTrafficBillBoard/Segments/ /tmp/Segment_Flow_Analysis/Week/
## Regions
## Original Runner
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysis.RegionFlowAnalysis /tmp/JoinedTrafficBillBoard/Regions/ /tmp/Region_Flow_Analysis/Default
## Region All
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.RegionFlowAnalysisGrouping all /tmp/JoinedTrafficBillBoard/Regions/ /tmp/Region_Flow_Analysis/All/
## Region Year
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.RegionFlowAnalysisGrouping year /tmp/JoinedTrafficBillBoard/Regions/ /tmp/Region_Flow_Analysis/Year/
## Region Month
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.RegionFlowAnalysisGrouping month /tmp/JoinedTrafficBillBoard/Regions/ /tmp/Region_Flow_Analysis/Month/
## Region Week
yarn jar TrafficAnalysis-0.0.1-SNAPSHOT.jar edu.rosehulman.gateslm.FlowAnalysisGrouping.RegionFlowAnalysisGrouping week /tmp/JoinedTrafficBillBoard/Regions/ /tmp/Region_Flow_Analysis/Week/
# Might need to run this manually
## Makes Region Hive Tables
hive regionHiveTablesFromResults.txt
## Makes Segment Hive Tables
hive segmeHiveTablesFromResults.txt
# Get the Max Results
## Region Max Result
hive RegionMaxHive.txt
## Segment Max Result
hive SegmentMaxHive.txt
## Get Final Results
hive Hive_Region_Final_Results.txt
hive Hive_Segment_Final_Results.txt