@Test public void testParsePig() throws IOException { String errFileName = "../../src/test/data/status/pig"; PigJobIDParser pigJobIDParser = new PigJobIDParser(errFileName, new Configuration()); List<String> jobs = pigJobIDParser.parseJobID(); Assert.assertEquals(jobs.size(), 1); }
abstract List<String> parseJobID() throws IOException;
JobIDParser { abstract List<String> parseJobID() throws IOException; }
JobIDParser { abstract List<String> parseJobID() throws IOException; JobIDParser(String statusdir, Configuration conf); }
JobIDParser { abstract List<String> parseJobID() throws IOException; JobIDParser(String statusdir, Configuration conf);  }
JobIDParser { abstract List<String> parseJobID() throws IOException; JobIDParser(String statusdir, Configuration conf);   }