Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14887 Use Orientated Abstractions
  3. HBASE-14888

ClusterSchema: Add Namespace Operations

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • API
    • None
    • Incompatible change, Reviewed
    • Hide
      This patch changes the semantic around namespace create/delete/modify when coprocessor asks that the invocation be by-passed. Previous the by-pass was done silently -- the method would just return with no indication as to whether by-pass route had been taken or not. This patch adds throwing of a BypassCoprocessorException which is thrown if we have been asked to bypass a call.

      The bypass facility has been in place since hbase 1.0.0 when namespace creation/deletion, etc.., was originally added in HBASE-8408 (HBASE-15071 is about addressing bypass handling in a general way)
      Show
      This patch changes the semantic around namespace create/delete/modify when coprocessor asks that the invocation be by-passed. Previous the by-pass was done silently -- the method would just return with no indication as to whether by-pass route had been taken or not. This patch adds throwing of a BypassCoprocessorException which is thrown if we have been asked to bypass a call. The bypass facility has been in place since hbase 1.0.0 when namespace creation/deletion, etc.., was originally added in HBASE-8408 ( HBASE-15071 is about addressing bypass handling in a general way)

    Description

      Add in a ClusterSchema Interface. It will have all API for all cluster manipulation; adding namespaces, tables, amending column families, etc. The idea is to gather up our mess and put it all behind a tidy API that all works the same way whatever you changing returning a Future to wait on and behind the scenes driving Procedures.

      This patch does namespace operations first.

      Attachments

        1. test.patch
          8 kB
          Michael Stack
        2. 14888v9.txt
          66 kB
          Michael Stack
        3. 14888v7.txt
          68 kB
          Michael Stack
        4. 14888v6.txt
          87 kB
          Michael Stack
        5. 14888v5.txt
          71 kB
          Michael Stack
        6. 14888v4.txt
          71 kB
          Michael Stack
        7. 14888v3.txt
          68 kB
          Michael Stack
        8. 14888v24.patch
          196 kB
          Michael Stack
        9. 14888v23.patch
          195 kB
          Michael Stack
        10. 14888v22.patch
          189 kB
          Michael Stack
        11. 14888v20.patch
          158 kB
          Michael Stack
        12. 14888v19.patch
          157 kB
          Michael Stack
        13. 14888v18.patch
          84 kB
          Michael Stack
        14. 14888v17.txt
          82 kB
          Michael Stack
        15. 14888v16.patch
          77 kB
          Michael Stack
        16. 14888v15.patch
          73 kB
          Michael Stack
        17. 14888v14.patch
          74 kB
          Michael Stack
        18. 14888v13.patch
          8 kB
          Michael Stack
        19. 14888v12.patch
          70 kB
          Michael Stack
        20. 14888v11.patch
          71 kB
          Michael Stack
        21. 14888.v8.txt
          68 kB
          Michael Stack
        22. 14888.patch
          68 kB
          Michael Stack
        23. 0001-Add-in-a-ClusterSchema-Interface.-It-will-have-all-Av2.patch
          68 kB
          Michael Stack

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment