From 2ba3fd57a66d20b565c72fe68f35d8c87d94feec Mon Sep 17 00:00:00 2001 From: meiyi Date: Mon, 21 Oct 2019 10:09:05 +0800 Subject: [PATCH] HBASE-23042 Parameters are incorrect in procedures jsp (#728) --- .../src/main/resources/hbase-webapps/master/procedures.jsp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hbase-server/src/main/resources/hbase-webapps/master/procedures.jsp b/hbase-server/src/main/resources/hbase-webapps/master/procedures.jsp index c4adcd349081..de3c7a25047c 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/procedures.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/procedures.jsp @@ -27,7 +27,6 @@ import="java.util.Set" import="org.apache.hadoop.hbase.master.HMaster" import="org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv" - import="org.apache.hadoop.hbase.master.procedure.ProcedureDescriber" import="org.apache.hadoop.hbase.procedure2.LockedResource" import="org.apache.hadoop.hbase.procedure2.Procedure" import="org.apache.hadoop.hbase.procedure2.ProcedureExecutor" @@ -91,7 +90,7 @@ <%= new Date(proc.getSubmittedTime()) %> <%= new Date(proc.getLastUpdate()) %> <%= escapeXml(proc.isFailed() ? proc.getException().unwrapRemoteIOException().getMessage() : "") %> - <%= escapeXml(ProcedureDescriber.describeParameters(proc)) %> + <%= escapeXml(proc.toString()) %> <% } %> @@ -214,7 +213,7 @@ case EXCLUSIVE: %>

Lock type: EXCLUSIVE

-

Owner procedure: <%= escapeXml(ProcedureDescriber.describe(lockedResource.getExclusiveLockOwnerProcedure())) %>

+

Owner procedure: <%= escapeXml(lockedResource.getExclusiveLockOwnerProcedure().toStringDetails()) %>

<% break; case SHARED: @@ -233,7 +232,7 @@ <% for (Procedure proc : procedures) { %> - + <% } %>
<%= escapeXml(ProcedureDescriber.describe(proc)) %><%= escapeXml(proc.toStringDetails()) %>