falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-914) Add option to search for Entities
Date Thu, 25 Dec 2014 05:51:13 GMT

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

Srikanth Sundarrajan commented on FALCON-914:
---------------------------------------------

[~ajayyadava], Can you please check this ?

{noformat}
curl "https://issues.apache.org/jira/secure/attachment/12689008/FALCON-914-v3.patch" | git
apply -v --check
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25608  100 25608    0     0   1500      0  0:00:17  0:00:17 --:--:--  5348
Checking patch client/src/main/java/org/apache/falcon/cli/FalconCLI.java...
Hunk #2 succeeded at 375 (offset -2 lines).
Hunk #3 succeeded at 439 (offset -3 lines).
Hunk #4 succeeded at 648 (offset -4 lines).
error: while searching for:
        entityOptions.addOption(effective);
        entityOptions.addOption(fields);
        entityOptions.addOption(filterBy);
        entityOptions.addOption(filterTags);
        entityOptions.addOption(orderBy);
        entityOptions.addOption(sortOrder);

error: patch failed: client/src/main/java/org/apache/falcon/cli/FalconCLI.java:673
error: client/src/main/java/org/apache/falcon/cli/FalconCLI.java: patch does not apply
Checking patch client/src/main/java/org/apache/falcon/client/FalconClient.java...
Hunk #1 succeeded at 364 (offset -5 lines).
Hunk #2 succeeded at 574 (offset -5 lines).
Hunk #3 succeeded at 613 (offset -5 lines).
Hunk #4 succeeded at 634 (offset -5 lines).
Hunk #5 succeeded at 714 (offset -5 lines).
Hunk #6 succeeded at 767 (offset -5 lines).
Checking patch docs/src/site/twiki/restapi/EntityList.twiki...
Checking patch prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java...
Hunk #3 succeeded at 538 (offset -13 lines).
Hunk #4 succeeded at 570 (offset -13 lines).
Hunk #5 succeeded at 609 (offset -13 lines).
Hunk #6 succeeded at 627 (offset -13 lines).
Checking patch prism/src/main/java/org/apache/falcon/resource/AbstractSchedulableEntityManager.java...
Checking patch prism/src/main/java/org/apache/falcon/resource/proxy/SchedulableEntityManagerProxy.java...
Hunk #1 succeeded at 399 (offset -2 lines).
Checking patch prism/src/test/java/org/apache/falcon/resource/EntityManagerTest.java...
Checking patch webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java...
Checking patch webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java...
{noformat}

Patch doesn't apply cleanly

> Add option to search for Entities
> ---------------------------------
>
>                 Key: FALCON-914
>                 URL: https://issues.apache.org/jira/browse/FALCON-914
>             Project: Falcon
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Ajay Yadav
>            Assignee: Ajay Yadav
>         Attachments: FALCON-914-v1.patch, FALCON-914-v2.patch, FALCON-914-v3.patch, FALCON-914.patch
>
>
> Lot of times user end up doing a list of all entities of a given type and do grep -i
on it. We should add ability for doing a case insensitive fuzzy search for users to search
for entities when they don't remember the exact entity name. We can add this as another option
to list 
> e.g. falcon entity -list -type process -pattern hourly
> and this should match the following process name.
> My-Hourly-Summary
> For fuzzy search like functionality:
> falcon entity -list -type process -pattern mhs
> should also match the above process name



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

Mime
View raw message