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

Anshum Gupta commented on SOLR-16133:
-------------------------------------

Adding these notes from a smoketest failure that seemed related but now it 
doesn't. 
I got a bunch of failed tests w/ errors that looked like:

{code:xml}
<failure message="java.security.AccessControlException: access denied 
(&quot;java.io.FilePermission&quot; 
&quot;/private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_3/unpack/solr-9.0.0/solr/modules/hdfs/build/tmp&quot;
 &quot;write&quot;)" 
type="java.security.AccessControlException">java.security.AccessControlException:
 access denied (&quot;java.io.FilePermission&quot; 
&quot;/private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_3/unpack/solr-9.0.0/solr/modules/hdfs/build/tmp&quot;
 &quot;write&quot;)
{code}
It doesn't seem to be caused by the smoke tester picking up and using the 
default location in my case. Among the failures, I spotted the error below:
{code:xml}
3376 WARN  (SUITE-TestHdfsBackupRestoreCore-seed#[4182502CBDAF88A7]-worker) [] 
o.a.h.s.o.e.j.w.WebAppContext Failed startup of context 
o.a.h.s.o.e.j.w.WebAppContext@39222bff{hdfs,/,file:///private/tmp/smoke_solr_9.0.0_e7a6447013008a70a4f40fcfd793fe3e2dcf37c2_3/unpack/solr-9.0.0/solr/modules/hdfs/build/tmp/tests-tmp/jetty-localhost-59469-hadoop-client-minicluster-3_3_2_jar-_-any-4374985515641868325/webapp/,STOPPED}{jar:file:/Users/anshumg/.gradle/caches/modules-2/files-2.1/org.apache.hadoop/hadoop-client-minicluster/3.3.2/c08ddd065de27d21c2c2b398084092377f16a06b/hadoop-client-minicluster-3.3.2.jar!/webapps/hdfs}
          => java.security.AccessControlException: access denied 
("java.io.FilePermission" 
"/Users/anshumg/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar"
 "read")
        at 
java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
java.security.AccessControlException: access denied ("java.io.FilePermission" 
"/Users/anshumg/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar"
 "read")
        at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
 ~[?:?]
{code}

I've now cleaned up that .m2 path and trying to run the smoke tester again. I'm 
still not sure where/how did it happen.

> Smoke tester defaults do not respect system temp directory
> ----------------------------------------------------------
>
>                 Key: SOLR-16133
>                 URL: https://issues.apache.org/jira/browse/SOLR-16133
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mike Drob
>            Priority: Major
>
> Smoke tester defaults the temp directory to {{/tmp/smoke_solr...}} but should 
> probably use something inside of {{$TMPDIR}} instead.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to