You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhuoyue Huang (Jira)" <ji...@apache.org> on 2020/08/12 01:44:00 UTC

[jira] [Commented] (HBASE-24857) Fix several problems when starting webUI

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

Zhuoyue Huang commented on HBASE-24857:
---------------------------------------

After fixing, the log looks like this
{code:java}
$ ./hbase canary -Dhbase.canary.info.port=60010 -daemon
2020-08-12 09:27:22,640 INFO  [main] tool.Canary: Execution thread count=16
2020-08-12 09:27:22,670 INFO  [main] util.log: Logging initialized @312ms
2020-08-12 09:27:22,738 INFO  [main] http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter)
2020-08-12 09:27:22,738 INFO  [main] http.HttpServer: Added global filter 'clickjackingprevention' (class=org.apache.hadoop.hbase.http.ClickjackingPreventionFilter)
2020-08-12 09:27:22,738 INFO  [main] http.HttpServer: Added global filter 'securityheaders' (class=org.apache.hadoop.hbase.http.SecurityHeadersFilter)
2020-08-12 09:27:22,741 INFO  [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context canary
2020-08-12 09:27:22,741 INFO  [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context static
2020-08-12 09:27:22,741 INFO  [main] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs
2020-08-12 09:27:22,747 INFO  [main] http.HttpServer: ASYNC_PROFILER_HOME environment variable and async.profiler.home system property not specified. Disabling /prof endpoint.
2020-08-12 09:27:22,766 INFO  [main] http.HttpServer: Jetty bound to port 60010
2020-08-12 09:27:22,767 INFO  [main] server.Server: jetty-9.3.28.v20191105, build timestamp: 2019-11-06T02:00:51+08:00, git hash: d7dd68d6e9d8ff06a0130e46886c2db5d70784c1
2020-08-12 09:27:22,792 INFO  [main] http.SecurityHeadersFilter: Added security headers filter
2020-08-12 09:27:22,795 INFO  [main] handler.ContextHandler: Started o.e.j.s.ServletContextHandler@517cd4b{/logs,file:///home/georry/Runtime/hbase-3.0.0-SNAPSHOT-Master/logs/,AVAILABLE}
2020-08-12 09:27:22,796 INFO  [main] http.SecurityHeadersFilter: Added security headers filter
2020-08-12 09:27:22,796 INFO  [main] handler.ContextHandler: Started o.e.j.s.ServletContextHandler@32cf48b7{/static,file:///home/georry/Runtime/hbase-3.0.0-SNAPSHOT-Master/hbase-webapps/static/,AVAILABLE}
2020-08-12 09:27:22,843 INFO  [main] webapp.StandardDescriptorProcessor: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2020-08-12 09:27:22,850 INFO  [main] http.SecurityHeadersFilter: Added security headers filter
2020-08-12 09:27:22,855 INFO  [main] handler.ContextHandler: Started o.e.j.w.WebAppContext@2bbf180e{/,file:///home/georry/Runtime/hbase-3.0.0-SNAPSHOT-Master/hbase-webapps/canary/,AVAILABLE}{file:/home/georry/Runtime/hbase-3.0.0-SNAPSHOT-Master/hbase-webapps/canary}
2020-08-12 09:27:22,865 INFO  [main] server.AbstractConnector: Started ServerConnector@7c469c48{HTTP/1.1,[http/1.1]}{0.0.0.0:60010}
2020-08-12 09:27:22,865 INFO  [main] server.Server: Started @511ms
2020-08-12 09:27:22,865 INFO  [main] tool.Canary: Bind Canary http info server to 0.0.0.0:60010 
2020-08-12 09:27:22,877 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2020-08-12 09:27:23,603 INFO  [pool-1-thread-1] tool.Canary: Read from test1,,1596963967600.ec36dc2a12b11aa24048957771c6ee65. on zoey-desktop,16020,1597155447726 D in 17ms
2020-08-12 09:27:23,612 INFO  [pool-1-thread-1] tool.Canary: Read from test2,,1596964060616.57bac36a7afc41390714f2fd7ceb73d4. on zoey-desktop,16020,1597155447726 T in 3ms
2020-08-12 09:28:24,382 INFO  [pool-1-thread-1] tool.Canary: Read from test1,,1596963967600.ec36dc2a12b11aa24048957771c6ee65. on zoey-desktop,16020,1597155447726 D in 5ms
2020-08-12 09:28:24,408 INFO  [pool-1-thread-2] tool.Canary: Read from test2,,1596964060616.57bac36a7afc41390714f2fd7ceb73d4. on zoey-desktop,16020,1597155447726 T in 4ms

{code}

>  Fix several problems when starting webUI
> -----------------------------------------
>
>                 Key: HBASE-24857
>                 URL: https://issues.apache.org/jira/browse/HBASE-24857
>             Project: HBase
>          Issue Type: Sub-task
>          Components: canary, UI
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Zhuoyue Huang
>            Assignee: Zhuoyue Huang
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1
>
>
> As discussed in the parent issue. There are three problems to be solved:
>  # If we put up webUI while starting Canary, there throw a ClassNotFoundException that shaded class cannot be found
>  # webUI should be showing up only in daemon mode
>  # ServletException throwing when visiting the web page of Canary webUI



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