You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Arun Kumaran Sabtharishi <ar...@gmail.com> on 2015/06/02 18:36:47 UTC

Right way to use phoenix client - 4.3.1 jar

Hello Phoenix users and developers,

Recently upgraded to the phoenix to 4.3.1 and the following things are hazy.

1. What is the right way to use the phoenix jdbc client?

2. Since there is no phoenix-4.3.1-client.jar in the maven repository, is
it wise to use the jar as a library within the project?

3. Could someone point to the right documentation/location on how the
phoenix client jar has to be used?

Thanks,
Arun

Re: Right way to use phoenix client - 4.3.1 jar

Posted by Kathiresan S <ka...@gmail.com>.
Hi Arun,

Below mail archive might answer your question as well...

http://mail-archives.apache.org/mod_mbox/incubator-phoenix-user/201409.mbox/%3CCAAF1Jdh8XNyF-E4_u36rT8OVgK5Ss=dVxroe0nnrWMDP-GN2MA@mail.gmail.com%3E

Thanks,
Kathir



On Wed, Jun 3, 2015 at 2:37 PM, Nick Dimiduk <nd...@gmail.com> wrote:

> Hi Arun,
>
> The quick start guide [0] covers a lot of the basics.
>
> (1) you can drop the client jar into your favorite JDBC tool -- we have
> documentation about doing this with SQirrel [1].
>
> (2) we don't as of today push the client uberjar to maven central, so
> you'll need to get it from our binary distribution. For embedding in
> projects, I would recommend you instead use maven (or similar) and have
> your project depend on the phoenix-core module. Of course, if you prefer
> the uberjar, you can publish it to your own personal/company/local maven
> repository and reference it fro there.
>
> (3) I'm not sure how to help -- just drop it in the class path and use the
> standard JDBC APIs. Our driver prefix is "jdbc:phoenix".
>
> Sorry, maybe you can ask more specific questions? We can use that to drive
> improvements to the docs on our site.
>
> [0]: http://phoenix.apache.org/Phoenix-in-15-minutes-or-less.html
> [1]: http://phoenix.apache.org/installation.html#SQL_Client
>
> On Tue, Jun 2, 2015 at 9:36 AM, Arun Kumaran Sabtharishi <
> arun1087@gmail.com> wrote:
>
>> Hello Phoenix users and developers,
>>
>> Recently upgraded to the phoenix to 4.3.1 and the following things are
>> hazy.
>>
>> 1. What is the right way to use the phoenix jdbc client?
>>
>> 2. Since there is no phoenix-4.3.1-client.jar in the maven repository, is
>> it wise to use the jar as a library within the project?
>>
>> 3. Could someone point to the right documentation/location on how the
>> phoenix client jar has to be used?
>>
>> Thanks,
>> Arun
>>
>
>

Re: Right way to use phoenix client - 4.3.1 jar

Posted by Nick Dimiduk <nd...@gmail.com>.
Hi Arun,

The quick start guide [0] covers a lot of the basics.

(1) you can drop the client jar into your favorite JDBC tool -- we have
documentation about doing this with SQirrel [1].

(2) we don't as of today push the client uberjar to maven central, so
you'll need to get it from our binary distribution. For embedding in
projects, I would recommend you instead use maven (or similar) and have
your project depend on the phoenix-core module. Of course, if you prefer
the uberjar, you can publish it to your own personal/company/local maven
repository and reference it fro there.

(3) I'm not sure how to help -- just drop it in the class path and use the
standard JDBC APIs. Our driver prefix is "jdbc:phoenix".

Sorry, maybe you can ask more specific questions? We can use that to drive
improvements to the docs on our site.

[0]: http://phoenix.apache.org/Phoenix-in-15-minutes-or-less.html
[1]: http://phoenix.apache.org/installation.html#SQL_Client

On Tue, Jun 2, 2015 at 9:36 AM, Arun Kumaran Sabtharishi <arun1087@gmail.com
> wrote:

> Hello Phoenix users and developers,
>
> Recently upgraded to the phoenix to 4.3.1 and the following things are
> hazy.
>
> 1. What is the right way to use the phoenix jdbc client?
>
> 2. Since there is no phoenix-4.3.1-client.jar in the maven repository, is
> it wise to use the jar as a library within the project?
>
> 3. Could someone point to the right documentation/location on how the
> phoenix client jar has to be used?
>
> Thanks,
> Arun
>