From 65bcf55892efefb72b41fcf6c9974688578b5021 Mon Sep 17 00:00:00 2001 From: Peter Somogyi Date: Sat, 18 Jan 2020 09:33:21 +0100 Subject: [PATCH] HBASE-23653 Expose content of meta table in web ui; addendum (#1061) Fix error prone problem Signed-off-by: Nick Dimiduk Signed-off-by: Viraj Jasani Signed-off-by: stack --- .../java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java index 5b07427599c..65d88c6a362 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/webapp/MetaBrowser.java @@ -361,7 +361,7 @@ public class MetaBrowser { return null; } try { - return T.valueOf(clazz, value); + return Enum.valueOf(clazz, value); } catch (IllegalArgumentException e) { return null; }