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

Allow custom opts for hbck in hbase bin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0, 3.0.0-alpha-2, 2.4.6
    • None
    • None
    • Reviewed
    • Adds HBASE_HBCK_OPTS environment variable to bin/hbase for passing extra options to hbck/hbck2. Defaults to HBASE_SERVER_JAAS_OPTS if specified, or HBASE_REGIONSERVER_OPTS.

    Description

      https://issues.apache.org/jira/browse/HBASE-15145 made it so that when you execute hbase hbck, the regionserver or JAAS opts are added automatically to the command line. This is problematic in some cases depending on what regionserver opts have been set. For instance, one might configure a jmx port for the regionserver but then hbck will fail due to a port conflict if run on the same host as a regionserver. Another example would be that a regionserver might define an -Xms value which is significantly more than hbck requires.

       

      We should make it possible for users to define their own HBASE_HBCK_OPTS which take precedence over the server opts added by default.

      Attachments

        Activity

          People

            bbeaudreault Bryan Beaudreault
            bbeaudreault Bryan Beaudreault
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: