You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by "Antoine Queric (Jira)" <ji...@apache.org> on 2021/02/05 07:32:00 UTC

[jira] [Updated] (SDAP-304) Making Cassandra keyspace creation optional

     [ https://issues.apache.org/jira/browse/SDAP-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Queric updated SDAP-304:
--------------------------------
    Description: 
Depending on the infrastructure requirements, the user responsible for tiles insertion in Cassandra may not have the permission to create the keyspace.

Adding a dedicated configuration item in domsconfig.ini could make the keyspace creation optional.

In order to do so, I propose the following addition in domsconfig.ini cassandra section :

**create_keyspace_granted**

Value could be **True** or **False**

 

If the value is set to "False", then we skip the keyspace creation & directly use the set_keyspace() function.

  was:
Depending on the infrastructure requirements, the user responsible for tiles insertion in Cassandra may not have the permission to create the keyspace.

Adding a dedicated configuration item in domsconfig.ini could make the keyspace creation optional.

In order to do so, I propose the following addition in domsconfig.ini cassandra section :

**create_keyspace_granted**

Value could be **True** or **False**

 

If the value is set to "False", then we skip the keyspace creation & either create the tables inside (if doesn't exist) or just directly use the set_keyspace() function.


> Making Cassandra keyspace creation optional
> -------------------------------------------
>
>                 Key: SDAP-304
>                 URL: https://issues.apache.org/jira/browse/SDAP-304
>             Project: Apache Science Data Analytics Platform
>          Issue Type: Improvement
>          Components: analysis, nexus
>            Reporter: Antoine Queric
>            Priority: Minor
>
> Depending on the infrastructure requirements, the user responsible for tiles insertion in Cassandra may not have the permission to create the keyspace.
> Adding a dedicated configuration item in domsconfig.ini could make the keyspace creation optional.
> In order to do so, I propose the following addition in domsconfig.ini cassandra section :
> **create_keyspace_granted**
> Value could be **True** or **False**
>  
> If the value is set to "False", then we skip the keyspace creation & directly use the set_keyspace() function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)