Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
1.4.1
-
None
-
None
-
Ubuntu 13.10
Description
I try to build spark by using the command ./build/sbt
I get the following error -
Attempting to fetch sbt
Launching sbt from build/sbt-launch-0.13.7.jar
Error: Invalid or corrupt jarfile build/sbt-launch-0.13.7.jar
I debugged and found out that URL1 repo is outdated. So it's giving 404. The problem I found with the curl script is that it didn't tried the URL2
Also the ULR2 is now being redirected. So the curl command should have -L option to follow redirect.
To fix:
1. curl should try URL2 if URL1 is not working
2. use -L option in curl to follow rediect
Attachments
Issue Links
- duplicates
-
SPARK-9254 sbt-launch-lib.bash should use `curl --location` to support HTTP/HTTPS redirection
- Resolved
- is duplicated by
-
SPARK-9684 sbt/sbt assembly Error: Invalid or corrupt jarfile sbt/sbt-launch-0.13.6.jar
- Resolved