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 Tue, 02 Dec 2014 04:38:13 GMT

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

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

{noformat}
riksun:incubator-falcon sriksun$ curl "https://issues.apache.org/jira/secure/attachment/12683537/FALCON-914.patch"
| git apply -v --check
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25705  100 25705    0     0  12920      0  0:00:01  0:00:01 --:--:-- 12917
Checking patch client/src/main/java/org/apache/falcon/cli/FalconCLI.java...
Checking patch client/src/main/java/org/apache/falcon/client/FalconClient.java...
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 551 (offset 13 lines).
Hunk #4 succeeded at 583 (offset 13 lines).
Hunk #5 succeeded at 622 (offset 13 lines).
Hunk #6 succeeded at 640 (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...
Checking patch prism/src/test/java/org/apache/falcon/resource/EntityManagerTest.java...
Hunk #5 succeeded at 189 (offset 7 lines).
Hunk #6 succeeded at 199 (offset 7 lines).
Hunk #7 succeeded at 208 (offset 7 lines).
Hunk #8 succeeded at 227 (offset 7 lines).
Checking patch webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java...
Checking patch webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java...
error: while searching for:
        OozieTestUtils.waitForProcessWFtoStart(context);

        // test entity List cli
        Assert.assertEquals(0,
                executeWithURL("entity -list -type cluster"
                        + " -offset 0 -numResults 1"));

error: patch failed: webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java:684
error: webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java: patch does not apply
{noformat}

> 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.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