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

setEnv is not portable, which fails TestCliDriverMethods#testprocessInitFiles on Windows

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • None
    • None
    • Windows

    Description

      repro:

      mvn test -Phadoop-2 -Dtest=TestCliDriverMethods#testprocessInitFiles
      

      setEnv tries to do JVM wide system variables changes, previous approach is not portable.

      Attachments

        1. HIVE-8737.3.patch
          2 kB
          Xiaobing Zhou
        2. HIVE-8737.2.patch
          2 kB
          Xiaobing Zhou
        3. HIVE-8737.1.patch
          2 kB
          Xiaobing Zhou

        Activity

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

          People

            xiaobingo Xiaobing Zhou Assign to me
            xiaobingo Xiaobing Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment