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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:28:57+00:00 2026-06-09T05:28:57+00:00

I forgot what API/method to call, but my problem is that : My mapper

  • 0

I forgot what API/method to call, but my problem is that :

My mapper will run more than 10 minutes – and I don’t want to increase default timeout.

Rather I want to have my mapper send out update ping to task tracker, when it is in the particular code path that consumes time > 10 mins.

Please let me know what API/method to call.

  • 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-09T05:28:58+00:00Added an answer on June 9, 2026 at 5:28 am

    You can simply increase a counter and call progress. This will ensure that the task sends a heartbeat back to the tasktracker to know if its alive.

    In the new API this is managed through the context, see here: http://hadoop.apache.org/common/docs/r1.0.0/api/index.html

    e.G.

    @Override
    protected void map(LongWritable key, Text value, Context context)
      throws IOException, InterruptedException {
        // increment counter
        context.getCounter(SOME_ENUM).increment(1);
        context.progress();
    }
    

    In the old API there is the reporter class:
    http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapred/Reporter.html

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

Sidebar

Related Questions

There is an API call under linux that I forgot the name of. You
I forgot to download Google Api 8 from SDK manager. I saw that on
I am creating a simple web API that returns JSON. It will perform simple
I forgot the name of that application tool. anyone here remembers it? It let's
EDIT: Forgot to remind the reader that I remembered to set templateSettings as follows:
EDIT Sorry I forgot the most important part here. Each key can have more
I'm in an interesting problem.I forgot I'm using 64bit machine & OS and wrote
I have done this before but I forgot where in my app I have
I just had a NHibernate related problem where I forgot to map one property
I'm very new to JSON, and I need to parse some that an API

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.