You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Chen Guo (Jira)" <ji...@apache.org> on 2019/11/15 02:30:00 UTC

[jira] [Created] (GOBBLIN-965) Preconditions checks in JobLauncherUtils.cleanJobStagingData doesn't consider whether state store has been disabled

Chen Guo created GOBBLIN-965:
--------------------------------

             Summary: Preconditions checks in JobLauncherUtils.cleanJobStagingData doesn't consider whether state store has been disabled
                 Key: GOBBLIN-965
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-965
             Project: Apache Gobblin
          Issue Type: New Feature
            Reporter: Chen Guo


Preconditions checks in JobLauncherUtils.cleanJobStagingData will always check the configuration for WRITER and OUTPUT path even if the state store has been disabled. 
{code:java}
Preconditions.checkArgument(state.contains(ConfigurationKeys.WRITER_STAGING_DIR), "Missing required property " + ConfigurationKeys.WRITER_STAGING_DIR); Preconditions.checkArgument(state.contains(ConfigurationKeys.WRITER_OUTPUT_DIR), "Missing required property " + ConfigurationKeys.WRITER_OUTPUT_DIR);
{code}
We need to add an if statement to cover this case.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)