Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22682

Add Jar command should support space in file path and in file name.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • Clients
    • None

    Description

      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.

      Attachments

        Activity

          People

            Ankitraj Ankit Raj Boudh
            Ankitraj Ankit Raj Boudh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: