spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan ZikeŇ° <>
Subject spark spark-ec2 credentials using aws_security_token
Date Mon, 27 Jul 2015 08:21:13 GMT
I would like to ask if it is currently possible to use spark-ec2 script
together with credentials that are consisting not only from:
aws_access_key_id and aws_secret_access_key, but it also contains
When I try to run the script I am getting following error message:
ERROR:boto:Caught exception reading instance data
Traceback (most recent call last):
  File "/Users/zikes/opensource/spark/ec2/lib/boto-2.34.0/boto/",
line 210, in retry_url
    r =, timeout=timeout)
line 404, in open
    response = self._open(req, data)
line 422, in _open
    '_open', req)
line 382, in _call_chain
    result = func(*args)
line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
line 1184, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 64] Host is down>
ERROR:boto:Unable to read instance data, giving up
No handler was ready to authenticate. 1 handlers were checked.
['QuerySignatureV2AuthHandler'] Check your credentials
Does anyone has some idea what can be possibly wrong? Is aws_security_token
the problem?
I know that it seems more like a boto problem, but still I would like to ask
if anybody has some experience with this?
My launch command is:
./spark-ec2 -k my_key -i my_key.pem --additional-tags
"mytag:tag1,mytag2:tag2" --instance-profile-name "profile1" -s 1 launch test
Thank you in advance for any help.
Best regards,
I have also asked at
without any success.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message