Member since
02-19-2016
158
Posts
69
Kudos Received
24
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1282 | 11-29-2017 08:47 PM | |
1692 | 10-24-2017 06:37 PM | |
17159 | 08-04-2017 06:58 PM | |
1835 | 05-15-2017 06:42 PM | |
2236 | 03-27-2017 06:36 PM |
11-08-2016
05:44 AM
1 Kudo
Did you make any changes in the hbase classpath or any new jars added to the lib directory? It seems that you have wrong jline there.
... View more
11-07-2016
06:37 PM
Phoenix supports the only way to define table with schema by using dot between. Colons are using internally by HBase and Phoenix does this transformation on its own. As I mentioned earlier Phoenix has a bug that both schema and table name should have double quotes, otherwise table created incorrectly with empty schema. Moreover on the HBase layer this cause ambiguous physical table mapping like you are seeing in your example. So, my recommendation is to use quotes for schema and table name separately or just do not use quotes. And you are right, the feature was backported from 4.8.
... View more
11-04-2016
05:08 AM
Try String tableStr ="ACME.ENDPOINT_STATUS"; No double quotes and dot between schema name and table name. Hope that will work. One more note: if you create table using double quotes, put schema and table name in quotes. Like create table "ACME"."ENDPOINT_STATUS" in this case you will need to quote table name like you do in your sample. It seems that there is a bug in phoenix code. If you quote them together, Phoenix creates a table with empty schema and the table name as "schema.table". You may check it by querying SYSTEM.CATALOG table.
... View more
11-03-2016
09:31 PM
Looks like you have enabled namespace mapping. Check that the hbase conf dir is in the classpath. And you need to use ACME.xxxxx format for table names
... View more
09-15-2016
09:42 PM
You need to be sure that phoenix client has hbase-site.xml in the classpath. You may do this by setting HBASE_CONF_DIR environment variable.
... View more
09-02-2016
06:10 PM
1 Kudo
Yes, it updates indexes. If we are talking about MR job, than bulk load generates HFiles for user table and index tables at the same time and load it using HBase bulk load. In case of PSQL the data is loading using regular upserts and indexes are updated in regular way.
... View more
08-30-2016
06:02 AM
You need specify the quorum host. And you don't need to put :@: in the connection string if you are using existing tgt. But if you want to specify keytab and principal, than you need to specify them in the connection string: sqlline.py localhost:2181:/hbase-secure:hbase@HW.COM:/etc/security/keytabs/hbase.keytab
... View more
08-29-2016
07:37 PM
1 Kudo
If you are using existing TGT, you need to specify only quorum/port/zknode params in the command line: phoenix-sqlline localhost:2181:/hbase-secure
... View more
08-25-2016
06:53 PM
Phoenix supports only Kerberos authentication. It doesn't support Knox REST API.
... View more
08-16-2016
08:47 AM
As Josh already mentioned, it's included in Apache Phoenix 4.8.0. And it would handle it correctly. One additional note - the implementation that was accepted in Apache Phoenix is a bit different. More information can be found there: https://github.com/mini666/hive-phoenix-handler
... View more