Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12467

Respect user-defined JAVA_LIBRARY_PATH in Windows Hadoop scripts

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Currently, on Windows the hadoop wrapper script (hadoop-config.cmd) assumes its the only place that uses JAVA_LIBRARY_PATH and initializes it to a blank line.

      set JAVA_LIBRARY_PATH=

      This prevents anyone from setting this outside of the hadoop wrapper (say hadoop-config.cmd) for their own native libraries.

      The fix is pretty simple. Don't initialize it to '' and append the native libs like normal.

      This is the same fix that was done for *nix as part of HADOOP-6453.

      Attachments

        1. HADOOP-12467-v3.patch
          1 kB
          Radhey Shah
        2. HADOOP-12467-v2.patch
          0.7 kB
          Radhey Shah

        Issue Links

          Activity

            People

              radhey Radhey Shah
              radhey Radhey Shah
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: