Hello
I am using Datastax Java driver for Apache Cassandra, and programmatic
session builder.
I can't find what are the default values of configs listed
in DefaultDriverOption (
https://docs.datastax.com/en/drivers/java/4.13/com/datastax/oss/driver/api/core/config/DefaultDriverOption.html),
for ex
b.com/apache/cassandra/blob/210793f943dc522161fd26b6192f38a5c83fa131/src/java/org/apache/cassandra/cql3/functions/UDFunction.java#L168
>
>
>
> You will need to modify the source code to e.g. add additional
> allowedPatterns, or perhaps to permit additional patterns to be configured
> at startup
so if you try them with an earlier version - below message is what
> you would get as they didn’t exist.
>
> Best regards,
> Ekaterina
>
> On Wed, 6 Apr 2022 at 9:53, Sébastien Rebecchi
> wrote:
>
>> Hi Benjamin, Hi everybody,
>>
>> I found in the do
ompile
then
Le mer. 6 avr. 2022 à 15:52, Sébastien Rebecchi a
écrit :
> Hi Benjamin, Hi everybody,
>
> I found in the documentation that we should add "allow_insecure_udfs:
> true" and optionally "allow_extra_insecure_udfs: true" so that
> "enable_user
> Unfortunately, I do not have much time for doing some digging. Sorry for
> that :-(
> You should look at JavaBasedUDFunction and UDFExecutorServic.
>
> Le lun. 4 avr. 2022 à 17:25, Sébastien Rebecchi
> a écrit :
>
>> Hi!
>> Do you have any more ideas
Hi!
Do you have any more ideas for me?
Cordially,
Sébastien.
Le lun. 28 mars 2022 à 16:39, Sébastien Rebecchi
a écrit :
> Unfortunately, it is not working even with
> "enable_user_defined_functions_threads: false" in cassandra.yaml :/
> Is there any way to check the ru
Fs. You
>>> can try to disable it using "enable_user_defined_functions_threads: false"
>>> and see if it works.
>>> Now that also means that you have to ensure that only trusted persons
>>> can create UDF or UDA as it removes all safety mechanisms.
>&
u have to ensure that only trusted persons can
> create UDF or UDA as it removes all safety mechanisms.
>
> Le lun. 28 mars 2022 à 13:23, Sébastien Rebecchi
> a écrit :
>
>> Hi Benjamin,
>>
>> Thanks for the answer.
>> Is there a way to customize that default b
assloader for UDFs that limit which classes can
> be used.
> You cannot rely on non-JDK classes for UDFs and some of the JDK packages
> like the IO package for example cannot be used.
> The goal is simply to ensure that UDFs cannot compromise the server
> security.
>
> Le lun. 2
Hello,
I am trying to create a UDF based on custom methods.
So I set enable_user_defined_functions to true and added a jar in
"/usr/share/cassandra/lib/" folder on every node, restarted the nodes and I
can see from the command line that the jar is indeed used (in the classpath
with -cp).
But when
10 matches
Mail list logo