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

Hbase shell does not respect the HBASE_OPTS set by the user in console

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Before starting hbase shell i have set some -D parameters reauired for kerberos authentication in HBASE_OPTS (there is no other variables are used when shell is executed). But while invoking Hbase shell it is not used.

      The code in hbase-env.sh is
      export HBASE_OPTS="-XX:+UseConcMarkSweepGC"

      This will overwrite the the value set in the console

      There can be 2 options to support this
      1. Append the HBASE_OPTS like HBASE_OPTS="$HBASE_OPTS -XX:+UseConcMarkSweepGC".
      2. Have a new variable (HBASE_CLIENT_OPTS) which is can be appended in shell section of "hbase" file

      Attachments

        1. HBASE-12021.patch
          1 kB
          Ashish Singhi

        Activity

          People

            ashish singhi Ashish Singhi
            nijel nijel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: