[
https://issues.apache.org/jira/browse/SOLR-11786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299062#comment-16299062
]
Shawn Heisey commented on SOLR-11786:
-------------------------------------
The patch will need to be careful to do the right thing if the variable is not
defined. The information I have says that Java hardcodes the value to /tmp
when it is not defined, except on an OS like Windows, where it asks the OS
where the temp directory is.
> Allow setting java.io.tmpdir from an environment variable
> ---------------------------------------------------------
>
> Key: SOLR-11786
> URL: https://issues.apache.org/jira/browse/SOLR-11786
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Affects Versions: 7.1
> Reporter: Shawn Heisey
> Priority: Minor
>
> The Java temporary directory (/tmp by default on POSIX systems) may be
> mounted to a location with limited space. This has become a problem for some
> users who build large suggester dictionaries.
> The solr start scripts should offer a way to configure the java.io.tmpdir
> system property from an environment variable that may be set by the include
> script.
> Initial idea for the variable name: JAVA_TMP_DIR or maybe SOLR_JAVA_TMP_DIR
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]