falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sande...@apache.org
Subject falcon git commit: display file name for which the configuration store was not able to load
Date Mon, 19 Jun 2017 09:14:14 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 7800d342c -> 90cb996f5


display file name for which the configuration store was not able to load

FALCON-2298 Error message is not helpful when a feed has issue during umarshall

Author: Prabhu Joseph <pjoseph@hortonworks.com>

Reviewers: sandeep<sandysmdl@gmail.com>, Pallavi Rao <pallavi.rao@inmobi.com>

Closes #383 from PrabhuJoseph/master


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

Branch: refs/heads/master
Commit: 90cb996f5c555dae6ece54ca496d26d2345f15b9
Parents: 7800d34
Author: Prabhu Joseph <pjoseph@hortonworks.com>
Authored: Mon Jun 19 14:44:00 2017 +0530
Committer: sandeep <sandeep@kickseed.corp.inmobi.com>
Committed: Mon Jun 19 14:44:00 2017 +0530

----------------------------------------------------------------------
 .../java/org/apache/falcon/entity/store/ConfigurationStore.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/90cb996f/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java b/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java
index 11cdc05..c00e239 100644
--- a/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java
+++ b/common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java
@@ -211,7 +211,7 @@ public final class ConfigurationStore implements FalconService {
                                 LOG.info("Restored configuration {}/{}", type, entityName);
                                 entityMap.put(entityName, entity);
                             } catch (IOException | FalconException e) {
-                                LOG.error("Unable to restore entity of", file);
+                                LOG.error("Unable to restore entity of " + file.getPath().getName(),
e);
                             }
                         }
                     });


Mime
View raw message