hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16385) Have hbase-rest pull hbase.rest.port from Constants.java
Date Wed, 10 Aug 2016 17:33:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415636#comment-15415636

Yi Liang commented on HBASE-16385:

Hi [~dimaspivak],
   From [HBASE-3272|https://issues.apache.org/jira/browse/HBASE-3272], you can take a look
at  the patch, the code used to get {{hbase.rest.port}} from Constant.java, but it have changed
to hardcoded,  do you think we need to remove the {{DEFAULT_LISTEN_PORT}} in constant.java
which no longer use, or change it back ?

> Have hbase-rest pull hbase.rest.port from Constants.java
> --------------------------------------------------------
>                 Key: HBASE-16385
>                 URL: https://issues.apache.org/jira/browse/HBASE-16385
>             Project: HBase
>          Issue Type: Improvement
>          Components: REST
>            Reporter: Dima Spivak
>            Priority: Minor
>              Labels: beginner
> [A while back|https://issues.apache.org/jira/browse/HBASE-3272], we [hardcoded|https://github.com/apache/hbase/blob/master/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java#L266]
the {{hbase.rest.port}} instead of getting it from [Constants.java|https://github.com/apache/hbase/blob/master/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Constants.java#L36].
We should fix that.

This message was sent by Atlassian JIRA

View raw message