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

Kevin Risden commented on SOLR-16433:
-------------------------------------

[~mdrob] - I don't think this is specific to Java 11. The default for security 
manager changed from false -> true in Solr 9. It looks like this would have 
been a problem in JDK 8 with Solr 8 with security manager enabled.

I opened PR https://github.com/apache/solr/pull/1044 which should workaround 
CALCITE-5298 in the meantime.

> Security Manager prevents Solr SQL from working
> -----------------------------------------------
>
>                 Key: SOLR-16433
>                 URL: https://issues.apache.org/jira/browse/SOLR-16433
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Parallel SQL
>    Affects Versions: 9.0
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Blocker
>             Fix For: 9.1
>
>         Attachments: Calcite Exception.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Workaround: set SOLR_SECURITY_MANAGER_ENABLED=false. This is only defaulted 
> to true in Solr 9.0. Previously with Solr 8.x this was set to false.
> This was reported on the Solr user list:
> https://lists.apache.org/thread/hbozfyn9xpno2tk573pk3vjbyhohyqnm
> Calcite tries to initialize and check a few paths for the test dataset, but 
> the security manager throws an exception for this:
> * 
> https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/config/CalciteSystemProperty.java#L189
>  
> I'm tracking this down in CALCITE-5298
>  !Calcite Exception.png! 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to