@Override public void setInputPaths(org.pentaho.hadoop.shim.api.fs.Path... paths) { if (paths == null) { return; } Path[] actualPaths = new Path[paths.length]; for (int i = 0; i < paths.length; i++) { actualPaths[i] = ShimUtils.asPath(paths[i]); } try { FileInputFormat.setInputPaths(job, actualPaths); } catch (IOException e) { e.printStackTrace(); } }
@Override public void setOutputPath(org.pentaho.hadoop.shim.api.fs.Path path) { FileOutputFormat.setOutputPath(job, ShimUtils.asPath(path)); }