GitHub user yzheng-hortonworks opened a pull request:

    https://github.com/apache/falcon/pull/223

    FALCON-2073 Handle with NULL corner case

    Changes:
    1. EntityGraph::getDependents should return empty list instead of NULL 
value if there is no dependent entities. Affected method include 
OozieWorkflowEngine::updateDependant and 
AbstractEntityManager::getDependencies. Also removed unnecessary existing NULL 
checks after the change.
    2. In LogProvider::populateActionLogUrls, handle with the NULL case where 
there is no file status under the specified path.
    3. FalconClient::getDependency should return empty list instead of NULL 
value if there is no dependent entities. Affected method include 
FalconEntityCLI::entityCommand.
    
    Extra minor changes in this patch:
    4. A regular expression misusage in LogProvider::getActionName. To match 
special character ".", should use "[.]" instead of "." which will try to match 
any character.
    5. Fix a rat check error in Falcon CLI due to the introduction of Spring 
shell commands.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yzheng-hortonworks/falcon FALCON-2073

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/falcon/pull/223.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #223
    
----
commit c69f9a4b9f13f957611d2da6eca423b6fc07fc64
Author: yzheng-hortonworks <[email protected]>
Date:   2016-07-12T21:23:29Z

    FALCON-2073 Handle with NULL corner case

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to