zuston commented on code in PR #254:
URL: https://github.com/apache/incubator-uniffle/pull/254#discussion_r1005175594
##########
integration-test/spark-common/src/test/java/org/apache/uniffle/test/RepartitionWithLocalFileRssTest.java:
##########
@@ -53,4 +60,35 @@ public static void setupServers() throws Exception {
@Override
public void updateRssStorage(SparkConf sparkConf) {
}
+
+ /**
+ * Test different compression types with localfile rss mode.
+ * @throws Exception
+ */
+ @Override
+ public void run() throws Exception {
+ String fileName = generateTestFile();
+ SparkConf sparkConf = createSparkConf();
+ Uninterruptibles.sleepUninterruptibly(2, TimeUnit.SECONDS);
+
+ List<Map> results = new ArrayList<>();
+ Map resultWithoutRss = runSparkApp(sparkConf, fileName);
+ results.add(resultWithoutRss);
+
+ updateSparkConfWithRss(sparkConf);
+ updateSparkConfCustomer(sparkConf);
+ for (Codec.Type type :
+ new Codec.Type[]{
+ Codec.Type.NOOP,
+ Codec.Type.ZSTD,
+ Codec.Type.LZ4}) {
+ sparkConf.set("spark." + COMPRESSION_TYPE.key(), type.name());
Review Comment:
Got it. I will
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]