Thanks for the lead Thomas, it worked after adding the Phoenix jar to "HBASE_CLASSPATH" variable through the Cloudera Manager.
Anirudha On Thu Feb 12 2015 at 12:55:17 AM Thomas D'Silva <[email protected]> wrote: > Anirudha, > > Did you add the location of phoenix-4.2.2-server.jar to the the > HBASE_CLASSPATH (in confhbase-env.sh)? > > Thanks, > Thomas > > On Wed, Feb 11, 2015 at 6:35 AM, Anirudha Khanna > <[email protected]> wrote: > > Hi All, > > > > On our dev HBase cluster after installing the Phoenix server jars on > > "ALL"(master and region servers) the nodes, when I try connecting using > > sqlline.py I get the following exception, > > > > Error: ERROR 2006 (INT08): Incompatible jars detected between client and > > server. Ensure that phoenix.jar is put on the classpath of HBase in every > > region server: org.apache.hadoop.hbase.exceptions. > UnknownProtocolException: > > No registered coprocessor service found for name MetaDataService in > region > > SYSTEM.CATALOG,,1423663375874.6b8de72059f100fce659bd46cc188fe7 > > > > Environment, > > > > Phoenix - 4.2.2 > > HBase - 0.98.6-cdh5.3.0, rUnknown > > > > The Co-Processors loaded for that table are, > > > > hbase(main):003:0> describe 'SYSTEM.CATALOG' > > DESCRIPTION > > ENABLED > > 'SYSTEM.CATALOG', {TABLE_ATTRIBUTES => {coprocessor$1 => > > '|org.apache.phoenix.coprocessor.ScanRegionObserver|805306366|', > coprocesso > > true > > r$2 => > > '|org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserv > er|805306366|', > > coprocessor$3 => '|org.apache.phoenix.coproces > > sor.GroupedAggregateRegionObserver|805306366|', coprocessor$4 => > > '|org.apache.phoenix.coprocessor.ServerCachingEndpointImpl|80530636 > > 6|', coprocessor$5 => > > '|org.apache.phoenix.coprocessor.MetaDataEndpointImpl|805306366|', > > coprocessor$6 => '|org.apache.phoenix.copro > > cessor.MetaDataRegionObserver|805306367|'}, {NAME => '0', > > DATA_BLOCK_ENCODING => 'FAST_DIFF', BLOOMFILTER => 'ROW', > REPLICATION_SCOP > > E => '0', VERSIONS => '1000', COMPRESSION => 'NONE', MIN_VERSIONS => > '0', > > TTL => 'FOREVER', KEEP_DELETED_CELLS => 'true', BLOCKSIZE > > => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'} > > 1 row(s) in 1.7260 seconds > > > > Help is much appreciated. > > > > Thanks, > > Anirudha >
