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 BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      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.1.patch
          2 kB
          Xiaobing Zhou
        2. HIVE-8737.2.patch
          2 kB
          Xiaobing Zhou
        3. HIVE-8737.3.patch
          2 kB
          Xiaobing Zhou

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              xiaobingo Xiaobing Zhou Assign to me
              Reporter:
              xiaobingo Xiaobing Zhou

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment