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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-1, 2.0.1, 2.2.0
    • None
    • REST
    • 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

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

            Dates

              Created:
              Updated: