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

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

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: