[
https://issues.apache.org/jira/browse/HBASE-21133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597460#comment-16597460
]
Guangxu Cheng commented on HBASE-21133:
---------------------------------------
Upload the first patch for review.
> '/version' in rest should return hbase rest client version
> ----------------------------------------------------------
>
> Key: HBASE-21133
> URL: https://issues.apache.org/jira/browse/HBASE-21133
> Project: HBase
> Issue Type: Bug
> Components: REST
> Affects Versions: 3.0.0, 2.0.1, 2.2.0
> Reporter: Guangxu Cheng
> Assignee: Guangxu Cheng
> Priority: Major
> Attachments: HBASE-21133.master.001.patch
>
>
> restVersion is a constant, which is meaningless.
> {code:java}
> public VersionModel(ServletContext context) {
> restVersion = RESTServlet.VERSION_STRING;
> {code}
> {code:java}
> String VERSION_STRING = "0.0.3";
> {code}
> the result of '/version'
> {code:json}
> {"Server":"jetty/6.1.26","Jersey":"1.9","REST":"0.0.3","JVM":"Oracle
> Corporation 1.8.0_102-25.102-b14","OS":"Linux
> 2.6.32.57-tlinux-1.1.2-container amd64"}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)