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

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

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: