forked from D-Net/dnet-hadoop
[ECclassification] removed not needed resources
This commit is contained in:
parent
d4fc62c2f6
commit
b0c2f7e526
|
@ -13,10 +13,7 @@ import org.apache.spark.SparkConf;
|
||||||
import org.apache.spark.api.java.JavaRDD;
|
import org.apache.spark.api.java.JavaRDD;
|
||||||
import org.apache.spark.api.java.JavaSparkContext;
|
import org.apache.spark.api.java.JavaSparkContext;
|
||||||
import org.apache.spark.sql.SparkSession;
|
import org.apache.spark.sql.SparkSession;
|
||||||
import org.junit.jupiter.api.AfterAll;
|
import org.junit.jupiter.api.*;
|
||||||
import org.junit.jupiter.api.Assertions;
|
|
||||||
import org.junit.jupiter.api.BeforeAll;
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
@ -75,6 +72,7 @@ public class ReadTopicTest {
|
||||||
spark.stop();
|
spark.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Disabled
|
||||||
@Test
|
@Test
|
||||||
void readTopics() throws IOException {
|
void readTopics() throws IOException {
|
||||||
String topics = getClass()
|
String topics = getClass()
|
||||||
|
@ -95,7 +93,7 @@ public class ReadTopicTest {
|
||||||
Assertions.assertEquals("Individual Fellowships", topic.getTitle());
|
Assertions.assertEquals("Individual Fellowships", topic.getTitle());
|
||||||
Assertions.assertEquals("MSCA-IF-2019", topic.getTopic());
|
Assertions.assertEquals("MSCA-IF-2019", topic.getTopic());
|
||||||
|
|
||||||
tmp.foreach(p -> System.out.println(OBJECT_MAPPER.writeValueAsString(p)));
|
//tmp.foreach(p -> System.out.println(OBJECT_MAPPER.writeValueAsString(p)));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in New Issue