}
@Test
public void testMapReduceModeInputNegative2() throws Throwable {
PigContext ctx = new PigContext(ExecType.MAPREDUCE, cluster.getProperties()) ;
ctx.connect() ;
String inputfile = createHadoopTempFile(ctx) ;
String outputfile = createHadoopTempFile(ctx) ;
LogicalPlan plan = genNewLoadStorePlan(inputfile, outputfile, ctx.getDfs()) ;
CompilationMessageCollector collector = new CompilationMessageCollector() ;
boolean isBeforeOptimizer = false; // we are not optimizing in this testcase
LogicalPlanValidationExecutor executor = new LogicalPlanValidationExecutor(plan, ctx, isBeforeOptimizer) ;
try {