apache/tajo — pull request #42 by babokim (2014-06-19 01:53:05+00:00)
Title: TAJO-882: CLI hangs when a error occurs in the GlobalPlanner.

I added a ErrorInjectionRewriter which throws NullPointerException.
You can inject a error status using the following code.
```
try {
// Inject in LogicalPlanner
//testingCluster.setAllTajoDaemonConfValue(("tajo.plan.rewriter.classes",
// ErrorInjectionRewriter.class.getCanonicalName());

// Inject in PhysicalPlanner
testingCluster.setAllWorkersConfValue("tajo.plan.rewriter.classes",
ErrorInjectionRewriter.class.getCanonicalName());
} finally {
// testingCluster.setAllTajoDaemonConfValue("tajo.plan.rewriter.classes", "");
testingCluster.setAllWorkersConfValue("tajo.plan.rewriter.classes", "");
}
```