Lates tunin of cluster usage summary. master
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 7 Jan 2016 15:37:12 +0000 (16:37 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 7 Jan 2016 15:37:12 +0000 (16:37 +0100)
nodes-sum.dem

index 0ef925e..40894d9 100755 (executable)
@@ -1,6 +1,6 @@
 #! /usr/bin/gnuplot -p
 
-set title "Hadoop: Map/Reduce Tasks Summary" font ',16'
+set title "Hadoop: Map/Reduce Tasks Cluster Usage (max 384)" font ',12'
 set xdata time
 set timefmt "%Y-%m-%d %H:%M:%S"
 set format x "%Y-%m-%d"
@@ -8,6 +8,9 @@ set format x "%Y-%m-%d"
 set yrange [0:384]
 set xtics rotate by -20
 
-#plot for [i=3:4] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) with lines title 'jobs (max 384)'
+# map/reduce, without filling
+#plot for [i=3:4] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) with lines title column(i)
 
-plot for [i=3:4] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) with lines title column(i)
+# map/reduce separately
+plot 'nodes.dat' using 1:(column(4)) with filledcurves x1 title column(3), \
+              '' using 1:4:(column(4)+column(5)) with filledcurves below closed title column(4)