[ https://issues.apache.org/jira/browse/HIVE-22490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ádám Szita updated HIVE-22490: ------------------------------ Attachment: HIVE-22490.2.patch > 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-22490.2.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)