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

hadoop-config.cmd doesn't set JAVA_LIBRARY_PATH correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows

    • Hadoop Flags:
      Reviewed

      Description

      In Windows, hadoop-config.cmd uses the non-existent-variable HADOOP_CORE_HOME when setting the JAVA_LIBRAR_PATH variable. It should use HADOOP_HOME or HADOOP_COMMON_HOME.
      The net effect is that running e.g. "hdfs namenode" directly (outside of hadoop command prompt) would error out with UnsatisfiedLinkError because it can't access hadoop.dll.

        Attachments

        1. HADOOP-9599.patch
          0.9 kB
          Mostafa Elhemali
        2. HADOOP-9599.2.patch
          1.0 kB
          Mostafa Elhemali
        3. HADOOP-9599.3.patch
          1 kB
          Mostafa Elhemali

          Issue Links

            Activity

              People

              • Assignee:
                mostafae Mostafa Elhemali
                Reporter:
                mostafae Mostafa Elhemali
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: