Uploaded image for project: 'Spring for Apache Hadoop'
  1. Spring for Apache Hadoop
  2. SHDP-41

Create HadoopJobDetailBean to simplify scheduling of hadoop jobs with quartz

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.0.0.M1
    • Fix Version/s: 1.0.0.M2
    • Component/s: MR
    • Labels:
      None

      Description

      Using MethodInvokingJobDetailFactoryBean and a Spring Hadoop's JobRunner introduced too much boilerplate XML into the configuration. Creating a HaddopJobDetailBean that takes the name of the hadoop job (bean name) or a list of job names would simplify the use with quartz.

      something roughly like

      public HadoopJobDetailBean extends JobDetailBean {

      private String jobName;
      // maybe private List<string> jobNames;

      protected void executeInternal( )

      { Job job = ctx.getBean(jobName...) job.submit(); }

      }

        Attachments

          Activity

            People

            • Assignee:
              jiali Jarred Li
              Reporter:
              mark.pollack Mark Pollack
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: