Will this also fix the problem with visibility in HBase?
From: alex kamil [mailto:firstname.lastname@example.org]
Sent: Tuesday, March 18, 2014 3:07 PM
Subject: Re: tables are not showing in HBase & joins are not working
I believe join support was added in phoenix 3.0.0 (pending release)
git clone -b 3.0 https://github.com/apache/incubator-phoenix.git
mvn -DskipTests=true package
replace phoenix 2.2.3 jars in $HBASE_HOME/lib with phoenix 3.0 jars
cp phoenix-core/target/phoenix-core-3.0.0-SNAPSHOT.jar $HBASE_HOME/lib/
On Tue, Mar 18, 2014 at 2:44 PM, Firas Khasawneh <Firas.Khasawneh@sas.com> wrote:
HBase 0.94.12 (Bigtop 0.7.0)
I am able to create tables, scan, etc in HBase
I am not getting any errors in hbase logs. Below are the create tables statements:
create table address(pid BIGINT not null primary key, personaddress varchar(100));
create table person(pid BIGINT not null primary key, firstname varchar(100), lastname varchar(100));
I am getting the following error when I run the query below:
select a.firstname, a.lastname, b.personaddress from person AS a INNER JOIN address AS b ON a.pid = b.pid
Error: ERROR 602 (42P00): Syntax error. Missing "EOF" at line 1, column 66. (state=42P00,code=602)
Firas, this is strange,
do you see errors in hbase logs?
what hbase and phoenix versions are you using?
if you create tables in hbase directly (via hbase shell) do you see them?
are there any special characters, quotes in table names?
On Tue, Mar 18, 2014 at 12:51 PM, Firas Khasawneh <Firas.Khasawneh@sas.com> wrote:
I downloaded and installed Phoenix. I able to connect to HBase and create tables but I am facing two issues:
Any help is appreciated.