Create a keyspace with additional parameters


Андрей Лакшман <metylki...@...>
 

No more questions! Thank you so much! Studied: https://docs.janusgraph.org/basics/configuration-reference/#storagecql
In my case, you need:

storage.cql.replication-strategy-class=SimpleStrategy

storage.cql.replication-factor=5    

ср, 26 авг. 2020 г. в 10:42, Андрей Лакшман <metylki...@...>:

I suppose it should look like this:  storage.cql.class=SimpleStrategy    I'm right?

Unfortunately, I'm not good at CQL.

ср, 26 авг. 2020 г. в 10:10, Андрей Лакшман <metylki...@...>:
WOW, Great answer, thank you very much!

I'll just clarify if there is a way to specify the type of replication strategy in the file  janusgraph-cql.properties  ? This is an important parameter for the scylla cluster, there are two types of them: SimpleStrategy and NetworkTopologyStrategy. These types must match the information in the scylla config file - this is important for the operation of the cluster.

вт, 25 авг. 2020 г. в 19:06, HadoopMarc <bi...@...>:
Hi Andrei,

In the file conf/janusgraph-cql.properties that you use to first open the graph, you can simply add a line:

      storage.cql.replication-factor=3

Also check the other config parameters at:


as well as their associated mutability levels.

HTH,    Marc

Op dinsdag 25 augustus 2020 om 17:30:32 UTC+2 schreef Андрей Лакшман:
Good day!
1) I use JanusGraph in conjunction with ScyllaDB. I am planning to use  ScyllaDB in a clustered version. For this I need to not just create a keyspace: storage.cql.keyspace=janusgraph 
And create it with additional parameters: WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3}

Is it real? If so, how can I do this?
2) Do I understand correctly that  JanusGraph creates a  keyspace  once and then works with it without deleting it? And he makes all further changes in this  keyspace?

If so, then it turns out I can just make the changes I need to the already created keyspace?

--
You received this message because you are subscribed to a topic in the Google Groups "JanusGraph users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/janusgraph-users/4wBTo3tzGVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to janusgra...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/7de351bc-07a0-489b-a96f-dd99b50c21a8n%40googlegroups.com.


--
С уважением,
Метелкин Андрей


--
С уважением,
Метелкин Андрей


--
С уважением,
Метелкин Андрей


Андрей Лакшман <metylki...@...>
 

I suppose it should look like this:  storage.cql.class=SimpleStrategy    I'm right?

Unfortunately, I'm not good at CQL.

ср, 26 авг. 2020 г. в 10:10, Андрей Лакшман <metylki...@...>:

WOW, Great answer, thank you very much!

I'll just clarify if there is a way to specify the type of replication strategy in the file  janusgraph-cql.properties  ? This is an important parameter for the scylla cluster, there are two types of them: SimpleStrategy and NetworkTopologyStrategy. These types must match the information in the scylla config file - this is important for the operation of the cluster.

вт, 25 авг. 2020 г. в 19:06, HadoopMarc <bi...@...>:
Hi Andrei,

In the file conf/janusgraph-cql.properties that you use to first open the graph, you can simply add a line:

      storage.cql.replication-factor=3

Also check the other config parameters at:


as well as their associated mutability levels.

HTH,    Marc

Op dinsdag 25 augustus 2020 om 17:30:32 UTC+2 schreef Андрей Лакшман:
Good day!
1) I use JanusGraph in conjunction with ScyllaDB. I am planning to use  ScyllaDB in a clustered version. For this I need to not just create a keyspace: storage.cql.keyspace=janusgraph 
And create it with additional parameters: WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3}

Is it real? If so, how can I do this?
2) Do I understand correctly that  JanusGraph creates a  keyspace  once and then works with it without deleting it? And he makes all further changes in this  keyspace?

If so, then it turns out I can just make the changes I need to the already created keyspace?

--
You received this message because you are subscribed to a topic in the Google Groups "JanusGraph users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/janusgraph-users/4wBTo3tzGVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to janusgra...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/7de351bc-07a0-489b-a96f-dd99b50c21a8n%40googlegroups.com.


--
С уважением,
Метелкин Андрей


--
С уважением,
Метелкин Андрей


Андрей Лакшман <metylki...@...>
 

WOW, Great answer, thank you very much!

I'll just clarify if there is a way to specify the type of replication strategy in the file  janusgraph-cql.properties  ? This is an important parameter for the scylla cluster, there are two types of them: SimpleStrategy and NetworkTopologyStrategy. These types must match the information in the scylla config file - this is important for the operation of the cluster.

вт, 25 авг. 2020 г. в 19:06, HadoopMarc <bi...@...>:

Hi Andrei,

In the file conf/janusgraph-cql.properties that you use to first open the graph, you can simply add a line:

      storage.cql.replication-factor=3

Also check the other config parameters at:


as well as their associated mutability levels.

HTH,    Marc

Op dinsdag 25 augustus 2020 om 17:30:32 UTC+2 schreef Андрей Лакшман:
Good day!
1) I use JanusGraph in conjunction with ScyllaDB. I am planning to use  ScyllaDB in a clustered version. For this I need to not just create a keyspace: storage.cql.keyspace=janusgraph 
And create it with additional parameters: WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3}

Is it real? If so, how can I do this?
2) Do I understand correctly that  JanusGraph creates a  keyspace  once and then works with it without deleting it? And he makes all further changes in this  keyspace?

If so, then it turns out I can just make the changes I need to the already created keyspace?

--
You received this message because you are subscribed to a topic in the Google Groups "JanusGraph users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/janusgraph-users/4wBTo3tzGVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to janusgra...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/7de351bc-07a0-489b-a96f-dd99b50c21a8n%40googlegroups.com.


--
С уважением,
Метелкин Андрей


HadoopMarc <bi...@...>
 

Hi Andrei,

In the file conf/janusgraph-cql.properties that you use to first open the graph, you can simply add a line:

      storage.cql.replication-factor=3

Also check the other config parameters at:

               https://docs.janusgraph.org/basics/configuration-reference/#storagecql

as well as their associated mutability levels.

HTH,    Marc

Op dinsdag 25 augustus 2020 om 17:30:32 UTC+2 schreef Андрей Лакшман:

Good day!
1) I use JanusGraph in conjunction with ScyllaDB. I am planning to use  ScyllaDB in a clustered version. For this I need to not just create a keyspace: storage.cql.keyspace=janusgraph 
And create it with additional parameters: WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3}

Is it real? If so, how can I do this?
2) Do I understand correctly that  JanusGraph creates a  keyspace  once and then works with it without deleting it? And he makes all further changes in this  keyspace?

If so, then it turns out I can just make the changes I need to the already created keyspace?


Андрей Лакшман <metylki...@...>
 

Good day!
1) I use JanusGraph in conjunction with ScyllaDB. I am planning to use  ScyllaDB in a clustered version. For this I need to not just create a keyspace: storage.cql.keyspace=janusgraph 
And create it with additional parameters: WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3}

Is it real? If so, how can I do this?
2) Do I understand correctly that  JanusGraph creates a  keyspace  once and then works with it without deleting it? And he makes all further changes in this  keyspace?

If so, then it turns out I can just make the changes I need to the already created keyspace?