accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ACCUMULO-3691) HostAndPort is not comparable but used in TreeMap
Date Fri, 03 Apr 2015 21:04:53 GMT

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

Josh Elser reassigned ACCUMULO-3691:
------------------------------------

    Assignee: Josh Elser

> HostAndPort is not comparable but used in TreeMap
> -------------------------------------------------
>
>                 Key: ACCUMULO-3691
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3691
>             Project: Accumulo
>          Issue Type: Bug
>          Components: monitor
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Blocker
>             Fix For: 1.7.0
>
>
> Noticied when I went to the Active Scans page on the monitor
> {noformat}
> java.lang.ClassCastException: com.google.common.net.HostAndPort cannot be cast to java.lang.Comparable
> 	at java.util.TreeMap.compare(TreeMap.java:1188)
> 	at java.util.TreeMap.put(TreeMap.java:531)
> 	at java.util.AbstractMap.putAll(AbstractMap.java:273)
> 	at java.util.TreeMap.putAll(TreeMap.java:322)
> 	at java.util.TreeMap.<init>(TreeMap.java:180)
> 	at org.apache.accumulo.monitor.Monitor.getScans(Monitor.java:542)
> 	at org.apache.accumulo.monitor.servlets.ScanServlet.pageBody(ScanServlet.java:47)
> 	at org.apache.accumulo.monitor.servlets.BasicServlet.doGet(BasicServlet.java:66)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:219)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:462)
> 	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
> 	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



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

Mime
View raw message