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

Kevin Risden updated CALCITE-5298:
----------------------------------
    Description: 
SOLR-16433 found that Calcite does not handle the Java security manager 
returning permission denied when checking that the calcite.test.dataset path 
exists. Solr runs with a security manager that doesn't allow arbitrary 
filesystem access. This failure causes Calcite to not load and therefore 
unusable.

The code in question is here: 
https://github.com/apache/calcite/blame/main/core/src/main/java/org/apache/calcite/config/CalciteSystemProperty.java#L189

A few other places in Calcite already check for SecurityException: 
https://github.com/apache/calcite/search?q=SecurityException

  was:
SOLR-16433 found that Calcite does not handle the Java security manager 
returning permission denied when checking that the calcite.test.dataset path 
exists. Solr runs with a security manager that doesn't allow arbitrary 
filesystem access. This failure causes Calcite to not load and therefore 
unusable.

A few other places in Calcite already check for SecurityException: 
https://github.com/apache/calcite/search?q=SecurityException


> CalciteSystemProperty calcite.test.dataset path check fails under Java 
> Security Manager
> ---------------------------------------------------------------------------------------
>
>                 Key: CALCITE-5298
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5298
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.27.0, 1.28.0, 1.29.0, 1.30.0, 1.31.0, 1.32.0
>            Reporter: Kevin Risden
>            Priority: Major
>
> SOLR-16433 found that Calcite does not handle the Java security manager 
> returning permission denied when checking that the calcite.test.dataset path 
> exists. Solr runs with a security manager that doesn't allow arbitrary 
> filesystem access. This failure causes Calcite to not load and therefore 
> unusable.
> The code in question is here: 
> https://github.com/apache/calcite/blame/main/core/src/main/java/org/apache/calcite/config/CalciteSystemProperty.java#L189
> A few other places in Calcite already check for SecurityException: 
> https://github.com/apache/calcite/search?q=SecurityException



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to