Skip to content

OSHDB2Ignite errors? #49

@SlowMo24

Description

@SlowMo24

Using a default ignite-config.xml I get following StackTrace:

org.apache.ignite.IgniteException: Cache doesn't exist: grid_node
    at org.apache.ignite.internal.util.IgniteUtils.convertException (IgniteUtils.java:990)
    at org.apache.ignite.internal.cluster.IgniteClusterImpl.changeWalMode (IgniteClusterImpl.java:550)
    at org.apache.ignite.internal.cluster.IgniteClusterImpl.disableWal (IgniteClusterImpl.java:531)
    at org.heigit.bigspatialdata.oshdb.tool.importer.util.OSHDB2Ignite.doGridImport (OSHDB2Ignite.java:79)
    at org.heigit.bigspatialdata.oshdb.tool.importer.util.OSHDB2Ignite.load (OSHDB2Ignite.java:58)

but changing the order of https://github.com/GIScience/oshdb/blob/master/oshdb-tool/etl/src/main/java/org/heigit/bigspatialdata/oshdb/tool/importer/util/OSHDB2Ignite.java#L79 and https://github.com/GIScience/oshdb/blob/master/oshdb-tool/etl/src/main/java/org/heigit/bigspatialdata/oshdb/tool/importer/util/OSHDB2Ignite.java#L81 does not help because in dafault-config, persistance is disabled. So I guess WAL-Mode should be checked before disabeling it? I just don't know how to :-(

org.apache.ignite.IgniteException: Cannot change WAL mode because persistence is not enabled for cache(s) [caches=[grid_node], dataRegion=null]
    at org.apache.ignite.internal.util.IgniteUtils.convertException (IgniteUtils.java:990)
    at org.apache.ignite.internal.cluster.IgniteClusterImpl.changeWalMode (IgniteClusterImpl.java:550)
    at org.apache.ignite.internal.cluster.IgniteClusterImpl.disableWal (IgniteClusterImpl.java:531)
    at org.heigit.bigspatialdata.oshdb.tool.importer.util.OSHDB2Ignite.doGridImport (OSHDB2Ignite.java:79)
    at org.heigit.bigspatialdata.oshdb.tool.importer.util.OSHDB2Ignite.load (OSHDB2Ignite.java:58)

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions