Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex #679

Closed
444728248 opened this issue Oct 31, 2017 · 5 comments

Comments

@444728248
Copy link

hello
I started hbase and didn't use es, but I made the following error

my hbase config
[root@master janusgraph]# cat conf/janusgraph-hbase.properties
storage.backend = hbase
storage.hostname = master:2181,slave2:2181,slave2:2181
cache.db-cache = true
cache.db-cache-clean-wait = 20
cache.db-cache-time = 180000
cache.db-cache-size = 0.5
gremlin.graph = org.janusgraph.core.JanusGraphFactory
storage.hbase.ext.zookeeper.znode.parent = /hbase

error
Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex

@pluradj
Copy link
Member

pluradj commented Oct 31, 2017

You probably connected initially with with conf/janusgraph-hbase-es.properties. This creates a configuration in the janusgraph HBase table with Elasticsearch as the indexing backend. If you attempt to connect afterwards with conf/janusgraph-hbase.properties you would see the error you described. This is because the previous configuration is stored in the janusgraph table itself.

What you should do is either:

  • drop the janusgraph table in HBase
  • add a storage.hbase.table=newtablename property into your properties file, using a different value than the default (janusgraph)

If those suggestions don't help, please update this issue with more details, like the full stack trace.

@pluradj
Copy link
Member

pluradj commented Oct 31, 2017

Also note, this issue has been discussed previously on the janusgraph-users group and also on Stack Overflow. I'd recommend searching those places for possible solutions.

@pluradj pluradj closed this as completed Oct 31, 2017
@Shamsa279
Copy link

You said : drop the janusgraph table in HBase
add a storage.hbase.table=newtablename property into your properties file, using a different value than the default (janusgraph)
How can I drop the table?

@patrickboland4
Copy link

@Shamsa279 just in case you're still stuck - https://www.guru99.com/hbase-shell-general-commands.html note that you need to disable hbase tables prior to deleting them.

@iamsatyajit963
Copy link

iamsatyajit963 commented May 29, 2022

Hi @pluradj,
if we drop the hbase janus table, then what about existing data, which are in the table?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants