aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorinvkrh <invkrh@gmail.com>2016-10-14 12:52:08 +0100
committerSean Owen <sowen@cloudera.com>2016-10-14 12:52:08 +0100
commit28b645b1e643ae0f6c56cbe5a92356623306717f (patch)
treef2cec5f7f3754e7937cf5e4b4649e0025d358710 /sql
parentc8b612decba28e51789891f7881b6d4ebc50e2bb (diff)
downloadspark-28b645b1e643ae0f6c56cbe5a92356623306717f.tar.gz
spark-28b645b1e643ae0f6c56cbe5a92356623306717f.tar.bz2
spark-28b645b1e643ae0f6c56cbe5a92356623306717f.zip
[SPARK-17855][CORE] Remove query string from jar url
## What changes were proposed in this pull request? Spark-submit support jar url with http protocol. However, if the url contains any query strings, `worker.DriverRunner.downloadUserJar()` method will throw "Did not see expected jar" exception. This is because this method checks the existance of a downloaded jar whose name contains query strings. This is a problem when your jar is located on some web service which requires some additional information to retrieve the file. This pr just removes query strings before checking jar existance on worker. ## How was this patch tested? For now, you can only test this patch by manual test. * Deploy a spark cluster locally * Make sure apache httpd service is on * Save an uber jar, e.g spark-job.jar under `/var/www/html/` * Use http://localhost/spark-job.jar?param=1 as jar url when running `spark-submit` * Job should be launched Author: invkrh <invkrh@gmail.com> Closes #15420 from invkrh/spark-17855.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions