You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/06 20:11:05 UTC
[jira] [Assigned] (SPARK-8821) The ec2 script doesn't run on python
3 with an utf8 env
[ https://issues.apache.org/jira/browse/SPARK-8821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-8821:
-----------------------------------
Assignee: Apache Spark
> The ec2 script doesn't run on python 3 with an utf8 env
> -------------------------------------------------------
>
> Key: SPARK-8821
> URL: https://issues.apache.org/jira/browse/SPARK-8821
> Project: Spark
> Issue Type: Bug
> Components: EC2
> Affects Versions: 1.4.0
> Environment: Archlinux, UTF8 LANG env
> Reporter: Simon Hafner
> Assignee: Apache Spark
>
> Otherwise the script will crash with
> - Downloading boto...
> Traceback (most recent call last):
> File "ec2/spark_ec2.py", line 148, in <module>
> setup_external_libs(external_libs)
> File "ec2/spark_ec2.py", line 128, in setup_external_libs
> if hashlib.md5(tar.read()).hexdigest() != lib["md5"]:
> File "/usr/lib/python3.4/codecs.py", line 319, in decode
> (result, consumed) = self._buffer_decode(data, self.errors, final)
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
> In case of an utf8 env setting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org