public void explain(PhysicalPlan plan, PrintStream stream, String format, boolean verbose) {
try {
MapRedUtil.checkLeafIsStore(plan, pigContext);
MapReduceLauncher launcher = new MapReduceLauncher();
launcher.explain(plan, pigContext, stream, format, verbose);
} catch (Exception ve) {
throw new RuntimeException(ve);
}
}