You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2023/02/28 13:39:29 UTC

[hbase] branch branch-2.5 updated: HBASE-27655 Remove the empty path annotation from ClusterMetricsResource

This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new 16b9bb85579 HBASE-27655 Remove the empty path annotation from ClusterMetricsResource
16b9bb85579 is described below

commit 16b9bb85579e81e9174d08fc3575de8a6f67d2c7
Author: okumin <gi...@okumin.com>
AuthorDate: Mon Feb 27 19:13:54 2023 +0900

    HBASE-27655 Remove the empty path annotation from ClusterMetricsResource
    
    Signed-off-by: Nick Dimiduk <nd...@apache.org>
---
 .../http/api_v1/cluster_metrics/resource/ClusterMetricsResource.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/api_v1/cluster_metrics/resource/ClusterMetricsResource.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/api_v1/cluster_metrics/resource/ClusterMetricsResource.java
index cb5635a6e85..4b4644fc95b 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/api_v1/cluster_metrics/resource/ClusterMetricsResource.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/api_v1/cluster_metrics/resource/ClusterMetricsResource.java
@@ -63,7 +63,6 @@ public class ClusterMetricsResource {
   }
 
   @GET
-  @Path("/")
   public ClusterMetrics getBaseMetrics() throws IOException {
     final EnumSet<Option> fields =
       EnumSet.of(Option.HBASE_VERSION, Option.CLUSTER_ID, Option.MASTER, Option.BACKUP_MASTERS);