Fail a performance job when a plugin fails.

Change-Id: I81fd9ec742a9efbdb16466c8ee7387fabe3e16e4
Reviewed-on: http://gerrit.ent.cloudera.com:8080/342
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: Ishaan Joshi <ishaan@cloudera.com>
This commit is contained in:
ishaan
2013-08-27 15:29:21 -07:00
committed by Henry Robinson
parent c9b92d574f
commit 1780084753
3 changed files with 9 additions and 14 deletions

View File

@@ -97,7 +97,7 @@ class ClusterController(object):
LOG.error("No host file specified, running command on localhost")
LOG.error("Error: %s" % e)
def run_cmd(self, cmd, serial):
def run_cmd(self, cmd, serial=False):
"""Run commands locally or remotely.
If in local mode, the command is run locally. When not local,