Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13120

Allow disabling hadoop classpath and native library lookup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0
    • 1.0.1, 1.1.0, 0.98.12, 2.0.0
    • hadoop2, scripts
    • None

    Description

      • Current bin/hbase script sets the java.library.path to include hadoop native libs based on what version of hadoop is installed on the box.
        HADOOP_IN_PATH=$(PATH="${HADOOP_HOME:-${HADOOP_PREFIX}}/bin:$PATH" which hadoop 2>/dev/null)
        
      • This effectively means that a self-contained HBase running with a different version of embedded hadoop jars will fail to work in case of version incompatibilities.
      • Example: AMBARI-5707, runs a embedded HBase on local FS side-by-side with cluster Hadoop installation.
      • It would be good to have a hbase-env variable to completely override native lib path or a config to disable native lib path lookup, in which case user has to provide it during start.

      Attachments

        1. HBASE-13120.patch
          2 kB
          Siddharth Wagle
        2. HBASE-13120-1.patch
          2 kB
          Siddharth Wagle

        Activity

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: