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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:46:02+00:00 2026-05-26T23:46:02+00:00

I wrote some mapreduce jobs that reference a few external jars. so I added

  • 0

I wrote some mapreduce jobs that reference a few external jars.
so I added them into the CLASSPATH of the “running” cluster in order to run jobs.

Once I tried to run them, I got class not found exceptions.
I Googled for ways to fix it and I found that I needed to restart the cluster for applying
the changed CLASSPATH, and it actually worked.

Oh, yuck!
Should I really need to restart a cluster every time I add new jars into the CLASSPATH?
I don’t think that it makes sense.

Does anyone know how to apply the changes without restarting them?


I think I need to add some detail to beg your advice.

I wrote a custom hbase filter class and packed it in a jar.
And I wrote a mapreduce job that uses the custom filter class and packed it in an another jar.
Because the filter class jar wasn’t in the class path of my “running” cluster, I added it.
But I couldn’t succeed to run the job until I restarted the cluster.

Of course, I know I could packed the filter class and the job in a single jar together.
But I didn’t mean it.
And I’m curious I should restart the cluster again if I need to add new external jars?

  • 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-26T23:46:02+00:00Added an answer on May 26, 2026 at 11:46 pm

    Check the Cloudera article for including 3rd party libraries required for the Job. Option (1) and (2) don’t require the Cluster to be restarted.

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

Sidebar

Related Questions

I wrote some Java code to generate pseudo-random numbers but I'm running into what
I wrote some code with a lot of recursion, that takes quite a bit
I wrote some naive code(in the sense that it's synchronous calls) for a tableview
So I wrote some perl that would parse results returned from the Amazon Web
I recently wrote some javascript code that filled a drop down list based on
I wrote some ajax code that sends values to a php file for validation
I wrote some code that modifies the images on a webpage. Works with firefox
I wrote some code (about 100 lines) that is working fine on version 5.12.1.
I wrote some MooTools code that reads from YouTube's API in JSON and I
I wrote some PHP code that will allow me to create an html dropdown

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.