You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Mujtaba Chohan (JIRA)" <ji...@apache.org> on 2014/05/16 12:59:51 UTC

[jira] [Created] (PHOENIX-981) Joins using Phoenix client on v.3.0.0 and server 3.0 head of branch fails on backward compatibility

Mujtaba Chohan created PHOENIX-981:
--------------------------------------

             Summary: Joins using Phoenix client on v.3.0.0 and server 3.0 head of branch fails on backward compatibility
                 Key: PHOENIX-981
                 URL: https://issues.apache.org/jira/browse/PHOENIX-981
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 3.0.0
         Environment: HBase 0.94.16, Linux
            Reporter: Mujtaba Chohan


As discussed with [~jamestaylor]. Starting with Phoenix 3.0.0 release, Phoenix client will be compatible with Phoenix server side running on higher  3.x.x version which means that if server is upgraded first with the new phoenix jar, older phoenix client will continue to function. Only major version will remain in-compatible.

Currently any query involving join with client on tag v3.0.0-incubating-release and server running on head of 3.0 branch (hash 4ce243c1c79fbd4b2f3f1c0cdbedc17c22d9c526) results in the following exception:

java.io.EOFException
	at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:73)
	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:68)
	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postScannerOpen(RegionCoprocessorHost.java:1316)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.internalOpenScanner(HRegionServer.java:2573)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:2541)
	at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:323)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1426)
Caused by: java.lang.RuntimeException: java.io.EOFException
	at org.apache.phoenix.join.HashJoinInfo.deserializeHashJoinFromScan(HashJoinInfo.java:218)
	at org.apache.phoenix.coprocessor.ScanRegionObserver.doPostScannerOpen(ScanRegionObserver.java:180)
	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:66)
	... 8 more
Caused by: java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:250)
	at org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:308)
	at org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:329)
	at org.apache.phoenix.join.HashJoinInfo.deserializeHashJoinFromScan(HashJoinInfo.java:214)





--
This message was sent by Atlassian JIRA
(v6.2#6252)