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/27 10:14:07 UTC

[hbase] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/hbase.git


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

commit 10037df0355c76650e935d903f21a1454d38b5dd
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 aedc6e6f51e..8ea1e0b2dcc 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
@@ -61,7 +61,6 @@ public class ClusterMetricsResource {
   }
 
   @GET
-  @Path("/")
   public ClusterMetrics getBaseMetrics() throws ExecutionException, InterruptedException {
     final EnumSet<Option> fields =
       EnumSet.of(Option.HBASE_VERSION, Option.CLUSTER_ID, Option.MASTER, Option.BACKUP_MASTERS);