Fix build failing issues
This commit is contained in:
committed by
vinoth chandar
parent
63f1b12355
commit
e2d13c6305
@@ -90,15 +90,15 @@ public class TestMergeOnReadTable {
|
||||
dfsCluster.shutdown();;
|
||||
}
|
||||
FSUtils.setFs(null);
|
||||
// TEMPFIX(vc): Fix failing build
|
||||
//FileSystem.closeAll();
|
||||
// Need to closeAll to clear FileSystem.Cache, required because DFS and LocalFS used in the same JVM
|
||||
FileSystem.closeAll();
|
||||
HoodieTestUtils.resetFS();
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
public static void setUpDFS() throws IOException {
|
||||
// TEMPFIX(vc): Fix failing build
|
||||
//FileSystem.closeAll();
|
||||
// Need to closeAll to clear FileSystem.Cache, required because DFS and LocalFS used in the same JVM
|
||||
FileSystem.closeAll();
|
||||
if (hdfsTestService == null) {
|
||||
hdfsTestService = new HdfsTestService();
|
||||
dfsCluster = hdfsTestService.start(true);
|
||||
|
||||
@@ -87,7 +87,7 @@ public class HoodieClientTestUtils {
|
||||
SparkConf sparkConf = new SparkConf()
|
||||
.setAppName(appName)
|
||||
.set("spark.serializer", "org.apache.spark.serializer.KryoSerializer")
|
||||
.setMaster("local[4]");
|
||||
.setMaster("local[1]");
|
||||
return HoodieReadClient.addHoodieSupport(sparkConf);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user