1
0

Fix build failing issues

This commit is contained in:
Nishith Agarwal
2017-08-14 11:57:38 -07:00
committed by vinoth chandar
parent 63f1b12355
commit e2d13c6305
3 changed files with 6 additions and 6 deletions

View File

@@ -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);

View File

@@ -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);
}
}