You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2019/11/29 15:27:00 UTC
[jira] [Comment Edited] (HIVE-22490) Adding jars with special
characters in their path throws error
[ https://issues.apache.org/jira/browse/HIVE-22490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985078#comment-16985078 ]
Peter Vary edited comment on HIVE-22490 at 11/29/19 3:26 PM:
-------------------------------------------------------------
+1 pending tests
was (Author: pvary):
+1
> Adding jars with special characters in their path throws error
> --------------------------------------------------------------
>
> Key: HIVE-22490
> URL: https://issues.apache.org/jira/browse/HIVE-22490
> Project: Hive
> Issue Type: Bug
> Reporter: Ádám Szita
> Assignee: Ádám Szita
> Priority: Major
> Attachments: HIVE-22490.0.patch, HIVE-22490.1.patch
>
>
> HIVE-9664 introduced a change that uses URIs in SessionState to handle adding jars or other dependencies in a Hive session, but neglects to handle URIs as actual URIs, i.e. calling toString() on them.
> This resulted in a regression as a path such as /tmp/blabla-[special].jar was working before HIVE-9664 and now it's throwing a URISyntaxException error.
> I think it's fair to make the users provide an URL which is encoded ({{blabla-%5Bspecial%5D.jar)}}, but then the issue of the current implementation will be the inability to find the file on FS, because Hive will look for it in {{blabla-%5Bspecial%5D.jar}} format, instead of blabla-[special].jar.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)