[
https://issues.apache.org/jira/browse/GOBBLIN-864?focusedWorklogId=302327&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-302327
]
ASF GitHub Bot logged work on GOBBLIN-864:
------------------------------------------
Author: ASF GitHub Bot
Created on: 27/Aug/19 19:22
Start Date: 27/Aug/19 19:22
Worklog Time Spent: 10m
Work Description: arjun4084346 commented on pull request #2720:
[GOBBLIN-864] add job error message in job state
URL: https://github.com/apache/incubator-gobblin/pull/2720#discussion_r318254432
##########
File path:
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/JobState.java
##########
@@ -326,6 +326,23 @@ public void setTaskCount(int taskCount) {
this.taskCount = taskCount;
}
+ /**
+ * If not already present, set the {@link
ConfigurationKeys#JOB_FAILURE_EXCEPTION_KEY} to a {@link String}
+ * representation of the given {@link Throwable}.
+ */
+ public void setJobFailureException(Throwable jobFailureException) {
+ if (!this.contains(ConfigurationKeys.JOB_FAILURE_EXCEPTION_KEY)) {
Review comment:
fixed
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 302327)
Time Spent: 1.5h (was: 1h 20m)
> add job error message in job state
> ----------------------------------
>
> Key: GOBBLIN-864
> URL: https://issues.apache.org/jira/browse/GOBBLIN-864
> Project: Apache Gobblin
> Issue Type: Improvement
> Reporter: Arjun Singh Bora
> Priority: Minor
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)