The below issue has been resolved when using the compatible cdh version with phoenix package.
.
org.apache.phoenix.exception.PhoenixIOException: org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.AbstractMethodError

As of now, I see the phoenix-cdh packages created until cdh 5.5.x version. 
is there any roadmap to release the compatibility phoenix packages for cdh 5.6 and 5.7 versions ?

Regards
Swapna


On Mon, Apr 18, 2016 at 4:49 PM, Swapna Swapna <talktoswapna@gmail.com> wrote:
HI James,

I've downloaded the phoenix-for-cloudera-4.6-HBase-1.0-cdh5.4.zip from the below provided link, and using the branch "4.6-Hbase-1.0-cdh5.4"
https://github.com/chiastic-security/phoenix-for-cloudera

After copying the phoenix-4.6.0-cdh5.4.5-server.jar  to /usr/lib/hbase/lib, still getting the below exception. But this time its a different error than when using from Phoenix downloads.

Error: org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.AbstractMethodError

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2065)

at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)

at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)

at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.AbstractMethodError

at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2278)

at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32205)

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2034)

... 4 more (state=08000,code=101)

org.apache.phoenix.exception.PhoenixIOException: org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.AbstractMethodError

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2065)

at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)

at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)

at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.AbstractMethodError

at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2278)

at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32205)

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2034)

... 4 more


On Sat, Apr 16, 2016 at 7:41 AM, James Taylor <jamestaylor@apache.org> wrote:
There's also the branch that Andrew setup here: https://github.com/chiastic-security/phoenix-for-cloudera


On Saturday, April 16, 2016, rafa <rafa13@gmail.com> wrote:

Hi Swapna,

You can download the  official parcel from Cloudera, although it is not the last phoenix version.

http://archive.cloudera.com/cloudera-labs/phoenix/parcels/latest/

If you want to use higher versions you'll have to compile them against  the cdh  libraries

Regards,
Rafa

El 16/04/2016 12:17, "Swapna Swapna" <talktoswapna@gmail.com> escribió:
Hi,


I was able to use phoenix-4.6.0-HBase-1 in a standalone machine but when i tried to use with cdh5, its throwing the below exception. After doing some research, noticed this seems to be a common problem faced by many others as well.

Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.hbase.client.Scan.setRaw(Z)Lorg/apache/hadoop/hbase/client/Scan;

at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.buildDeletedTable(MetaDataEndpointImpl.java:973)

at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.loadTable(MetaDataEndpointImpl.java:1049)

at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(MetaDataEndpointImpl.java:1223)

at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1199)

at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:216)

at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:300)

at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.execService(ClientProtos.java:31913)

at org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil.java:1605)


Please suggest me, from where I can download the Phoenix binary/source (for hbase 1.0) to be compatible with cdh5.

Regards

Swapna