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 <pjos...@hortonworks.com>

Reviewers: sandeep<sandys...@gmail.com>, Pallavi Rao <pallavi....@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 <pjos...@hortonworks.com>
Authored: Mon Jun 19 14:44:00 2017 +0530
Committer: sandeep <sand...@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);
                             }
                         }
                     });

Reply via email to