falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suh...@apache.org
Subject falcon git commit: FALCON-1141 Reverse Lookup for feed in prism fails with BadRequest. Contributed by Ajay Yadava
Date Thu, 09 Apr 2015 10:16:58 GMT
Repository: falcon
Updated Branches:
  refs/heads/master f821219f1 -> 8c7eaa69f


FALCON-1141 Reverse Lookup for feed in prism fails with BadRequest. Contributed by Ajay Yadava


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/8c7eaa69
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/8c7eaa69
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/8c7eaa69

Branch: refs/heads/master
Commit: 8c7eaa69f015615bf3753ec434bad20669a313f9
Parents: f821219
Author: Suhas Vasu <suhas.v@inmobi.com>
Authored: Thu Apr 9 15:46:44 2015 +0530
Committer: Suhas Vasu <suhas.v@inmobi.com>
Committed: Thu Apr 9 15:46:44 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                 | 9 +++++++++
 .../org/apache/falcon/resource/AbstractEntityManager.java   | 2 +-
 .../apache/falcon/resource/SchedulableEntityManager.java    | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/8c7eaa69/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 2b7f2a2..bde0720 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -12,6 +12,9 @@ Trunk (Unreleased)
   OPTIMIZATIONS
 
   BUG FIXES
+    FALCON-1141 Reverse Lookup for feed in prism fails with BadRequest
+    (Ajay Yadava via Suhas Vasu)
+
     FALCON-1143 Correcting order of entities on reload
     (Ajay Yadava via Suhas Vasu)
 
@@ -152,6 +155,12 @@ Branch: 0.6.1 (Proposed Release Version: 0.6.1)
    (Suhas vasu)
 
   BUG FIXES
+   FALCON-1141 Reverse Lookup for feed in prism fails with BadRequest
+   (Ajay Yadava via Suhas Vasu)
+
+   FALCON-1143 Correcting order of entities on reload
+   (Ajay Yadava via Suhas Vasu)
+
    FALCON-1144 Dynamic partitions not getting registered in Hcat
    (Suhas Vasu)
 

http://git-wip-us.apache.org/repos/asf/falcon/blob/8c7eaa69/prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java
----------------------------------------------------------------------
diff --git a/prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java b/prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java
index c56ecbb..1e2fc82 100644
--- a/prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java
+++ b/prism/src/main/java/org/apache/falcon/resource/AbstractEntityManager.java
@@ -952,7 +952,7 @@ public abstract class AbstractEntityManager {
      * @param instancePath location of the data
      * @return Feed Name, type of the data and cluster name.
      */
-    public APIResult reverseLookup(String type, String instancePath) {
+    public FeedLookupResult reverseLookup(String type, String instancePath) {
         try {
             EntityType entityType = EntityType.getEnum(type);
             if (entityType != EntityType.FEED) {

http://git-wip-us.apache.org/repos/asf/falcon/blob/8c7eaa69/webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java
----------------------------------------------------------------------
diff --git a/webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java
b/webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java
index 261a9a9..4740c71 100644
--- a/webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java
+++ b/webapp/src/main/java/org/apache/falcon/resource/SchedulableEntityManager.java
@@ -166,7 +166,7 @@ public class SchedulableEntityManager extends AbstractSchedulableEntityManager
{
     @Path("lookup/{type}/")
     @Produces(MediaType.APPLICATION_JSON)
     @Monitored(event = "reverse-lookup")
-    public APIResult reverseLookup(
+    public FeedLookupResult reverseLookup(
             @Dimension("type") @PathParam("type") String type,
             @Dimension("path") @QueryParam("path") String instancePath) {
         return super.reverseLookup(type, instancePath);


Mime
View raw message