You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/07/19 14:39:00 UTC

[jira] [Comment Edited] (CASSANDRA-15985) python dtest TestCqlsh added enable_scripted_user_defined_functions which breaks on 2.2

    [ https://issues.apache.org/jira/browse/CASSANDRA-15985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383380#comment-17383380 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-15985 at 7/19/21, 2:38 PM:
---------------------------------------------------------------------------

{quote}Both of them require changes in behavior and as 2.2 is marked as for Critical bug fixes only, I was not sure how we want to approach them. I can either adapt the tests to verify current behavior or actually fix it. WDYT [~dcapwell]?
{quote}
IMHO we can fix the tests, changing of behavior for such an old version is something we don't do normally.

So I guess either those tests were considered to work post-2.2 and someone forgot the tag or we can branch a condition with the right error messages and include those accurately. 


was (Author: e.dimitrova):
{quote}Both of them require changes in behavior and as 2.2 is marked as for Critical bug fixes only, I was not sure how we want to approach them. I can either adapt the tests to verify current behavior or actually fix it. WDYT [~dcapwell]?
{quote}
IMHO we can fix the tests, changing of behavior for such an old version is something we don't do normally.

So I guess either those tests were considered to work post-4.0 and someone forgot the tag or we can branch a condition with the right error messages and include those accurately. 

> python dtest TestCqlsh added enable_scripted_user_defined_functions which breaks on 2.2
> ---------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15985
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15985
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: David Capwell
>            Assignee: Aleksandr Sorokoumov
>            Priority: Normal
>             Fix For: 2.2.x
>
>
> {code}
> ERROR [main] 2020-07-26 03:03:14,108 CassandraDaemon.java:744 - Exception encountered during startup
> org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [enable_scripted_user_defined_functions] from your cassandra.yaml
> 	at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check(YamlConfigurationLoader.java:146) ~[main/:na]
> 	at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:113) ~[main/:na]
> 	at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85) ~[main/:na]
> 	at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:151) ~[main/:na]
> 	at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133) ~[main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:604) [main/:na]
> 	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:731) [main/:na]]
> {code}
> This test doesn’t put a version limit, so all tests fail on 2.2 since the property was added to all clusters.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org