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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:11:19+00:00 2026-06-17T09:11:19+00:00

When Pig is running in distributed (HDFS) mode, you can pass additional jars to

  • 0

When Pig is running in distributed (HDFS) mode, you can pass additional jars to it from command-line using the following syntax, so that you don’t have to explicitly using the REGISTER call

pig -Dpig.additional.jars=jar1.jar:jar2.jar -f pigfile.pig

But when I do the same thing while running in local mode, it fails

pig -x local -Dpig.additional.jars=jar1.jar:jar2.jar -f pigfile.pig

Does anyone know how to register additional jars while running Pig in local mode?

  • 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-17T09:11:20+00:00Added an answer on June 17, 2026 at 9:11 am

    Properties should be passed before any Pig-specific options:

    pig -Dpig.additional.jars=jar1.jar:jar2.jar -x local -f pigfile.pig
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apache Pig can load data from Hadoop sequence files using the PiggyBank SequenceFileLoader :
I've been using either Pig or Java for Map Reduce exclusively for running jobs
I have the following scenario- Pig version used 0.70 Sample HDFS directory structure: /user/training/test/20100810/<data
What kind of file formats can be read using PIG? How can I store
I'm running a PIG script, and it all goes very quickly, until I get
I have a pig UDF which runs perfectly in local mode, but fails with:
When developing Pig scripts that use the STORE command I have to delete the
Assume I have the following input in Pig: some And I would like to
Currently, I have Pig script running on top of Amazon EMR to load a
I've clojure running within Eclipse. I want to pass arguments to clojure when running

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.