Closed CoderYellow closed 2 months ago
manaully configuraing import-ldif.offline.java-args
in java.properties
file is an workground
btw seems the dsjavaproperties
command to edit the java.properties
is gone in the latest version , how can we edit the java.properties
now
use
export OPENDJ_JAVA_ARGS="-server -Ddatastax-java-driver.basic.contact-points.0=scylla-cluster-client.security.svc:9042 -Ddatastax-java-driver.basic.load-balancing-policy.local-datacenter=cn-gz-1 -Ddatastax-java-driver.basic.auth-provider.username=cassandra -Ddatastax-java-driver.basic.auth-provider.password=cassandra"
bin/import-ldif
or add import-ldif.offline.java-args in java.properties
Description:
While attempting to import LDIF to Cassandra using the setup CLI mode, the following command does not work as expected:
Issue: Above command fails to execute correctly in CLI mode because the
import-ldif
subprocess cannot inherit the Cassandra VM properties configuration from the main setup process. However, this process works fine in GUI mode due to the Import Runtime Settings option that allows us to add the necessary Cassandra properties.Request: We need the Import Runtime Settings option or a similar functionality to be available in CLI mode to enable the
import-ldif
subprocess to access the Cassandra VM properties.