Skip to content

Commit

Permalink
HBASE-23042 Parameters are incorrect in procedures jsp (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
mymeiyi authored Oct 21, 2019
1 parent 4d41402 commit da9a53e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -91,7 +90,7 @@
<td><%= new Date(proc.getSubmittedTime()) %></td>
<td><%= new Date(proc.getLastUpdate()) %></td>
<td><%= escapeXml(proc.isFailed() ? proc.getException().unwrapRemoteIOException().getMessage() : "") %></td>
<td><%= escapeXml(ProcedureDescriber.describeParameters(proc)) %></td>
<td><%= escapeXml(proc.toString()) %></td>
</tr>
<% } %>
</table>
Expand Down Expand Up @@ -214,7 +213,7 @@
case EXCLUSIVE:
%>
<p>Lock type: EXCLUSIVE</p>
<p>Owner procedure: <%= escapeXml(ProcedureDescriber.describe(lockedResource.getExclusiveLockOwnerProcedure())) %></p>
<p>Owner procedure: <%= escapeXml(lockedResource.getExclusiveLockOwnerProcedure().toStringDetails()) %></p>
<%
break;
case SHARED:
Expand All @@ -233,7 +232,7 @@
<table class="table table-striped" width="90%" >
<% for (Procedure<?> proc : procedures) { %>
<tr>
<td><%= escapeXml(ProcedureDescriber.describe(proc)) %></td>
<td><%= escapeXml(proc.toStringDetails()) %></td>
</tr>
<% } %>
</table>
Expand Down

0 comments on commit da9a53e

Please sign in to comment.