Ankit Raj Boudh created HIVE-22682:
--------------------------------------

             Summary: 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


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)

Reply via email to