[ https://issues.apache.org/jira/browse/SOLR-14064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16995130#comment-16995130 ]
Kevin Risden commented on SOLR-14064: ------------------------------------- HDFS / Hadoop test runs on Mac and Windows look good. Running full test next. BTW not related to this change but saw this pop up. It doesn't cause a failure but seems wrong: {code:java} 2> 23044 WARN (SUITE-TestRecoveryHdfs-seed#[AC80F05AAAD3A298]-worker) [ ] o.a.s.f.DistribPackageStore Unable to create [/Users/risdenk/repos/apache/lucene-solr/solr/core/src/test-files/solr/filestore] directory in SOLR_HOME [/Users/risdenk/repos/apache/lucene-solr/solr/core/src/test-files/solr]. Features requiring this directory may fail. 2> => java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/risdenk/repos/apache/lucene-solr/solr/core/src/test-files/solr/filestore" "write") 2> at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) 2> java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/risdenk/repos/apache/lucene-solr/solr/core/src/test-files/solr/filestore" "write") 2> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:?] 2> at java.security.AccessController.checkPermission(AccessController.java:897) ~[?:?] 2> at java.lang.SecurityManager.checkPermission(SecurityManager.java:322) ~[?:?] 2> at java.lang.SecurityManager.checkWrite(SecurityManager.java:752) ~[?:?] 2> at java.io.File.mkdir(File.java:1323) ~[?:?] 2> at java.io.File.mkdirs(File.java:1355) ~[?:?] 2> at org.apache.solr.filestore.DistribPackageStore.ensurePackageStoreDir(DistribPackageStore.java:476) ~[java/:?] 2> at org.apache.solr.filestore.DistribPackageStore.<init>(DistribPackageStore.java:65) ~[java/:?] 2> at org.apache.solr.filestore.PackageStoreAPI.<init>(PackageStoreAPI.java:77) ~[java/:?] {code} > remove some hadoop brain-damage from build environment > ------------------------------------------------------ > > Key: SOLR-14064 > URL: https://issues.apache.org/jira/browse/SOLR-14064 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Robert Muir > Priority: Major > Attachments: SOLR-14064.patch > > > Some permissions and build hacks were made on behalf of hadoop. These were > most definitely hacks on top of hacks. > The background is that the hadoop code is a true nightmare to deal with, if > you want to sandbox code with SecurityManager. > Now that [~krisden] has wrestled it (at least mostly?) to the ground, let's > remove the hacks from solr security policy and lucene build that I added. We > need to be strict: ensure things are really working (otherwise we get > SecurityException). This also makes the configuration simpler. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org