Created 08-01-2017 06:44 AM
Hello,
I installed HDP 2.6, atlas server seems working but it has a error which says atlas ui does not work. There is an error like this which occur during start of atlas;
"....
Caused by: com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Temporary failure in storage backend at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.ensureTableExists(HBaseStoreManager.java:720) at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.ensureColumnFamilyExists(HBaseStoreManager.java:792) at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:474) at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:455) at com.thinkaurelius.titan.diskstorage.Backend.getStandaloneGlobalConfiguration(Backend.java:387) ... 40 more Caused by: org.apache.hadoop.hbase.TableExistsException: atlas_titan
....
"
Created 08-01-2017 01:16 PM
I found the solution.
It happens because "atlas_titan" is a zombie hbase table. It can't be created(hbase says table exists) and it can't be dropped(hbase says table does not exist). This happens when table doesn't exist in hbase but exists in zookeeper. It should be deleted from zookeeper.
$ hbase zkcli
[zk: ...] ls /hbase-unsecure/table
[zk: ...] rmr /hbase-unsecure/table/ATLAS_ENTITY_AUDIT_EVENTS
[zk: ...] rmr /hbase-unsecure/table/atlas_titan
[zk: ...] quit
Then restart atlas, it should recreate hbase tables and application should be up a few seconds later.
Created 08-01-2017 01:16 PM
I found the solution.
It happens because "atlas_titan" is a zombie hbase table. It can't be created(hbase says table exists) and it can't be dropped(hbase says table does not exist). This happens when table doesn't exist in hbase but exists in zookeeper. It should be deleted from zookeeper.
$ hbase zkcli
[zk: ...] ls /hbase-unsecure/table
[zk: ...] rmr /hbase-unsecure/table/ATLAS_ENTITY_AUDIT_EVENTS
[zk: ...] rmr /hbase-unsecure/table/atlas_titan
[zk: ...] quit
Then restart atlas, it should recreate hbase tables and application should be up a few seconds later.