You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2022/03/15 12:59:00 UTC
[jira] [Comment Edited] (HBASE-26847) Move ConnectionImplementation public configs to HConstants
[ https://issues.apache.org/jira/browse/HBASE-26847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506895#comment-17506895 ]
Bryan Beaudreault edited comment on HBASE-26847 at 3/15/22, 12:58 PM:
----------------------------------------------------------------------
As a user it's an uphill battle trying to keep track of the hundreds of hbase configs that one might need or want to tweak. To me it makes little sense to expose a config (whose intent is to make something tunable) and then burry it in a private class. I'm happy to put them elsewhere other than HConstants, but is there some sort of compromise we can come to to make the constants accessible?
was (Author: bbeaudreault):
As a user it's an uphill battle trying to keep track of the hundreds or thousands of hbase configs that one might need or want to tweak. To me it makes little sense to expose a config (whose intent is to make something tunable) and then burry it in a private class. I'm happy to put them elsewhere other than HConstants, but is there some sort of compromise we can come to to make the constants accessible?
> Move ConnectionImplementation public configs to HConstants
> ----------------------------------------------------------
>
> Key: HBASE-26847
> URL: https://issues.apache.org/jira/browse/HBASE-26847
> Project: HBase
> Issue Type: Improvement
> Reporter: Bryan Beaudreault
> Assignee: Bryan Beaudreault
> Priority: Minor
>
> ConnectionImplementation has a few public static config constants, but the class itself is package-private so users cannot access them. Moving them to HConstants will make it easier for users to change these settings:
> {code:java}
> hbase.client.retries.by.server
> hbase.resolve.hostnames.on.failure {code}
> Note: AsyncConnectionImpl also separately defines the second config, so we can unify them both in HConstants.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)