Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21133

'/version' in rest should return hbase rest client version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 2.0.1, 2.2.0
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None

      Description

      restVersion is a constant, which is meaningless.

        public VersionModel(ServletContext context) {
          restVersion = RESTServlet.VERSION_STRING;
      
      String VERSION_STRING = "0.0.3";
      

      the result of '/version'

      {"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"}
      

        Attachments

        1. HBASE-21133.master.001.patch
          4 kB
          Guangxu Cheng

          Activity

            People

            • Assignee:
              gxcheng Guangxu Cheng
              Reporter:
              gxcheng Guangxu Cheng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: