accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3691) HostAndPort is not comparable but used in TreeMap
Date Wed, 12 Aug 2015 21:12:46 GMT


ASF GitHub Bot commented on ACCUMULO-3691:

GitHub user rweeks opened a pull request:

    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 ACCUMULO-3691

Alternatively you can review and apply these changes as the patch at:

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 <>
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 <>
Date:   2015-07-23T04:23:12Z

    Removing cyclic dependency on MiniAccumuloCluster by moving tests to test module

commit 1100ba49ee09c97aadbe80429f54a13519a98552
Author: Russ Weeks <>
Date:   2015-07-23T05:48:12Z

    Reformatted and added comment to SeekingFilter

commit e5ea222fa07ab8bb7211a12c87aa127146874f81
Author: Russ Weeks <>
Date:   2015-07-24T00:20:08Z

    Slice tests passing


> HostAndPort is not comparable but used in TreeMap
> -------------------------------------------------
>                 Key: ACCUMULO-3691
>                 URL:
>             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: cannot be cast to java.lang.Comparable
> 	at
> 	at java.util.TreeMap.put(
> 	at java.util.AbstractMap.putAll(
> 	at java.util.TreeMap.putAll(
> 	at java.util.TreeMap.<init>(
> 	at org.apache.accumulo.monitor.Monitor.getScans(
> 	at org.apache.accumulo.monitor.servlets.ScanServlet.pageBody(
> 	at org.apache.accumulo.monitor.servlets.BasicServlet.doGet(
> 	at javax.servlet.http.HttpServlet.service(
> 	at javax.servlet.http.HttpServlet.service(
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> 	at org.eclipse.jetty.server.Server.handle(
> 	at org.eclipse.jetty.server.HttpChannel.handle(
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(
> 	at$
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$
> 	at
> {noformat}

This message was sent by Atlassian JIRA

View raw message