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

hadoop-config.cmd doesn't set JAVA_LIBRARY_PATH correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • None
    • None
    • Windows

    • 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.2.patch
          1.0 kB
          Mostafa Elhemali
        2. HADOOP-9599.3.patch
          1 kB
          Mostafa Elhemali
        3. HADOOP-9599.patch
          0.9 kB
          Mostafa Elhemali

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: