aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorTom Graves <tgraves@yahoo-inc.com>2015-10-09 14:06:25 -0700
committerMarcelo Vanzin <vanzin@cloudera.com>2015-10-09 14:06:25 -0700
commit63c340a710b24869410d56602b712fbfe443e6f0 (patch)
treec5ba32f8f446dfdaab4ba325f2da688b90ec4e64 /R
parent12b7191d2075ae870c73529de450cbb5725872ec (diff)
downloadspark-63c340a710b24869410d56602b712fbfe443e6f0.tar.gz
spark-63c340a710b24869410d56602b712fbfe443e6f0.tar.bz2
spark-63c340a710b24869410d56602b712fbfe443e6f0.zip
[SPARK-10858] YARN: archives/jar/files rename with # doesn't work unl
https://issues.apache.org/jira/browse/SPARK-10858 The issue here is that in resolveURI we default to calling new File(path).getAbsoluteFile().toURI(). But if the path passed in already has a # in it then File(path) will think that is supposed to be part of the actual file path and not a fragment so it changes # to %23. Then when we try to parse that later in Client as a URI it doesn't recognize there is a fragment. so to fix we just check if there is a fragment, still create the File like we did before and then add the fragment back on. Author: Tom Graves <tgraves@yahoo-inc.com> Closes #9035 from tgravescs/SPARK-10858.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions