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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:26:45+00:00 2026-05-27T18:26:45+00:00

The class RunningJob has several methods that throw IOException (presumably when the connection to

  • 0

The class RunningJob has several methods that throw IOException (presumably when the connection to Hadoop fails?) The one I’m looking at right now is isComplete().

What’s the proper way to handle such an error? Should I assume that the job is dead? Should I wait and try again? Simply letting my application die at this point is not an option, since it’s managing a number of jobs on Hadoop and elsewhere, and it needs to be as robust as possible.

  • 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-05-27T18:26:46+00:00Added an answer on May 27, 2026 at 6:26 pm

    My answer is a bit too long for a comment, so I’m sorry I’m not directly answering your question. I’m mostly talking from experience in my response.

    If an exception gets thrown up to this level, you can pretty much assume the job is going to die. I’ve found that just trying again or trying to automatically fixing the problem in response to an exception being thrown is futile. There is just too much that can go wrong.

    Usually when a job that typically runs fine fails, there is something bad happening in the system that needs to be fixed. Perhaps the NameNode is dead, perhaps the switch went dumb, who knows. Unfortunately, these issues need attention by a human.

    In my opinion, development effort is better spent on building some sort of alerting infrastructure (email, usually) that lets you know as soon as your job has failed… instead of accounting for a ton of corner cases.

    Once you find some common issues with you cluster and jobs, you can start building exception handling into your applications. I don’t think it’s worth your time to account for everything up front.

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

Sidebar

Related Questions

Hi i am creating an application that executes the method of a class based
Class c extends thread static Queue<Socket> socketQueue Make connection to another server or client
class token { private: char m_chIcon; //actual ascii char that shows up for this
Class A has a UIImage. Class B has a static reference to a class
Class is a reference types while Struct is a value type. This means that
class Foo { static bool Bar(Stream^ stream); }; class FooWrapper { bool Bar(LPCWSTR szUnicodeString)
class Tag(models.Model): name = models.CharField(maxlength=100) class Blog(models.Model): name = models.CharField(maxlength=100) tags = models.ManyToManyField(Tag) Simple
class A : IFoo { } ... A[] arrayOfA = new A[10]; if(arrayOfA is
class someclass {}; class base { int a; int *pint; someclass objsomeclass; someclass* psomeclass;
class Foo(models.Model): title = models.CharField(max_length=20) slug = models.SlugField() Is there a built-in way to

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.