falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzheng-hortonworks <...@git.apache.org>
Subject [GitHub] falcon pull request #223: FALCON-2073 Handle with NULL corner case
Date Tue, 12 Jul 2016 23:19:43 GMT
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 <yzheng@hortonworks.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message