You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:21:14 UTC

[jira] [Resolved] (PHOENIX-432) Cannot Connect phoenix to HBase

     [ https://issues.apache.org/jira/browse/PHOENIX-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Reid resolved PHOENIX-432.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Cannot Connect phoenix to HBase
> -------------------------------
>
>                 Key: PHOENIX-432
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-432
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: ssuman
>
> Hi,
> I'm currently using cloudera VM, which has hbase version 0.94.6. I'm getting the following error when I run the following command.
> COMMAND: ./sqlline.sh localhost
> 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: null (state=INT08,code=2006)
> 0: jdbc:phoenix:localhost>
> I've done the following changes. I copied the phoenix-1.2.0.jar into lib directory of hbase. I restarted the regionserver. I got the above error. Later on I added the following command (see below export command) in hbase file inside bin directory of hbase but still facing the same issue.
> export HBASE_CLASSPATH=${HBASE_CLASSPATH}:/usr/lib/hbase/lib/phoenix-1.2.0.jar
> Note in the install instructions, it says add phoenix-client jar to a classpath of the client connecting to phoenix. Since for ./sqlline the client jar is being added, I ignored this step. Please correct me if i'm wrong.
> And also, I'm able to SYSTEM.TABLE in hbase added by phoenix when i do list command.
> Hence need your help in resolving this issue, since I'm new to administration stuff.



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