[
https://issues.apache.org/jira/browse/GOBBLIN-1144?focusedWorklogId=432572&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-432572
]
ASF GitHub Bot logged work on GOBBLIN-1144:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 10/May/20 21:06
Start Date: 10/May/20 21:06
Worklog Time Spent: 10m
Work Description: sv2000 commented on a change in pull request #2981:
URL: https://github.com/apache/incubator-gobblin/pull/2981#discussion_r422700381
##########
File path:
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/spec_catalog/FlowCatalog.java
##########
@@ -325,12 +325,14 @@ public Spec getSpecWrapper(URI uri) {
return responseMap;
}
- private boolean isCompileSuccessful(Map<String, AddSpecResponse>
responseMap) {
+ public static boolean isCompileSuccessful(Map<String, AddSpecResponse>
responseMap) {
AddSpecResponse<String> addSpecResponse =
responseMap.getOrDefault(ServiceConfigKeys.GOBBLIN_SERVICE_JOB_SCHEDULER_LISTENER_CLASS,
new AddSpecResponse<>(""));
- return addSpecResponse != null
- && addSpecResponse.getValue() != null
- && !addSpecResponse.getValue().contains("ConfigException");
+ return isCompileSuccessful(addSpecResponse.getValue());
+ }
+
+ public static boolean isCompileSuccessful(String dag) {
Review comment:
Understood. One option would be to relocate FlowCatalog inside
gobblin-service module. Not sure, if it will require a significant refactoring
effort, in which case, it is ok to leave it as-is and we can do the refactoring
in a separate PR.
----------------------------------------------------------------
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: 432572)
Time Spent: 1h 10m (was: 1h)
> move spec store delete to gobblinservice job scheduler
> ------------------------------------------------------
>
> Key: GOBBLIN-1144
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1144
> Project: Apache Gobblin
> Issue Type: Bug
> Reporter: Arjun Singh Bora
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)