Question No. E07

Graph = JanusGraphFactory.open graph = janusgraphFactory. open graph = JanusGraphFactory. Org. Janusgraph. Diskstorage. Solr. SolrIndex:

Error: Unrecognized mode: manager93.bigdata, Unrecognized mode: manager93.bigdata, Unrecognized mode: Manager93. bigdata, Unrecognized mode: Manager93. bigdata, Unrecognized mode: Manager93. bigdata

The local configuration file did change, even if I deleted the entire JanusGraph folder and the configuration file, unzipped it and wrote the correct configuration

The solution

positioning

Take a closer look at the error log:

WARN WARN WARN is also to see!

solution

This is an error when initializing the graph. There is no data in the graph (so you can delete the library). If the local configuration is overwritten by the global configuration, delete the incorrect global configuration. Since I reinstalled the entire JanusGraph folder, this configuration was clearly written in hbase. Check the table janusgraph_solr in hbase shell. Drop the table and start it again. The problem is solved.

The diagram is not successfully created, but the table in hbase has been created.

Take a look at the configuration levels by the way:

Configuration level of JanusGraph

Each configuration item has a specific variable level that determines whether and how the database can be modified after it is first opened. The following listing describes the variable levels:

  • FIXED: After the database is opened, these configuration options cannot be changed throughout the life of the database
  • GLOBAL_OFFLINE: When all instances are down, changing these options across the entire database cluster requires a restart
  • GLOBAL: These options can only be changed globally across the entire database cluster
  • MASKABLE: These options are global, but can be overridden by local configuration files
  • LOCAL: These options are available only through the LOCAL configuration file

For details about how to change non-local configurations, see the official website.

JanusGraph Problems and Solutions series of contents:

JanusGraph Problem Notes – Table of Contents (End of paper)

JanusGraph Problem Note (2) : SchemaViolationException

JanusGraph Problem Notes (3) : NoNodeException (hbase)

ResponseException (ES)

JanusGraph Question Note (5) : Did local configuration changes not take effect?