Issues creating a graph cluster using Lifecycle Manager (LCM)
LCM incorrectly configures some necessary information for DSE Graph.
dse.yaml
The location of the dse.yaml file depends on the type of installation:Package installations | /etc/dse/dse.yaml |
Tarball installations | installation_location/resources/dse/conf/dse.yaml |
Currently, OpsCenter LCM is blocking proper setup and usage of DSE Graph. Some steps can be taken to fix the problems until changes are made in DSE 5.1.3.
The default serializers in dse.yaml file must be updated to
match the following for the
gremlin_server
settings: gremlin_server:
maxContentLength: 65536000
maxChunkSize: 4096000
port: 8182
serializers:
- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistry], classResolverSupplier: com.datastax.bdp.graph.impl.tinkerpop.io.DseClassResolverProvider }}
- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoLiteMessageSerializerV1d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistry], classResolverSupplier: com.datastax.bdp.graph.impl.tinkerpop.io.DseClassResolverProvider }}
- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { serializeResultToString: true }}
- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistry] }}
- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistry] }}
scriptEngines:
gremlin-groovy:
config:
compilerCustomizerProviders:
"org.apache.tinkerpop.gremlin.groovy.jsr223.customizer.ThreadInterruptCustomizerProvider": []
"org.apache.tinkerpop.gremlin.groovy.jsr223.customizer.InterpreterModeCustomizerProvider": []
The
rpc_address
setting must be set to 0.0.0.0
in the
dse.yaml file.LCM does not set the default log level to
INFO
. Change the setting in the
logback-gremlin-server.xml file found in
install_location/resources/graph/conf:<appender name="SYSTEMLOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
To
add the gremlin
log reference, insert the following after the
SPARK_SERVER_LOGBACK_CONF_FILE
reference: <include file="${GREMLIN_SERVER_LOGBACK_CONF_FILE}"/>
and
the following in the root tag definition after the
SparkWorkerFileAppender
:<appender-ref ref="GremlinServerFileAppender" />