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

Method setUpBeforeClass

test/org/apache/pig/test/TestPigRunner.java:85–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 public TemporaryFolder temporaryFolder = new TemporaryFolder();
84
85 @BeforeClass
86 public static void setUpBeforeClass() throws Exception {
87 cluster = MiniGenericCluster.buildCluster();
88 execType = cluster.getExecType().name().toLowerCase();
89 PrintWriter w = new PrintWriter(new FileWriter(INPUT_FILE));
90 w.println("1\t2\t3");
91 w.println("5\t3\t4");
92 w.println("3\t4\t5");
93 w.println("5\t6\t7");
94 w.println("3\t7\t8");
95 w.close();
96 Util.copyFromLocalToCluster(cluster, INPUT_FILE, INPUT_FILE);
97 }
98
99 @AfterClass
100 public static void tearDownAfterClass() throws Exception {

Callers

nothing calls this directly

Calls 5

buildClusterMethod · 0.95
nameMethod · 0.65
closeMethod · 0.65
getExecTypeMethod · 0.45

Tested by

no test coverage detected