Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12103

Change the default ignite work directory once again to avoid writing to ~/work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.6
    • Component/s: general
    • Labels:
      None
    • Release Note:
      Ignite work directory is now set to ${user.dir}/ignite/work by default, with README.txt in it, when IGNITE_HOME not set.
    • Flags:
      Important
    • Ignite Flags:
      Docs Required

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ilyak Ilya Kasnacheev
                Reporter:
                ilyak Ilya Kasnacheev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h