modulePaths = new String[] { pycascadingDir, sourceDir };
}
PythonInterpreter interpreter = Main.getInterpreter();
interpreter.execfile(pycascadingDir + "python/pycascading/init_module.py");
interpreter.set("module_paths", modulePaths);
interpreter.eval("setup_paths(module_paths)");
// We set the Python variable "map_input_file" to the path to the mapper
// input file
// But this is unfortunately null with the old Hadoop API, see
// https://groups.google.com/group/cascading-user/browse_thread/thread/d65960ad738bebd4/f343e91625cf3c07