HBASE-23578 [UI] Master UI shows long stack traces when table is broken (#3014)
Co-authored-by: Shuhei Yamasaki <yamasakisua@oss.nttdata.com> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
dd4a11e421
commit
9b0485fb98
|
@ -1089,9 +1089,18 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<% }
|
<% }
|
||||||
} catch(Exception ex) {
|
} catch(Exception ex) { %>
|
||||||
|
Unknown Issue with Regions
|
||||||
|
<div onclick="document.getElementById('closeStackTrace').style.display='block';document.getElementById('openStackTrace').style.display='none';">
|
||||||
|
<a id="openStackTrace" style="cursor:pointer;"> Show StackTrace</a>
|
||||||
|
</div>
|
||||||
|
<div id="closeStackTrace" style="display:none;clear:both;">
|
||||||
|
<div onclick="document.getElementById('closeStackTrace').style.display='none';document.getElementById('openStackTrace').style.display='block';">
|
||||||
|
<a style="cursor:pointer;"> Close StackTrace</a>
|
||||||
|
</div>
|
||||||
|
<%
|
||||||
for(StackTraceElement element : ex.getStackTrace()) {
|
for(StackTraceElement element : ex.getStackTrace()) {
|
||||||
%><%= StringEscapeUtils.escapeHtml4(element.toString()) %><%
|
%><%= StringEscapeUtils.escapeHtml4(element.toString() + "\n") %><%
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // end else
|
} // end else
|
||||||
|
|
Loading…
Reference in New Issue