public synchronized static void stop() {
    if (INSTANCE != null) {
      INSTANCE.shutdown();
      INSTANCE = null;
    }
  }
@param conf         Existing configuration to use in rest servlet
@param userProvider the login user provider
@return the RESTServlet singleton instance
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServlet.java