accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <eric.new...@gmail.com>
Subject Re: there is a error about monitor in lastest version in branch 1.6
Date Mon, 15 Dec 2014 16:34:04 GMT
Thanks for posting these errors!  It should be fixed now.

-Eric


On Mon, Dec 15, 2014 at 10:25 AM, Eric Newton <eric.newton@gmail.com> wrote:
>
> I did some mucking around with the monitor last week, I'll take a look.
>
> On Mon, Dec 15, 2014 at 7:40 AM, 覃璐 <luq.java@gmail.com> wrote:
>>
>>
>> i see the monitor log,there two Exception:
>>
>> when i open /scan,there is a ClassCastException:
>>
>> 2014-12-15 17:24:53,852 [servlets.BasicServlet] ERROR:  Error building
>> page /scans
>>
>> java.lang.RuntimeException: Unable to process column 1
>>
>>         at org.apache.accumulo.monitor.util.Table.generate(Table.java:203)
>>
>>         at
>> org.apache.accumulo.monitor.servlets.ScanServlet.pageBody(ScanServlet.java:63)
>>
>>         at
>> org.apache.accumulo.monitor.servlets.BasicServlet.doGet(BasicServlet.java:67)
>>
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>>
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
>>
>>         at
>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>>
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
>>
>>         at
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
>>
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>>
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
>>
>>         at
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>>
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>>
>>         at
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>>
>>         at
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>>
>>         at org.eclipse.jetty.server.Server.handle(Server.java:370)
>>
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>>
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>>
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>>
>>         at
>> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>>
>>         at
>> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>>
>>         at
>> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>>
>>         at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
>>
>>         at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
>>
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>
>>         at java.lang.Thread.run(Thread.java:744)
>>
>> Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to
>> java.lang.Integer
>>
>>         at
>> org.apache.accumulo.monitor.servlets.PreciseNumberType.format(PreciseNumberType.java:29)
>>
>>         at org.apache.accumulo.monitor.util.Table.generate(Table.java:201)
>>
>>
>> and when i open /master,there is a NullPointException:
>>
>> 2014-12-15 19:10:28,127 [servlets.BasicServlet] ERROR:  Error building
>> page /master
>>
>> java.lang.RuntimeException: Unable to process column 2
>>
>>         at org.apache.accumulo.monitor.util.Table.generate(Table.java:203)
>>
>>         at
>> org.apache.accumulo.monitor.servlets.MasterServlet.doMasterStatus(MasterServlet.java:165)
>>
>>         at
>> org.apache.accumulo.monitor.servlets.MasterServlet.pageBody(MasterServlet.java:67)
>>
>>         at
>> org.apache.accumulo.monitor.servlets.BasicServlet.doGet(BasicServlet.java:67)
>>
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>>
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
>>
>>         at
>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>>
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
>>
>>         at
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
>>
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>>
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
>>
>>         at
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>>
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>>
>>         at
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>>
>>         at
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>>
>>         at org.eclipse.jetty.server.Server.handle(Server.java:370)
>>
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>>
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>>
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>>
>>         at
>> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>>
>>         at
>> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>>
>>         at
>> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>>
>>         at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
>>
>>         at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
>>
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>
>>         at java.lang.Thread.run(Thread.java:744)
>>
>> Caused by: java.lang.NullPointerException
>>
>>         at
>> org.apache.accumulo.monitor.servlets.PreciseNumberType.format(PreciseNumberType.java:31)
>>
>>         at org.apache.accumulo.monitor.util.Table.generate(Table.java:201)
>>
>>         ... 26 more
>>
>>
>>
>>  原始邮件
>> *发件人:* 覃璐<luq.java@gmail.com>
>> *收件人:* user<user@accumulo.apache.org>
>> *发送时间:* 2014年12月15日(周一) 17:15
>> *主题:* there is a error about monitor in lastest version in branch 1.6
>>
>>
>> hi all.
>>
>>
>> today ,i pull all code from github,and i build it success from 1.6
>> branch,now the version is
>>
>> 1.6.2-SNAPSHOT.
>>
>>
>> when i open monitor page in master:50095,i can not see master server,the
>> page show error:
>>
>>
>> java.lang.RuntimeException: Unable to process column 2
>> 	at org.apache.accumulo.monitor.util.Table.generate(Table.java:203)
>> 	at org.apache.accumulo.monitor.servlets.MasterServlet.doMasterStatus(MasterServlet.java:165)
>> 	at org.apache.accumulo.monitor.servlets.MasterServlet.pageBody(MasterServlet.java:67)
>> 	at org.apache.accumulo.monitor.servlets.BasicServlet.doGet(BasicServlet.java:67)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
>> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
>> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
>> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
>> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>> 	at org.eclipse.jetty.server.Server.handle(Server.java:370)
>> 	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>> 	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>> 	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>> 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>> 	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
>> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
>> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>> 	at java.lang.Thread.run(Thread.java:744)
>> Caused by: java.lang.NullPointerException
>> 	at org.apache.accumulo.monitor.servlets.PreciseNumberType.format(PreciseNumberType.java:31)
>> 	at org.apache.accumulo.monitor.util.Table.generate(Table.java:201)
>> 	... 26 more
>>
>>
>>
>>

Mime
View raw message