You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bb...@apache.org on 2022/12/15 17:03:55 UTC

[hbase] 15/91: HubSpot Addendum HBASE-25685: Default to HTML, like in hbase-2.5+

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

bbeaudreault pushed a commit to branch hubspot-2
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 4ce7c040e9d7ba857241400aa6eab3490c14def7
Author: Bryan Beaudreault <bb...@hubspot.com>
AuthorDate: Tue Jan 4 08:49:02 2022 -0500

    HubSpot Addendum HBASE-25685: Default to HTML, like in hbase-2.5+
---
 .../src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
index 8a3ef7a913c..9662ba5be35 100644
--- a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
+++ b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileServlet.java
@@ -358,10 +358,10 @@ public class ProfileServlet extends HttpServlet {
       try {
         return Output.valueOf(outputArg.trim().toUpperCase());
       } catch (IllegalArgumentException e) {
-        return Output.SVG;
+        return Output.HTML;
       }
     }
-    return Output.SVG;
+    return Output.HTML;
   }
 
   static void setResponseHeader(final HttpServletResponse response) {