You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/12 23:12:46 UTC
[jira] [Commented] (ACCUMULO-3691) HostAndPort is not comparable
but used in TreeMap
[ https://issues.apache.org/jira/browse/ACCUMULO-3691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694179#comment-14694179 ]
ASF GitHub Bot commented on ACCUMULO-3691:
------------------------------------------
GitHub user rweeks opened a pull request:
https://github.com/apache/accumulo/pull/41
Implementation of SeekingFilter, CfCqSliceFilter and CfCqSliceSeekingFilter
Implementation for ACCUMULO-3691 including a filter which behaves similarly to the existing ColumnSliceFilter but can seek to the next potential match instead of explicitly rejecting every KV pair that falls outside the slice. Probably faster for small slices on large rows.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/phemisystems/accumulo ACCUMULO-3691
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/accumulo/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit a0c8d588109e2d8d0b3bdf862ec1d3e1e48c50e7
Author: Russ Weeks <rw...@phemi.com>
Date: 2015-07-23T03:53:01Z
Initial commit of CfCqSlice code. Renamed files but Java class names are messed up.
commit 9cc2c28251d445c86d7006bf1237ea2fd096b4e1
Author: Russ Weeks <rw...@newbrightidea.com>
Date: 2015-07-23T04:23:12Z
Removing cyclic dependency on MiniAccumuloCluster by moving tests to test module
commit 1100ba49ee09c97aadbe80429f54a13519a98552
Author: Russ Weeks <rw...@newbrightidea.com>
Date: 2015-07-23T05:48:12Z
Reformatted and added comment to SeekingFilter
commit e5ea222fa07ab8bb7211a12c87aa127146874f81
Author: Russ Weeks <rw...@phemi.com>
Date: 2015-07-24T00:20:08Z
Slice tests passing
----
> 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
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)