Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11951

Cleanup app.temp.dir / local.data.dir configurability

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Rank:
      1|i0042v:

      Description

      Remove app.temp.dir configurability, because it is confusing. User may think that they can provide an absolute path and then that temp dir will be used, but its always used as a relative path.
      We should not allow it to be configurable, or at least put in the description that it is always used as a relative path.

      Relevant spot in documentation: https://github.com/caskdata/cdap/blob/v4.2.0/cdap-docs/admin-manual/source/_includes/installation/configuration.txt#L224-L224

      Also, it is misleading to allow users to configure both 'local.data.dir' AND LOCAL_DIR. It should be sufficient to just configure LOCAL_DIR, and leave 'local.data.dir' be as simple as the default value 'data'. If there's no use case for configuring these separately, we should remove one from documentation, for simplicity.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                ali.anwar Ali Anwar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: