MCPcopy Create free account
hub / github.com/apache/pig / getClonedGraph

Method getClonedGraph

src/org/apache/pig/PigServer.java:803–812  ·  view source on GitHub ↗

Creates a clone of the current DAG @return A Graph object which is a clone of the current DAG @throws IOException

()

Source from the content-addressed store, hash-verified

801 * @throws IOException
802 */
803 protected Graph getClonedGraph() throws IOException {
804 Graph graph = currDAG.duplicate();
805
806 if (graph == null) {
807 int errCode = 2127;
808 String msg = "Cloning of plan failed.";
809 throw new FrontendException(msg, errCode, PigException.BUG);
810 }
811 return graph;
812 }
813
814
815 /**

Callers 1

registerNoRunMethod · 0.80

Calls 1

duplicateMethod · 0.80

Tested by

no test coverage detected