Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3535 Transition plan: remove instance.dfs.{uri,dir} to instance.volumes
  3. ACCUMULO-3537

Create an explicit configuration option for replacing relative paths

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      instance.dfs.uri and instance.dfs.dir were deprecated in as part of ACCUMULO-2061, and were superseded by instance.volumes.

      This was a little bit confusing, because users upgrading from previous versions would still have relative paths in their metadata. To interpret these relative paths, these deprecated properties must still be set. So, it's a bit confusing to have deprecated properties which are still required for functionality.

      What we should do is explicitly create a way to replace these entries with absolute paths that does not depend on using deprecated properties.

      A sensible location for this is instance.volumes.replacements. This field could have a special replacement, "RELATIVE", which replaces all relative paths with an explicit target volume. ACCUMULO-3007 ignored relative paths, but this issue proposes to handle them instead of ignore them.

      These properties previously provided two functions:

      1. Create new files with absolute paths (only if instance.volumes is not set)
      2. Interpret old relative files (always)

      The first function is replaced with instance.volumes. The second function is replaced by the proposed improvement to instance.volumes.replacements here.

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: