[
https://issues.apache.org/jira/browse/PHOENIX-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032613#comment-14032613
]
Vaclav Loffelmann commented on PHOENIX-501:
-------------------------------------------
Could anyone please fill fixed versions and/or commit hash of this fix? We have
version 3.0 (last commit Apr 24, 2014) on our cluster and get these error:
{quote}
java.lang.IllegalStateException: Expected single, aggregated KeyValue from
coprocessor, but instead received keyvalues=
... some key values ...
. Ensure aggregating coprocessors are loaded correctly on server
at
org.apache.phoenix.util.TupleUtil.getAggregateValue(TupleUtil.java:87)
at
org.apache.phoenix.expression.aggregator.ClientAggregators.aggregate(ClientAggregators.java:54)
at
org.apache.phoenix.iterate.GroupedAggregatingResultIterator.next(GroupedAggregatingResultIterator.java:75)
at
org.apache.phoenix.iterate.UngroupedAggregatingResultIterator.next(UngroupedAggregatingResultIterator.java:39)
at
org.apache.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:732)
at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2429)
at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2074)
at sqlline.SqlLine.print(SqlLine.java:1735)
at sqlline.SqlLine$Commands.execute(SqlLine.java:3683)
at sqlline.SqlLine$Commands.sql(SqlLine.java:3584)
at sqlline.SqlLine.dispatch(SqlLine.java:821)
at sqlline.SqlLine.begin(SqlLine.java:699)
at sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:441)
at sqlline.SqlLine.main(SqlLine.java:424)
{quote}
On submitting query with aggregate function.
> Incompatibility message is not displayed when phoenix jar is not present on
> some region servers
> -----------------------------------------------------------------------------------------------
>
> Key: PHOENIX-501
> URL: https://issues.apache.org/jira/browse/PHOENIX-501
> Project: Phoenix
> Issue Type: Task
> Reporter: mujtaba
> Labels: bug
>
> During Phoenix connection, incompatibility message is not displayed if
> Phoenix jar is not present on few Region Servers. Only if all Region Server
> does not contain phoenix jar then incompatibility message is displayed:
> _Incompatible jars detected between client and server. Ensure that
> phoenix.jar is put on the classpath of HBase in every region server: null_
> 1. null is displayed instead of list of Region Server(s)
> 2. Exception when running aggregating query:
> java.lang.IllegalStateException: Expected single, aggregated KeyValue from
> coprocessor, but instead received
> keyvalues={mujtaba/_0:_0/1376347381871/Put/vlen=0/ts=0}. Ensure aggregating
> coprocessors are loaded correctly on server
> at
> com.salesforce.phoenix.util.TupleUtil.getAggregateValue(TupleUtil.java:97)
> at
> com.salesforce.phoenix.expression.aggregator.ClientAggregators.aggregate(ClientAggregators.java:64)
> at
> com.salesforce.phoenix.iterate.GroupedAggregatingResultIterator.next(GroupedAggregatingResultIterator.java:85)
> at
> com.salesforce.phoenix.iterate.UngroupedAggregatingResultIterator.next(UngroupedAggregatingResultIterator.java:49)
> at
> com.salesforce.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:726)
--
This message was sent by Atlassian JIRA
(v6.2#6252)