You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2014/10/22 05:26:34 UTC

[jira] [Comment Edited] (PHOENIX-1359) Backward compatibility fails with 4.1 client and current 4.0 branch on server

    [ https://issues.apache.org/jira/browse/PHOENIX-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179522#comment-14179522 ] 

Maryann Xue edited comment on PHOENIX-1359 at 10/22/14 3:25 AM:
----------------------------------------------------------------

Yeah, I see your point in that revision. But even with 1359-2.patch, in which we just take out that line and move it to the end, should not have any effect on the value of nRows, this is just like restoring that part to the 4.1 release (https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commitdiff;h=49ec34be258ce12ca150c5c37a35e2c1cad0105c#patch13) I mean even if this could have any impact, it should be somewhere else. I suspect the 4.1 client we are using for this test might be a bit too ahead?


was (Author: maryannxue):
Yeah, I see your point in that revision. But even with 1359-2.patch, we just take out that line and move it to the end should not have any effect on the value of nRows, this is just like restoring that part to the 4.1 release (https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commitdiff;h=49ec34be258ce12ca150c5c37a35e2c1cad0105c#patch13) I mean even if this could have any impact, it should be somewhere else. I suspect the 4.1 client we are using for this test might be a bit too ahead?

> Backward compatibility fails with 4.1 client and current 4.0 branch on server
> -----------------------------------------------------------------------------
>
>                 Key: PHOENIX-1359
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1359
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.1
>            Reporter: Mujtaba Chohan
>            Assignee: James Taylor
>             Fix For: 5.0.0, 4.2, 3.2
>
>         Attachments: 1359-2.patch, PHOENIX-1359-v3.patch, PHOENIX-1359.patch, PHOENIX-1359.patch
>
>
> 1. Queries with join fail with Encountered exception in hash plan [0] execution. (state=,code=0) with 4.1 client and 4.2-SNAPSHOT on server
> Query example: select * from LOYALTY_PROGRAM_CONDITION JOIN LOYALTY_PROGRAM on LOYALTY_PROGRAM_CONDITION__c.LOYALTY_PROGRAM_ID = LOYALTY_PROGRAM__c.ENTITY_ID where LOYALTY_PROGRAM__c.NAME='Ferrari' AND LOYALTY_PROGRAM_CONDITION.COUNTRY = 'Italy' limit 100;
> 2. Sqline fails to start with during list table phase with 4.1 client and 4.2-SNAPSHOT on server. 
> Caused by: org.apache.hadoop.hbase.exceptions.DeserializationException: java.io.EOFException
> 	at org.apache.phoenix.filter.RowKeyComparisonFilter.parseFrom(RowKeyComparisonFilter.java:161)
> 	... 18 more
> Caused by: java.io.EOFException
> 	at java.io.DataInputStream.readFully(DataInputStream.java:180)
> 	at java.io.DataInputStream.readFully(DataInputStream.java:152)
> 	at org.apache.hadoop.io.WritableUtils.readCompressedByteArray(WritableUtils.java:39)
> 	at org.apache.phoenix.filter.RowKeyComparisonFilter.readFields(RowKeyComparisonFilter.java:148)
> 	at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:131)
> 	at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:101)
> 	at org.apache.phoenix.filter.RowKeyComparisonFilter.parseFrom(RowKeyComparisonFilter.java:159)
> 	... 18 more



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