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

Provide key range support to bulkload to avoid too many reducers even the data belongs to few regions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • mapreduce
    • None

    Description

      Presently the number of reducers in bulk load are equal to number of regions.
      Lets suppose a table has 500 regions and import data only belongs 10 regions, still we are starting 500(equal to no. of regions) reducers instead of 10. Which will consume more time and resources.

      If user knows the row key range of import data, then we can pass startkey and/or endkey as input and based on the key range we can define the partitions and number of reducers(regions to which the data belongs). This helps to avoid too many reducers to start and do nothing and also avoids contention in shuffling.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rajesh23 rajeshbabu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: