-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-8821] [EC2] Switched to binary mode for file reading #7215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch? |
|
Could you open a JIRA for this ? See https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark for more details cc @nchammas |
|
Looks too trivial to jump through the hoops of JIRA. |
|
I think the motivations for JIRA tickets are:
|
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.
|
LGTM |
|
Could you add |
|
Jenkins, this is ok to test. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #36590 has started for PR 7215 at commit |
|
Test build #36590 has finished for PR 7215 at commit
|
|
Merged build finished. Test FAILed. |
|
Jenkins, retest this please. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #36601 has started for PR 7215 at commit |
|
Test build #36601 has finished for PR 7215 at commit
|
|
Merged build finished. Test FAILed. |
|
There doesn't even seem to be any reference to ec2 in the test output. |
|
Jenkins, retest this please |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #36617 has started for PR 7215 at commit |
|
Test build #36617 has finished for PR 7215 at commit
|
|
Merged build finished. Test FAILed. |
|
Yeah it's not related. You can see the failure is related to SQL. I don't think |
|
Yeah EC2 is not tested by jenkins -- Merging this |
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.
Author: Simon Hafner <[email protected]>
Closes #7215 from reactormonk/branch-1.4 and squashes the following commits:
e86957a [Simon Hafner] [SPARK-8821] [EC2] Switched to binary mode
Otherwise the script will crash with
In case of an utf8 env setting.