Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1481 Root tablet in its own table
  3. ACCUMULO-1712

Remove special characters from path names of metadata tables

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • tserver
    • None

    Description

      This is particularly problematic because of the quoting required to examine hdfs paths with a "!" character in them. The root table ID and the metadata table ID should not use special characters.

      Some considerations:

      1. should not collide with possible user table IDs
      2. might be useful, but may not be necessary, to retain lexicographical sort order, so root table goes first, then metadata table, then other tables

      Some options:

      1. Use negative numbers: -1 for the root table, -2 for the metadata table (my personal favorite)
      2. Use a different special character: %, &, +, or . (each of which may have special considerations)
      3. Reserve a block of IDs for internal use (say, 0-10 or 0-100), and move other tables on upgrade

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              ctubbsii Christopher Tubbs
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: