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/09/02 10:52:00 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-12103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Kasnacheev resolved IGNITE-12103.
--------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Ilya Kasnacheev
>            Priority: Blocker
>             Fix For: 2.7.6
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)