(String[] data, ExecType execType)
| 67 | } |
| 68 | |
| 69 | private void createInput(String[] data, ExecType execType) throws IOException { |
| 70 | if (execType == cluster.getExecType()) { |
| 71 | Util.createInputFile(cluster, inputFileName, data); |
| 72 | } else if (execType.isLocal()) { |
| 73 | Util.createLocalInputFile(inputFileName, data); |
| 74 | } else { |
| 75 | throw new IOException("unknown exectype:" + execType.toString()); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | public void tearDown(ExecType execType) throws Exception { |
| 80 | if (execType == cluster.getExecType()) { |
no test coverage detected