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

Minor improvements for usage of the mlock agent

    XMLWordPrintableJSON

    Details

      Description

      1. MLOCK_AGENT points to the wrong path in hbase-config.sh

      When the mlock agent is build, the binary is installed under $HBASE_HOME/lib/native and not under $HBASE_HOME/native

      2. By default we pass $HBASE_REGIONSERVER_UID to the agent options which causes the mlock agent to attempt to do a setuid in order to mlock the memory of the RS process. We should only pass that user if specified in the environment, not by default. (the agent currently handles that gracefully)

        Attachments

        1. HBASE-14354.v1.patch
          2 kB
          Esteban Gutierrez
        2. 0001-HBASE-14354-Minor-improvements-for-usage-of-the-mloc.patch
          2 kB
          Esteban Gutierrez

          Activity

            People

            • Assignee:
              esteban Esteban Gutierrez
              Reporter:
              esteban Esteban Gutierrez
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: