test_class.file: kiji-mapreduce/src/test/java/org/kiji/mapreduce/output/TestFileMapReduceJobOutput.java
test_class.identifier: TestFileMapReduceJobOutput
test_case.body: @Test
    public void testConfigure() throws ClassNotFoundException, IOException {
      final Path filePath = new Path("foo/bar");
      final int numSplits = 42;
      final Class<? extends OutputFormat> outputFormatClass = TextOutputFormat.class;
      FileMapReduceJobOutput jobOutput = new ConcreteFileMapReduceJobOutput(
          filePath, numSplits, outputFormatClass);
  
      Job job = new Job();
      jobOutput.configure(job);
  
      // The output format class should be set in the job configuration.
      assertEquals(outputFormatClass, job.getOutputFormatClass());
      // The file output path should be set in the job configuration.
      assert(FileOutputFormat.getOutputPath(job).toString().endsWith(filePath.toString()));
      // The number of reduce tasks should be set to the number of splits.
      assertEquals(numSplits, job.getNumReduceTasks());
    }
test_case.class_method_signature: TestFileMapReduceJobOutput.testConfigure()
test_case.full_signature: @Test public void testConfigure()
test_case.identifier: testConfigure
test_case.invocations: configure assertEquals getOutputFormatClass endsWith toString getOutputPath toString assertEquals getNumReduceTasks
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConfigure()
focal_class.declarator: mFilePath
focal_class.modifier: private
focal_class.original_string: private Path mFilePath;
focal_class.type: Path
focal_class.var_name: mFilePath
focal_class.declarator: mNumSplits
focal_class.modifier: private
focal_class.original_string: private int mNumSplits;
focal_class.type: int
focal_class.var_name: mNumSplits
focal_class.file: kiji-mapreduce/src/main/java/org/kiji/mapreduce/output/FileMapReduceJobOutput.java
focal_class.identifier: FileMapReduceJobOutput
focal_class.class_method_signature: FileMapReduceJobOutput.FileMapReduceJobOutput()
focal_class.full_signature:   FileMapReduceJobOutput()
focal_class.identifier: FileMapReduceJobOutput
focal_class.parameters: ()
focal_class.signature:  FileMapReduceJobOutput()
focal_class.class_method_signature: FileMapReduceJobOutput.initialize(Map<String, String> params)
focal_class.full_signature: @Override public void initialize(Map<String, String> params)
focal_class.identifier: initialize
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, String> params)
focal_class.return: void
focal_class.signature: void initialize(Map<String, String> params)
focal_class.class_method_signature: FileMapReduceJobOutput.FileMapReduceJobOutput(Path filePath, int numSplits)
focal_class.full_signature:   FileMapReduceJobOutput(Path filePath, int numSplits)
focal_class.identifier: FileMapReduceJobOutput
focal_class.parameters: (Path filePath, int numSplits)
focal_class.signature:  FileMapReduceJobOutput(Path filePath, int numSplits)
focal_class.class_method_signature: FileMapReduceJobOutput.configure(Job job)
focal_class.full_signature: @Override public void configure(Job job)
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: (Job job)
focal_class.return: void
focal_class.signature: void configure(Job job)
focal_class.superclass: extends MapReduceJobOutput
focal_method.body: @Override
    public void configure(Job job) throws IOException {
      super.configure(job);
      FileOutputFormat.setOutputPath(job, mFilePath);
      job.setNumReduceTasks(mNumSplits);
    }
focal_method.class_method_signature: FileMapReduceJobOutput.configure(Job job)
focal_method.full_signature: @Override public void configure(Job job)
focal_method.identifier: configure
focal_method.invocations: configure setOutputPath setNumReduceTasks
focal_method.modifiers: @Override public
focal_method.parameters: (Job job)
focal_method.return: void
focal_method.signature: void configure(Job job)