[
https://issues.apache.org/jira/browse/HIVE-22682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005277#comment-17005277
]
Ankit Raj Boudh commented on HIVE-22682:
----------------------------------------
i will raise PR for this.
> Add Jar command should support space in file path and in file name.
> -------------------------------------------------------------------
>
> Key: HIVE-22682
> URL: https://issues.apache.org/jira/browse/HIVE-22682
> Project: Hive
> Issue Type: Bug
> Components: Clients
> Affects Versions: 1.2.1
> Reporter: Ankit Raj Boudh
> Assignee: Ankit Raj Boudh
> Priority: Major
> Attachments: Screenshot 2019-12-30 at 5.28.05 PM.png
>
>
> during add jar operation if file path contain space in folder name or file
> name contain space.
> then java.lang.illegalargumentexception will come from
> SessionState.validateFiles
>
> Please check this : AddResourceProcessor.run , here command getting splited
> based on space, i feel this login is not correct.
>
> Example: add jar "/User/ankitrajboudh/test dir/ankitraj test.jar" - this
> command i have run from ./spark-sql , which will use internally hive code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)