Created 03-07-2016 08:04 AM
phoenix-unsecure.pngI am getting following error while connecting to phoenix
Created 03-07-2016 08:07 AM
See this jira https://issues.apache.org/jira/browse/PHOENIX-1762
Please read the details. What's your HDP and Phoenix version?
Created 03-07-2016 08:58 AM
Created 03-07-2016 09:08 AM
Created on 03-07-2016 09:49 AM - edited 08-19-2019 04:07 AM
Created 03-07-2016 10:03 AM
If it's not production system then try this
hbase zkcli
ls /
[zk: sandbox.hortonworks.com:2181(CONNECTED) 0] ls /
[clusterstate.json, consumers, hiveserver2, storm, rmstore, controller_epoch, configs, isr_change_notification, admin, zookeeper, aliases.json, config, hbase-unsecure, registry, live_nodes, overseer, overseer_elect, collections, brokers]
[zk: sandbox.hortonworks.com:2181(CONNECTED) 1] rmr /hbase-unsecure
[zk: sandbox.hortonworks.com:2181(CONNECTED) 2]
Created 03-07-2016 10:07 AM
Once you launch phoenix shell then it will recreate metadata
[zk: sandbox.hortonworks.com:2181(CONNECTED) 0] ls /hbase-unsecure
[meta-region-server, backup-masters, table, draining, region-in-transition, table-lock, running, master, namespace, hbaseid, online-snapshot, replication, splitWAL, recovering-regions, rs, flush-table-proc]
[zk: sandbox.hortonworks.com:2181(CONNECTED) 1] ls /hbase-unsecure/table
table table-lock
[zk: sandbox.hortonworks.com:2181(CONNECTED) 1] ls /hbase-unsecure/table
[SYSTEM.SEQUENCE, hbase:acl, SYSTEM.STATS, SYSTEM.CATALOG, iemployee, hbase:meta, hbase:namespace, SYSTEM.FUNCTION]
[zk: sandbox.hortonworks.com:2181(CONNECTED) 2]
Created on 03-07-2016 10:43 AM - edited 08-19-2019 04:07 AM
Created 03-07-2016 10:45 AM
@chennuri gouri shankar You can restart HBase but wait for the prompt to come back.
Created 08-01-2017 08:39 AM
It seems you are not using correct znode in your url. (/ is missing)
./sqlline.py localhost:2181:/hbase-unsecure