Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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
Issue Links
1.
|
Backport HBASE-26146 to branch-2.4 | Resolved | Bryan Beaudreault |