Interface JobFactory<O extends MapReduce>

    • Method Detail

      • createJobs

        default List<org.apache.hadoop.mapreduce.Job> createJobs​(O operation,
                                                                 Store store)
                                                          throws IOException
        Creates a job with the store specific job initialisation and then applies the operation specific JobInitialiser.
        Parameters:
        operation - The operation.
        store - The store executing the operation.
        Returns:
        The created job.
        Throws:
        IOException - for IO issues.
      • createJobConf

        org.apache.hadoop.mapred.JobConf createJobConf​(O operation,
                                                       String mapperGeneratorClassName,
                                                       Store store)
                                                throws IOException
        Creates an JobConf to be used for the add from hdfs.
        Parameters:
        operation - The Operation.
        mapperGeneratorClassName - Class name for the MapperGenerator class.
        store - The store.
        Returns:
        The JobConf.
        Throws:
        IOException - For IO issues.
      • setupJob

        void setupJob​(org.apache.hadoop.mapreduce.Job job,
                      O operation,
                      String mapperGenerator,
                      Store store)
               throws IOException
        Sets up all parts of the Job to be used on the add from hdfs.
        Parameters:
        job - The Job to be executed.
        operation - The Operation.
        mapperGenerator - Class Name for the MapperGenerator class.
        store - The store.
        Throws:
        IOException - For IO issues.