Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>emr_serverless_spark20230808</artifactId>
<version>1.0.0</version>
<version>2.4.1</version>
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
</dependency>

<dependency>
<groupId>com.aliyun</groupId>
<artifactId>credentials-java</artifactId>
<version>0.3.0</version>
<version>1.0.1</version>
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>credentials-java</artifactId>
<version>0.3.0</version>
<version>1.0.1</version>
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void init() {
buildAliyunServerlessSparkClient(accessKeyId, accessKeySecret, regionId, endpoint);
} catch (Exception e) {
log.error("Failed to build Aliyun-Serverless-Spark client!", e);
throw new AliyunServerlessSparkTaskException("Failed to build Aliyun-Serverless-Spark client!");
throw new AliyunServerlessSparkTaskException("Failed to build Aliyun-Serverless-Spark client! " + e.getMessage(), e);
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
}

currentState = RunState.Submitted;
Expand Down Expand Up @@ -154,7 +154,7 @@ public void handle(TaskCallBack taskCallBack) throws TaskException {
return aliyunServerlessSparkClient.startJobRun(
aliyunServerlessSparkParameters.getWorkspaceId(), startJobRunRequest);
} catch (Exception e) {
throw new AliyunServerlessSparkTaskException("Failed to start job run!");
throw new AliyunServerlessSparkTaskException("Failed to start job run! " + e.getMessage(), e);
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
}
}, retryPolicy);

Expand Down Expand Up @@ -224,7 +224,7 @@ public void cancelApplication() throws TaskException {
aliyunServerlessSparkParameters.getWorkspaceId(), jobRunId,
cancelJobRunRequest);
} catch (Exception e) {
throw new AliyunServerlessSparkTaskException("Failed to cancel job run!");
throw new AliyunServerlessSparkTaskException("Failed to cancel job run! " + e.getMessage(), e);
Comment thread
SbloodyS marked this conversation as resolved.
Outdated
}
}, retryPolicy);
}
Expand Down
Loading