You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Hung Tran (JIRA)" <ji...@apache.org> on 2018/11/26 17:56:00 UTC

[jira] [Resolved] (GOBBLIN-637) Create dag checkpoint dir on initialization to avoid NPE

     [ https://issues.apache.org/jira/browse/GOBBLIN-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hung Tran resolved GOBBLIN-637.
-------------------------------
    Resolution: Fixed

Issue resolved by pull request #2507
[https://github.com/apache/incubator-gobblin/pull/2507]

> Create dag checkpoint dir on initialization to avoid NPE
> --------------------------------------------------------
>
>                 Key: GOBBLIN-637
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-637
>             Project: Apache Gobblin
>          Issue Type: Bug
>          Components: gobblin-service
>    Affects Versions: 0.14.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Sudarshan Vasudevan
>            Priority: Major
>             Fix For: 0.14.0
>
>
> FSDagStateStore#getDags() throws a NPE if the dag checkpoint directory does not exist, since File#listFiles() returns null when the directory does not exist. The fix eagerly creates the checkpoint directory on instantiation of FSDagStateStore. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)