Accumulo
  1. Accumulo
  2. ACCUMULO-802 table namespaces
  3. ACCUMULO-1906

Remove namespace operations that operate on the tables they contain

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: client, master, tserver
    • Labels:
      None

      Description

      Operations like "delete namespace", with the force flag set to true, and "offline namespace", first operate on all the tables they contain. These introduce a lot of complexity and concurrency issues that are difficult to reason about and explain via simple API calls, which could result in unexpected behavior for users.

      These features aren't needed for an initial implementation, and don't add significant value to warrant their risk at this time. Users can use the basic operations already provided (namespaceOps.listTables() + tableOps.delete(table)) to achieve more predictable behavior in client code, where actions are more easy to reason about.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 3c920943bf92e2c15a5eeb4945165b3573003f33 in branch refs/heads/master from Christopher Tubbs
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3c92094 ]

        ACCUMULO-1906 Remove ops on tables in a namespace

        Removing operations on tables in a namespace where the same operation
        can be easily accomplished with a short sequence of API calls on
        existing methods. Also, clean up Javadocs.

        Show
        ASF subversion and git services added a comment - Commit 3c920943bf92e2c15a5eeb4945165b3573003f33 in branch refs/heads/master from Christopher Tubbs [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3c92094 ] ACCUMULO-1906 Remove ops on tables in a namespace Removing operations on tables in a namespace where the same operation can be easily accomplished with a short sequence of API calls on existing methods. Also, clean up Javadocs.
        Hide
        ASF subversion and git services added a comment -

        Commit 3c920943bf92e2c15a5eeb4945165b3573003f33 in branch refs/heads/1.6.0-SNAPSHOT from Christopher Tubbs
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3c92094 ]

        ACCUMULO-1906 Remove ops on tables in a namespace

        Removing operations on tables in a namespace where the same operation
        can be easily accomplished with a short sequence of API calls on
        existing methods. Also, clean up Javadocs.

        Show
        ASF subversion and git services added a comment - Commit 3c920943bf92e2c15a5eeb4945165b3573003f33 in branch refs/heads/1.6.0-SNAPSHOT from Christopher Tubbs [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3c92094 ] ACCUMULO-1906 Remove ops on tables in a namespace Removing operations on tables in a namespace where the same operation can be easily accomplished with a short sequence of API calls on existing methods. Also, clean up Javadocs.
        Hide
        Christopher Tubbs added a comment -

        Fixed in branch.

        Show
        Christopher Tubbs added a comment - Fixed in branch.
        Hide
        Christopher Tubbs added a comment -

        This also includes clone namespaces.

        Show
        Christopher Tubbs added a comment - This also includes clone namespaces.

          People

          • Assignee:
            Christopher Tubbs
            Reporter:
            Christopher Tubbs
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development