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

Ryan Ernst commented on SOLR-6055:
----------------------------------

I successfully fixed this by adding a separate ulogDir to SolrCore, and then 
making sure this is absolute in the local filesystem (not using directory 
factory).  See LUCENE-5650.  I can put it into a separate patch if you think it 
is important, it was just easier to verify on that other issue, and also 
required a change to the base temp dir to be absolute.

> TestMiniSolrCloudCluster has data dir in test's CWD
> ---------------------------------------------------
>
>                 Key: SOLR-6055
>                 URL: https://issues.apache.org/jira/browse/SOLR-6055
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>
> While investigating one of the test failures created when tightening test 
> permissions to restrict write access to CWD (see LUCENE-5650), I've found 
> {{TestMiniSolrCloudCluster}} is attemping to write transaction logs to 
> {{$CWD/data/tlog}}.
> I've traced this down to two things which are happening:
> # The test uses {{RAMDirectoryFactory}}, which always returns true for 
> {{isAbsolute}}.  This causes the directory factory to *not* adjust the 
> default relative to bring it under the instance dir.
> # The {{UpdateLog}} creates its tlog file with the relative data dir.
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to