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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Ankitraj Ankit Raj Boudh Assign to me
            Ankitraj Ankit Raj Boudh

            Dates

              Created:
              Updated:

              Slack

                Issue deployment