What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

jesse
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
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

jesse
It seems it is just the sqllinewrapper client, so confusing name...



On Wed, Sep 18, 2019, 4:46 PM jesse <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

Josh Elser-2
"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 <[hidden email]
> <mailto:[hidden email]>> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

jesse
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 <[hidden email]> 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 <[hidden email]
> <mailto:[hidden email]>> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

jesse
A) phoenix-4.14.2-HBase-1.4-thin-client.jar

Just A) is good enough, Josh, you had a sample program here:

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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]
> <mailto:[hidden email]>> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

jesse
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 <[hidden email]> wrote:
A) phoenix-4.14.2-HBase-1.4-thin-client.jar

Just A) is good enough, Josh, you had a sample program here:

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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]
> <mailto:[hidden email]>> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

Josh Elser-2
In reply to this post by jesse
Yes. Also, this is what I said originally:

 > the human-readable name "thin-client" to make it very clear to you
that this is the jar the use.

We try to be consistent everywhere with the phrase "thin client" to
indicate what you use to interact with PQS.

On 9/19/19 1:53 PM, jesse 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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 <[hidden email]
>         <mailto:[hidden email]>
>          > <mailto:[hidden email] <mailto:[hidden email]>>>
>         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
>          >
>
Reply | Threaded
Open this post in threaded view
|

Re: What is the phoenix-queryserver-client-4.14.2-HBase-1.4.jar?

Josh Elser-2
In reply to this post by jesse
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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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 <[hidden email]
>         <mailto:[hidden email]>> 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 <[hidden email]
>             <mailto:[hidden email]>
>              > <mailto:[hidden email]
>             <mailto:[hidden email]>>> 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
>              >
>