question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: dbeaver connect hbase using phoenix,click the table Data button,throw the error.

See original GitHub issue

Env: dbeaver: 4.0.5 phoenix: phoenix-4.11-HBase-1.2 hbase: 1.2.0(CDH5.11)

Steps:

  1. I config the dbeaver connecting the hbase using phoenix.
  2. I create the schema and table in the script of dbeaver.
CREATE SCHEMA JYDW;
CREATE TABLE JYDW.USERINFO(id bigint not null primary key, name varchar  null,age integer  null, address varchar null) ;
upsert into JYDW.USERINFO(id,name,age,address) values(1,'name1',11,'china1');
SELECT * from JYDW.USERINFO ;    

These create and upsert and select sql are successful. And I create spark project with scala, operating the table “JYDW.USERINFO”, also is successful.

  1. But, I select the connection(HBase) and refresh, and I find that the table name is “USERINFO” without the schema info ,instead of “JYDW.USERINFO”.

4.Then I click the “USERINFO” table, and again click the “Data” button, throw the error: SQL Error [1012] [42M03]: ERROR 1012 (42M03): Table undefined. tableName=USERINFO org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=USERINFO

error

5.I think that the table is lost the schema info in Dbeaver,so that leads to this error. @serge-rider Please help to see it, thankyou.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
serge-ridercommented, Jul 30, 2017

For some reason DBeaver didn’t read list of phoenix schemas.

0reactions
serge-ridercommented, Dec 25, 2017

Thanks for info

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug: dbeaver connect hbase using phoenix,click the table ...
Bug : dbeaver connect hbase using phoenix,click the table Data button,throw the error. ... Steps: 1. I config the dbeaver connecting the hbase...
Read more >
cannot access db tables - DBeaver Forum • View topic
I upgraded to version 3.5.4 (from version 3.4.5) After sucessfully connecting to the db, i get the following error: DBCException: SQL Error ......
Read more >
How To Connect To Hbase Using Phoenix Jdbc Driver (Can't ...
Use the thin driver to connect to PQS. Bug: dbeaver connect hbase using phoenix,click the table Data button,throw the error. #2148. Closed. Hackeruncle...
Read more >
jdbc - Unable to establish connection. using DBeaver apache ...
I have a standalone Apache HBase Database installed on an ubuntu vm, i want to be able to connect to the db from...
Read more >
Connect to HBase Data in DBeaver - CData Software
The CData JDBC Driver for HBase implements JDBC standards that enable third-party tools to interoperate, from wizards in IDEs to business intelligence tools ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found