Please be aware that you're referencing code that hasn't been updated in
3 years. Take it with a grain of salt.
On 9/19/19 6:42 PM, jesse wrote:
Josh, in your sample project pom.xml file, the following build
dependence is not needed:
<dependency>
<groupId>org.apache.phoenix</groupId>
<artifactId>phoenix-server-client</artifactId>
<version>4.7.0-HBase-1.1-SNAPSHOT</version>
</dependency>
On Thu, Sep 19, 2019, 10:53 AM jesse <chat2je...@gmail.com
<mailto:chat2je...@gmail.com>> wrote:
A) phoenix-4.14.2-HBase-1.4-thin-client.jar
Just A) is good enough, Josh, you had a sample program here:
https://github.com/joshelser/phoenix-queryserver-jdbc-client
And the phoenix-4.14.2-HBase-1.4-thin-client.jar already contains
the org.apache.phoenix.queryserver.client.Driver
On Thu, Sep 19, 2019, 8:54 AM jesse <chat2je...@gmail.com
<mailto:chat2je...@gmail.com>> wrote:
You confused me more, if I write a Java program with http
endpoint to PQS for Phoenix read/write functions, should I depend on
A) phoenix-4.14.2-HBase-1.4-thin-client.jar
B) phoenix-queryserver-client-4.14.2-HBase-1.4.jar
C) both
On Thu, Sep 19, 2019, 4:12 AM Josh Elser <els...@apache.org
<mailto:els...@apache.org>> wrote:
"phoenix-queryserver-client" is the name of the Maven module
which holds
the required code for the "JDBC thin client", aka PQS
client, aka
"queryserver client".
Maven convention is that a jar with the name of the Maven
module is created.
However, the majority of the code for the thin client is
pulled from
another Apache project. In fact, we only have one piece of
code that we
maintain client-side to connect to PQS.
That third party code _does_ need to be included on the
classpath for
you to use the client. Thus, a shaded jar is created, with the
human-readable name "thin-client" to make it very clear to
you that this
is the jar the use.
The Maven build shows how all of this work.
On 9/18/19 8:04 PM, jesse wrote:
> It seems it is just the sqllinewrapper client, so
confusing name...
>
>
>
> On Wed, Sep 18, 2019, 4:46 PM jesse <chat2je...@gmail.com
<mailto:chat2je...@gmail.com>
> <mailto:chat2je...@gmail.com
<mailto:chat2je...@gmail.com>>> wrote:
>
> For query via PQS, we are using
phoenix-4.14.2-HBase-1.4-thin-client.jar
>
> Then what is purpose and usage
> of phoenix-queryserver-client-4.14.2-HBase-1.4.jar?
>
> Thanks
>