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

Robert Stupp commented on CASSANDRA-11033:
------------------------------------------

Migrated from {{DataType}} to {{TypeCodec}} which has the advantage, that there 
are logger calls in the sandbox's code path. The included unit (which set's 
logback's scan interval to 1ms for the duration of that test) test failed for 
{{DataType}} and succeeds for {{TypeCodec}}.

Patch attached, waiting for cassci now.

> Prevent logging in sandboxed state
> ----------------------------------
>
>                 Key: CASSANDRA-11033
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11033
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 3.0.x
>
>
> logback will re-read its configuration file regularly. So it is possible that 
> logback tries to reload the configuration while we log from a sandboxed UDF, 
> which will fail due to the restricted access privileges for UDFs. UDAs are 
> also affected as these use UDFs.
> /cc [~doanduyhai]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to