Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1035

Extend createTable to support initial region partitioning specification

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 0.92.0
    • Client, master
    • None

    Description

      Krzysztof Szlapinski up on the list would like the ability to split an empty table.

      Another way to look at this request is as an extension of HBaseAdmin.createTable and related HMaster functions to accept an array of HRI that will define the initial set of regions. Master should update META accordingly and assign the regions out to various regionservers even though the regions will have no store files at first.

      void createTable(HTableDescriptor desc, HRegionInfo[] initialRegions)
          throws IllegalArgumentException, MasterNotRunningException, TableExistsException,
            IOException
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: