phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Nigam <sumit_o...@yahoo.com>
Subject Re: AbstractMethodError
Date Tue, 22 Sep 2015 07:53:21 GMT
Hi Thomas,
You are right. Somehow, the packaged libs were of 1.1 Hbase.
Thanks for testing this out,Sumit
      From: Thomas D'Silva <tdsilva@salesforce.com>
 To: user@phoenix.apache.org; Sumit Nigam <sumit_only@yahoo.com> 
 Sent: Tuesday, September 22, 2015 3:38 AM
 Subject: Re: AbstractMethodError
   
Sumit,

I tested out HBase 0.98.6 and the Phoenix 4.5.1 server jar and it
worked for me. The PhoenixRpcSchedulerFactory.create(Configuration
conf, PriorityFunction priorityFunction, Abortable abortable)
signature is used for HBase 1.0 and 1.1 versions. The
create(Configuration conf, RegionServerServices services) signature is
for HBase 0.98.

Since the 3 argument method is being called, can you double check the
HBase version you are using?

Thanks,
Thomas



On Mon, Sep 21, 2015 at 7:39 AM, Sumit Nigam <sumit_only@yahoo.com> wrote:
> Hi,
>
> I am using Hbase 0.98.6 and Phoenix 4.5.1 and this combination. As per
> phoenix Jira and some
> blogs(https://phoenix.apache.org/secondary_indexing.html), these should also
> be affected by deadlock occurring during index maintenance for global
> indexes (https://issues.apache.org/jira/browse/PHOENIX-938).
>
> We are having phoenix-4.5.1-HBase-0.98-server.jar and
> phoenix-core-4.5.1-HBase-0.98.jar in our classpath. To resolve it, we have
> following properties configured in hbase-site.xml of masters/ region
> servers:
>
>
>  <name>hbase.region.server.rpc.scheduler.factory.class</name>
>  <value>org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory</value>
>
>  <name>hbase.rpc.controllerfactory.class</name>
>
> <value>org.apache.hadoop.hbase.ipc.controller.ServerRpcControllerFactory</value>
>
> At startup, we get the following error:
>
> 2015-09-21 16:47:48,686 ERROR [main] master.HMasterCommandLine: Master
> exiting
> java.lang.RuntimeException: Failed construction of Master: class
> org.apache.hadoop.hbase.master.HMaster
>        at
> org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2290)
>
> Caused by: java.lang.AbstractMethodError:
> org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory.create(Lorg/apache/hadoop/conf/Configuration;Lorg/apache/hadoop/hbase/ipc/PriorityFunction;Lorg/apache/hadoop/hbase/Abortable;)Lorg/apache/hadoop/hbase/ipc/RpcScheduler;
>        at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:863)
>        at
> org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:210)
>        at
> org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:532)
>        at
> org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:531)
>        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:364)
>
> It seems the create method with 3 arguments is not present in those versions
> of the phoenix jars?
>
> Thanks,
> Sumit
>


  
Mime
View raw message