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

Gabriel Reid resolved PHOENIX-464.
----------------------------------

    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.

> running phoenix in eclipse error
> --------------------------------
>
>                 Key: PHOENIX-464
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-464
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: Meizhen
>
> Hi,
> I can run phoenix through command in my work nodes. But when I run it in 
> eclipse, it has this error:
> SQLException: 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:
> My code is like this :
>         Connection conn;
>         Properties prop = new Properties();
>         try{
>          Class.forName("com.salesforce.phoenix.jdbc.PhoenixDriver");   
>         conn = 
> DriverManager.getConnection("jdbc:phoenix:myZooKeeperAddr",prop);
> I've copied the phoenix-1.2.1.jar to the Hbase-0.94.9/lib on each server and 
> copied the phoenix-1.2.1-client.jar to the classpath of run configuration. 
> Can anyone shed me some light on this issue?
> Thanks,
> Meizhen



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

Reply via email to