hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Liptak (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14328) WebUI error 500 table doesn't exist
Date Thu, 27 Aug 2015 23:48:46 GMT

     [ https://issues.apache.org/jira/browse/HBASE-14328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gabor Liptak updated HBASE-14328:
---------------------------------
    Attachment: HBASE-14328.1.patch

Would something like this work?

> WebUI error 500 table doesn't exist
> -----------------------------------
>
>                 Key: HBASE-14328
>                 URL: https://issues.apache.org/jira/browse/HBASE-14328
>             Project: HBase
>          Issue Type: Bug
>          Components:  Interface
>    Affects Versions: 1.1.0.1
>            Reporter: Jean-Marc Spaggiari
>            Priority: Minor
>              Labels: beginner
>         Attachments: HBASE-14328.1.patch
>
>
> When trying to load a non-existing table using the WebUI we get an ugly error 500. Instead,
we should display a nice "The table you are trying to reach doesn't exit" message...
> http://server.com:60010/table.jsp?name=TestTable
> HTTP ERROR 500
> Problem accessing /table.jsp. Reason:
>     TestTable
> Caused by:
> org.apache.hadoop.hbase.TableNotFoundException: TestTable
> 	at org.apache.hadoop.hbase.client.HTable.getTableDescriptor(HTable.java:651)
> 	at org.apache.hadoop.hbase.generated.master.table_jsp._jspService(table_jsp.java:74)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
> 	at org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter.doFilter(StaticUserWebFilter.java:113)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:1351)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.apache.hadoop.hbase.http.NoCacheFilter.doFilter(NoCacheFilter.java:49)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.apache.hadoop.hbase.http.NoCacheFilter.doFilter(NoCacheFilter.java:49)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:767)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> Powered by Jetty://



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message