You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2021/05/10 17:10:00 UTC
[jira] [Commented] (HBASE-25866) RESTServer should implement
Hadoop's Tool interface
[ https://issues.apache.org/jira/browse/HBASE-25866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342020#comment-17342020 ]
Andrew Kyle Purtell commented on HBASE-25866:
---------------------------------------------
bq. The class that provides the main entry point for the REST gateway appears to be entirely hand-constructed. Instead, this should probably use the common Tool support provided by Hadoop, so that it can do things like parse command line configuration parameters.
This was me. I think it done before Hadoop had Tool. Or maybe I just didn't know about it at the time.
> RESTServer should implement Hadoop's Tool interface
> ---------------------------------------------------
>
> Key: HBASE-25866
> URL: https://issues.apache.org/jira/browse/HBASE-25866
> Project: HBase
> Issue Type: Task
> Components: REST
> Reporter: Nick Dimiduk
> Priority: Minor
>
> The class that provides the main entry point for the REST gateway appears to be entirely hand-constructed. Instead, this should probably use the common {{Tool}} support provided by Hadoop, so that it can do things like parse command line configuration parameters. For example, it could extend from {{AbstractHBaseTool}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)