falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava" <ajayn...@gmail.com>
Subject Review Request 28498: FALCON: 914 Add fuzzy search for entities
Date Thu, 27 Nov 2014 04:57:42 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28498/
-----------------------------------------------------------

Review request for Falcon.


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


Repository: falcon-git


Description
-------

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.
My-Hourly-Summary
For fuzzy search like functionality:
falcon entity -list -type process -pattern mhs
should also match the above process name


Diffs
-----

  client/src/main/java/org/apache/falcon/cli/FalconCLI.java c4fc20f 
  client/src/main/java/org/apache/falcon/client/FalconClient.java 9a286ed 
  docs/src/site/twiki/restapi/EntityList.twiki b569ade 
  prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java 8cf4701 
  prism/src/main/java/org/apache/falcon/resource/AbstractSchedulableEntityManager.java d994e25

  prism/src/main/java/org/apache/falcon/resource/proxy/SchedulableEntityManagerProxy.java
fb9d9f3 
  prism/src/test/java/org/apache/falcon/resource/EntityManagerTest.java e39947a 
  webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java 5f4f495 
  webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java 0bcb525 

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


Testing
-------

Added detailed unit tests and integration tests for the changes.


Thanks,

Ajay Yadava


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