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

HBase over rides the value of HBASE_OPTS (if any) set by client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • Operability
    • None
    • Reviewed

    Description

      Currently HBase will over ride the value of HBASE_OPTS (if any) set by user

      export HBASE_OPTS="-XX:+UseConcMarkSweepGC" 

      See hbase-env.sh

       

      But, a user may have the following set in his environment:

      HBASE_OPTS="-Xmn512m"

      While starting the processes, HBase will internally over-ride the existing HBASE_OPTS value with the one set in hbase-env.sh

       

      Instead of over-riding we can have the following in hbase-env.sh:

      export HBASE_OPTS="$HBASE_OPTS -XX:+UseConcMarkSweepGC"

       

      Attachments

        1. HBASE-20394.master.001.patch
          0.9 kB
          Nihal Jain

        Activity

          People

            nihaljain.cs Nihal Jain
            nihaljain.cs Nihal Jain
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: