[ 
https://issues.apache.org/jira/browse/HBASE-23994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153152#comment-17153152
 ] 

Zhuoyue Huang commented on HBASE-23994:
---------------------------------------

With this
{code:java}
org/apache/hadoop/hbase/shaded/org/eclipse/jetty/server/HttpConfiguration$Customizer
        at org.apache.hadoop.hbase.http.InfoServer.<init>(InfoServer.java:60)
        at 
org.apache.hadoop.hbase.tool.CanaryTool.putUpWebUI(CanaryTool.java:149)
        at org.apache.hadoop.hbase.tool.CanaryTool.run(CanaryTool.java:983)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
        at org.apache.hadoop.hbase.tool.CanaryTool.main(CanaryTool.java:1959)
{code}
I found 'lib/shaded-clients/hbase-shaded-mapreduce-3.0.0-SNAPSHOT.jar' was 
included in the classpath of java. And it shaded the HttpConfiguration.

 

This is what we expect:
{code:java}
InfoServer->HttpServer->HttpConfiguration{code}
actually when we run 'hbase canary'
{code:java}
InfoServer->HttpServer(shaded)->HttpConfiguration(shaded)
{code}

>  Add WebUI to Canary
> --------------------
>
>                 Key: HBASE-23994
>                 URL: https://issues.apache.org/jira/browse/HBASE-23994
>             Project: HBase
>          Issue Type: Improvement
>          Components: canary, UI, Usability
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Zhuoyue Huang
>            Assignee: Zhuoyue Huang
>            Priority: Trivial
>             Fix For: 3.0.0-alpha-1, 2.3.0
>
>         Attachments: image-2020-03-16-09-12-00-595.png
>
>
> During the running of Canary, the table sniff failure information will be 
> printed through the Log.
> {code:java}
> LOG.error("Read from {} on {}", table, server);
> {code}
>  
> I think we can use WebUI to display these failures to make it easier for us 
> to view this information
>  
> !image-2020-03-16-09-12-00-595.png!
> As shown in the figure above, we can directly see the Table and Regionserver 
> where the error occurred



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to