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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:11:42+00:00 2026-06-13T16:11:42+00:00

I have a java code with pig statements embedded inside using the registerQuery() method

  • 0

I have a java code with pig statements embedded inside using the registerQuery() method of the PigServer class. Now that I prepare a jar of it, I can run it as hadoop jar jarname, but the question is how can the same job be triggered using oozie scheduler. Though it is internally map reduce that works, we cannot call it a map reduce action. Similarly since it is not a pig action, we cannot set that too. Is it possible to run such a task with oozie? What is the best way to schedule such a task?

  • 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-13T16:11:43+00:00Added an answer on June 13, 2026 at 4:11 pm

    Seems like what you are trying to do is not part of Oozie’s supported functionality. As your task is neither a typical Java Map Reduce nor a pig action you better off using crontab functionality provided by the operating system to schedule your job or use Spring scheduler.

    There is a spring distribution for Hadoop also, called Spring Data – Apache Hadoop which provides a built-in scheduling functionality.

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

Sidebar

Related Questions

I'm using Pig in an java application. Currently I have a thread that runs
I have (java) code that creates and populates tables in a derby database, using
I have seen Java code that says something like: SomeClass.this.someMethod(someArg); Blah(AnotherClass.class); Blah(YAClass.this); What do
I have this java code that, using apache jena api, queries the pizza ontology
I have Java code that works on my desk top...its a simple app that
I have some Java code: public class Car { private int yearModel; private String
I have a java code base that generates an URL safe base64 encoded hash
I have some Java code that takes an XML (SOAP) message and returns the
I have java code that prepares a message for a MD5 munge private static
I have some image processing Java code in Android that acts upon two large

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.