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 9005455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:08:58+00:00 2026-06-16T01:08:58+00:00

I am very new for Hbase and Map Reduce API. I am very confused

  • 0

I am very new for Hbase and Map Reduce API.
I am very confused with Map Reduce concepts. I need to Load text file into Hbase table using MAPReduce API. I googled some Examples but in that I can find MAPPER () not reducer method. I am confused with when to use mapper and when to use Reducer ().

I am thinking in the way like :

  1. TO write data to a Hbase we use mapper
  2. TO read data from
    HBASE we use mapper and reducer(). please can any one clear me with
    detail explanation.
  3. I am trying to load data from text file into
    HBASE table. I googled and tried some code but i dont know, how to
    load the text file and read in HBASE mapreduce API.

I really thank full for certain help

  • 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-16T01:09:00+00:00Added an answer on June 16, 2026 at 1:09 am

    With regard to your questions:

    • The Mapper receives splits of data and returns a pair key, set<values>
    • The Reducer receives the output of from the Mapper and generates a pair <key, value>

    Generally, will be your Reducer task which will write results (to the filesystem or to HBase), but the Mapper can do that too. There are MapReduce jobs which don’t require a Reducer. With regard to reading from HBase, it’s the Mapper class that has the configuration from which table to read from. But there’s nothing related a Mapper is a reader and Reducer a writer. This article “HBase MapReduce Examples” provides good examples about how to read from and write into HBase using MapReduce.

    In any case, if what you need is to bulk import some .csv files into HBase, you don’t really need to do it with a MapReduce job. You can do it directly with the HBase API. In pseudocode:

    table = hbase.createTable(tablename, fields); 
    foreach (File file: dir) {
       content = readfile(file);    
       hbase.insert(table, content); 
    }
    

    I wrote an importer of .mbox files into HBase. Take a look at the code, it may give you some ideas.

    Once your data is imported into HBase, then you do need to code a MapReduce job to operate with that data.

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

Sidebar

Related Questions

Very new to Fitnesse, I need to write a test using regular expressions to
I am very new for Hadoop and Map Reduce. For starting bases i executed
I am very new to Hbase and Hadoop. I am getting confused with MapReduce
Very new SQL Server, am using SQL server 2008. I have two tables, Table
Actually very new user to bash.and I am logging into server using ssh sam@xyz.com
Very new to XSL (and XML for that matter), but I need to step
Very new to using Raphael.js I'm looking at the tutorials and I am able
I am very new to hadoop and hbase and have some conceptual questions that
I am very New to Hadoop and Hbase, Hbase is completely Different From RDMS.
im very new in cocoa development and I'm trying to load a Window. I

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.