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

Srikanth Sundarrajan commented on FALCON-1114:
----------------------------------------------

Haven't checked, but this might cause a checkstyle violation. +1 otherwise

{code}
         try {
             List<BundleJob> jobs = 
OozieClientFactory.get(cluster.getName()).getBundleJobsInfo(OozieClient.FILTER_NAME
-                + "=" + EntityUtil.getWorkflowName(entity) + ";", 0, 256);
+                    + "=" + 
org.apache.falcon.entity.EntityUtil.getWorkflowName(entity) + ";", 0, 256);
{code}

> Oozie findBundles lists a directory and tries to match with the bundle's 
> appPath
> --------------------------------------------------------------------------------
>
>                 Key: FALCON-1114
>                 URL: https://issues.apache.org/jira/browse/FALCON-1114
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Pallavi Rao
>            Assignee: Pallavi Rao
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: FALCON-1114-v2.patch, FALCON-1114-v3.patch, 
> FALCON-1114.patch
>
>
> While retrieving the status of an entity or while updating an entity, we 
> iterate over all the staging paths of that entity and then try to see if the 
> corresponding Oozie bundle's appPath matches one of the paths.
> This is a little wasteful. Instead, we should get the appPath of the bundle 
> and ensure it is a Falcon staging path.



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

Reply via email to