On 2/27/2014 2:43 AM, search engn dev wrote:
> Has anybody used latest solrmeter with solr 4.6.1? because I am getting
> following error whenever i try to connect to solr.
> 
> 
> [Thread-384]|ERROR|[com.plugtree.solrmeter.model.statistic.CacheHistoryStatistic]|15:02:52,509
> | Could not update statistic
> com.plugtree.solrmeter.model.exception.StatisticConnectionException:
> java.lang.ClassCastException: java.lang.Float cannot be cast to
> java.lang.String

Looks like we sometimes have a different data type on some of the
statistics that Solr exposes via admin handlers.  There is an issue
against solrmeter for this:

http://code.google.com/p/solrmeter/issues/detail?id=113

Looks like the last solrmeter release was over a year ago.  The issue is
getting pretty close to a year old itself.

The last patch attached to the issue apparently fixes the problem better
than the first one.  Until they fix it in a released version, you'll
have to do the patch yourself and recompile solrmeter.  Helping you with
that is outside the domain of this list.  I can't work on it now, but if
you need help I could probably figure out how to do the recompile and
make the jar available to you off-list at a later date.

Thanks,
Shawn

Reply via email to