You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (Jira)" <ji...@apache.org> on 2019/08/26 09:12:00 UTC

[jira] [Created] (IGNITE-12103) Change the default ignite work directory once again to avoid writing to ~/work

Ilya Kasnacheev created IGNITE-12103:
----------------------------------------

             Summary: Change the default ignite work directory once again to avoid writing to ~/work
                 Key: IGNITE-12103
                 URL: https://issues.apache.org/jira/browse/IGNITE-12103
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 2.7.5
            Reporter: Ilya Kasnacheev
             Fix For: 2.7.6


While testing 2.7.6-RC1 it came up that we no longer write data to /tmp/ignite/work, which is good, but now we would instead write to /home/username/work, which is bad. ~/work is a generic directory not linked to Ignite in any obvious way, and users will be puzzled by its appearance with possibilities of data loss or, even worse, their own documents loss if they happen to have something in Work dir and it gets clobbered/removed by accident.

I suggest changing this default once more, to use either /home/username/ignite/{work,logs,etc} or ./ignite/{work,logs,etc} by leveraging user.dir property pointing to current working dir.

Please note that user.dir has its own problems since it is supposed to not be changeable after JVM is up, but some code still tries to change it.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)