Accumulo
  1. Accumulo
  2. ACCUMULO-2449

user's can't specify VFS_CLASSLOADER_CACHE_DIR with system variables like the default

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: start
    • Labels:
      None

      Description

      via code analysis-
      VFS_CLASSLOADER_CACHE_DIR's key is defined in AccumnuloVFSClassLoader. However, it explicitly declares it's value in the same format as it's created, rather then using a String defined in AccumuloVFSClassloader as well. This could lead to schisming.

      But more importantly, AccumuloVFSClassloaders builds that path by extracting system properties to build the path. If a user declares the default value ($java.io.tmpdir/accumulo-cfs-cache-${user.name}), it will not work as intended. I'm fairly certain if I put that value in my accumulo-site, it won't get broken down in the same way. Default values should behave the same way as both the default value and being declared in the site.xml

        Activity

        Hide
        Christopher Tubbs added a comment -

        See comment on ACCUMULO-2425 for why the interpolation currently only works for the default value, and not when specified.

        Show
        Christopher Tubbs added a comment - See comment on ACCUMULO-2425 for why the interpolation currently only works for the default value, and not when specified.

          People

          • Assignee:
            Unassigned
            Reporter:
            John Vines
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development