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

Andrew Purtell updated BIGTOP-993:
----------------------------------

    Attachment: 993.patch

Updated patch adds /usr/lib/phoenix/bin/sqlline.sh. Does substitutions on this 
file for the Bigtop package layout. Because this needs a log4j properties file, 
I've also added an etc dir and pre and post install steps for setting that up 
with 'alternatives'. 

This is what a user will get if launching this file:

{noformat}
[apurtell@centos6 ~]$ /usr/lib/phoenix/bin/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> 
{noformat}

The script and substitutions are ok, what is missing is an update to the HBase 
regionserver classpath to include the Phoenix jar there. If I do that, then it 
works as expected.

> Add packaging for Phoenix
> -------------------------
>
>                 Key: BIGTOP-993
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-993
>             Project: Bigtop
>          Issue Type: Sub-task
>    Affects Versions: 0.7.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Blocker
>             Fix For: 0.7.0
>
>         Attachments: 993.patch, 993.patch, 993.patch, 993.patch, 993.patch, 
> 993.patch
>
>
> Phoenix (https://github.com/forcedotcom/phoenix) is an open source BSD-style 
> licensed SQL skin over Apache HBase, delivered as a client-embedded JDBC 
> driver. The Phoenix query engine transforms your SQL query into one or more 
> HBase scans, and orchestrates their execution to produce standard JDBC result 
> sets. Direct use of the HBase API, along with coprocessors and custom 
> filters, results in performance on the order of milliseconds for small 
> queries, or seconds for tens of millions of rows. Applications interact with 
> Phoenix through a standard JDBC interface; all the usual interfaces are 
> supported.
> As an enhancement of significant value to Apache HBase, in a Bigtop 
> distribution Phoenix would have a role similar to that of Datafu, a 
> collection of enhancements to Apache Pig.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to