Commit b122829 1 parent ef16edc commit b122829 Copy full SHA for b122829
File tree 3 files changed +41
-2
lines changed
3 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 8
8
"use_home_for_ice": true,
9
9
10
10
"h2o_per_host": 1,
11
- "java_heap_GB": 133 ,
11
+ "java_heap_GB": 150 ,
12
12
13
13
"hdfs_name_node": "192.168.1.176",
14
14
"hdfs_version": "cdh3",
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ function doAlgo {
37
37
fi
38
38
zip -r ${archive} /${h2oBuild} -${DATE} -$1 sandbox/
39
39
wait
40
- rm -rf sandbox/
40
+ rm -rf sandbox/
41
+ bash startloggers.sh ${JSON} ice $1
41
42
}
42
43
43
44
function debug {
Original file line number Diff line number Diff line change @@ -55,6 +55,34 @@ function clearCaches {
55
55
done
56
56
}
57
57
58
+ function gatherLogs {
59
+ for i in ${MACHINES[@]}
60
+ do
61
+ echo " Gather logs from machine $i "
62
+ mach=` echo $i | awk -F. ' {print $4}' `
63
+ if [ ! -d machine_${mach} _logs ]
64
+ then
65
+ mkdir machine_${mach} _logs
66
+ fi
67
+ scp -r spencer@$i :~ /h2o/bench/BMLogs/ machine_${mach} _logs
68
+ done
69
+ }
70
+
71
+ function gatherICE {
72
+ phase=$1
73
+ for i in ${MACHINES[@]}
74
+ do
75
+ echo " Gather ICE from machine $i "
76
+ mach=` echo $i | awk -F. ' {print $4}' `
77
+ ssh 0xdiag@$i zip -r ice_${phase} _${mach} ice.55555* /h2ologs
78
+ if [ ! -d ICES ]
79
+ then
80
+ mkdir ICES
81
+ fi
82
+ scp 0xdiag@$i :~ /ice_${phase} _${mach} .zip ICES/
83
+ done
84
+ }
85
+
58
86
if [ $2 = " big" ]
59
87
then
60
88
startBigLoggers > /dev/null
@@ -79,3 +107,13 @@ if [ $2 = "clear_" ]
79
107
then
80
108
clearCaches
81
109
fi
110
+
111
+ if [ $2 = " gather" ]
112
+ then
113
+ gatherLogs > /dev/null
114
+ fi
115
+
116
+ if [ $2 = " ice" ]
117
+ then
118
+ gatherICE $3
119
+ fi
You can’t perform that action at this time.
0 commit comments