spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Freeman <>
Subject spark ec2 error
Date Sun, 04 May 2014 21:00:00 GMT
Hi all,

A heads up in case others hit this and are confused…  This nice  addition
<>   causes an error if running the deploy script from a version other than master (e.g. 0.8.0).

The error occurs during launch, here:

Creating local config files...
configuring /etc/ganglia/gmond.conf
Traceback (most recent call last):
  File "./", line 89, in <module>
    text = text.replace("{{" + key + "}}", template_vars[key])
TypeError: expected a character buffer object
Deploying Spark config files...
chmod: cannot access `/root/spark/conf/': No such file or

And then several more errors because of missing variables (though the
cluster itself launches, there are several configuration problems, e.g. with

deploy_templates fails because the new SPARK_MASTER_OPTS and
SPARK_WORKER_INSTANCES don't exist, and earlier versions of
still use deploy_templates from -b
v2, which has the new variables.

Using the updated from master works fine.

-- Jeremy

Jeremy Freeman, PhD

View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message