falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava" <ajayn...@gmail.com>
Subject Re: Review Request 28498: FALCON: 914 Add fuzzy search for entities
Date Mon, 15 Dec 2014 15:52:30 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Dec. 15, 2014, 3:52 p.m.)

Review request for Falcon.

Bugs: https://issues.apache.org/jira/browse/FALCON-914

Repository: falcon-git


A lot of times users 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.
For fuzzy search like functionality:
falcon entity -list -type process -pattern mhs
should also match the above process name

Diffs (updated)

  client/src/main/java/org/apache/falcon/cli/FalconCLI.java 93776d3 
  client/src/main/java/org/apache/falcon/client/FalconClient.java 23c8943 
  docs/src/site/twiki/restapi/EntityList.twiki b569ade 
  prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java b6e1cec 
  prism/src/main/java/org/apache/falcon/resource/AbstractSchedulableEntityManager.java d994e25

  prism/src/test/java/org/apache/falcon/resource/EntityManagerTest.java 1862e39 
  webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java 5f4f495 
  webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java a3acbdb 

Diff: https://reviews.apache.org/r/28498/diff/


Added detailed unit tests and integration tests for the changes.


Ajay Yadava

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message