Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8684389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:17:45+00:00 2026-06-12T22:17:45+00:00

Problem We have multiple HBase tables :A, B, C. Lets assume, A is queue

  • 0

Problem

We have multiple HBase tables :A, B, C. Lets assume, A is queue of records that needs to be processed. It could contain an average of 25 million records. A has user ids. B has website hits performed by each user. B could contain billions of rows. C has some secondary information about users.

We use MapReduce job to perform predictive analysis (thousands and thousands of decision trees) on the records in queue. Scope of the questions does not include actual analytic modeling.

Question

  1. MR job is performing adhoc queries to tables B & C. For example, Map task 1 performing query to get hits for user 1 and Map task 2 performing query to get hits for user 2. If these hits ends up in same region server, would it hamper performance (race conditions, etc)? Is there a pattern like ChainMapper (ChainReducer) to split input set so that each mapper has keys that spans one region server?
  2. My initial thought was to have queue to contain all required inputs (results from b and c). This input would be condensed (only which is required for modeling). This approach would avoid performing adhoc queries (across region servers by multiple map tasks in the same time).

Any other suggestions welcome.

We are using cloudera CDH 3 (hadoop, hbase).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:17:46+00:00Added an answer on June 12, 2026 at 10:17 pm

    It is not very easy to solve, but I can suggest to use bloomfilter + reduce join.

    Build bloomfilter and set of affected regions of B

    Map: A -> BF(A), S = {regions of B}
    

    Use custom InpufFormat, which will use affected regions for B-table scan, and scan whole table A

    Map: B U S -> (tag 'B', keyB => value)
         A -> (tag 'A', keyA => value)
    Reduce: reduce-join
    

    Do your analytic work in Reduce.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The problem : I have multiple parallel processes that handle flat file records .
The problem is this: I have multiple competing threads (100+) that need to access
Hi The problem am having is that I have multiple TreeView control and each
i have a problem calling multiple instance of a class that i have coded
the problem i have is that i have multiple nested master pages: level 1
I have this problem that I have multiple fields that updates a database via
The problem I have is that I have multiple submit inputs in a single
I have a problem where I have multiple (few thousand) quantities that I need
The problem. I have multiple tab, their content is loaded via ajax, so the
I am trying to solve the following problem with Puppet: I have multiple nodes.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.