Guangxu Cheng created HBASE-21133:
-------------------------------------

             Summary: '/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: 2.0.1, 3.0.0, 2.2.0
            Reporter: Guangxu Cheng
            Assignee: Guangxu Cheng


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)

Reply via email to