}
String[] split = sparkInterpreter.getSparkContext().version().split("\\.");
int version = Integer.parseInt(split[0]) * 10 + Integer.parseInt(split[1]);
return version;
}
<BUG>@Before

public void setUp() throws Exception {
</BUG>
intpGroup = new InterpreterGroup();

}
public static int getSparkVersionNumber() {
if (sparkInterpreter == null) {
return 0;
}
String[] split = sparkInterpreter.getSparkContext().version().split("\\.");
int version = Integer.parseInt(split[0]) * 10 + Integer.parseInt(split[1]);
return version;
}
@BeforeClass
public static void setUp() throws Exception {
intpGroup = new InterpreterGroup();
