falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-840) Possible NPE in filteredInstanceSet method of AbstractInstanceManager
Date Tue, 28 Oct 2014 23:44:34 GMT

    [ https://issues.apache.org/jira/browse/FALCON-840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187728#comment-14187728
] 

Venkatesh Seetharam commented on FALCON-840:
--------------------------------------------

The method org.apache.falcon.resource.AbstractInstanceManager#filteredInstanceSet is quite
complex and simplification would help the readability. 

> Possible NPE in filteredInstanceSet method of AbstractInstanceManager
> ---------------------------------------------------------------------
>
>                 Key: FALCON-840
>                 URL: https://issues.apache.org/jira/browse/FALCON-840
>             Project: Falcon
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>             Fix For: 0.6
>
>         Attachments: FALCON-840.patch
>
>
> - sourceCluster and startTime can be null for an instance. If a user wants to filter
instances by these fields, Falcon should check for null before comparing these fields with
filterBy param value. 
> - The filterBy param value for startTime filter can be unparseable date. Handle this
error with more helpful error message.
> - FalconWebException thrown should have more helpful error message. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message