You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2018/12/12 01:04:31 UTC

[GitHub] shaofengshi commented on a change in pull request #373: KYLIN-3406 Ignore execute output file lose

shaofengshi commented on a change in pull request #373: KYLIN-3406 Ignore execute output file lose
URL: https://github.com/apache/kylin/pull/373#discussion_r240850431
 
 

 ##########
 File path: core-job/src/main/java/org/apache/kylin/job/dao/ExecutableDao.java
 ##########
 @@ -393,7 +395,14 @@ public ExecutableOutputPO getJobOutput(String uuid) throws PersistentException {
             return result;
         } catch (IOException e) {
             logger.error("error get job output id:" + uuid, e);
-            throw new PersistentException(e);
+            if(e.getCause() instanceof FileNotFoundException) {
+                result = new ExecutableOutputPO();
+                result.setUuid(uuid);
+                result.setStatus(ExecutableState.SUCCEED.name());
+                return result;
+            }else {
 
 Review comment:
   This seems not formatted; Please double check and ensure your IDE has been configured.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services