seojangho commented on a change in pull request #31: [NEMO-97] Refactor
TaskExecutor and fix a sideinput bug
URL: https://github.com/apache/incubator-nemo/pull/31#discussion_r195323052
##########
File path:
compiler/frontend/spark/src/main/java/edu/snu/nemo/compiler/frontend/spark/source/SparkDatasetBoundedSourceVertex.java
##########
@@ -105,12 +107,18 @@ private SparkDatasetBoundedSourceReadable(final
Partition partition,
}
@Override
- public Iterable<T> read() throws Exception {
+ public Iterable<T> read() throws IOException {
// for setting up the same environment in the executors.
final SparkSession spark = SparkSession.builder()
.config(sessionInitialConf)
.getOrCreate();
- final Dataset<T> dataset = SparkSession.initializeDataset(spark,
commands);
+ final Dataset<T> dataset;
+
+ try {
+ dataset = SparkSession.initializeDataset(spark, commands);
+ } catch (OperationNotSupportedException e) {
Review comment:
`final OperationNotSupportedException e`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services