You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by aj...@apache.org on 2015/12/17 16:13:36 UTC
[2/2] falcon git commit: FALCON-1669 Falcon should show more helpful
message when it is unable to initialize Falcon Client object. Contributed by
Baishuo.
FALCON-1669 Falcon should show more helpful message when it is unable to initialize Falcon Client object. Contributed by Baishuo.
Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/62fb403b
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/62fb403b
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/62fb403b
Branch: refs/heads/master
Commit: 62fb403beeb75da5f376c5c907fec5f2167842c0
Parents: 94a7058
Author: Ajay Yadava <aj...@gmail.com>
Authored: Thu Dec 17 19:17:29 2015 +0530
Committer: Ajay Yadava <aj...@gmail.com>
Committed: Thu Dec 17 19:17:29 2015 +0530
----------------------------------------------------------------------
CHANGES.txt | 2 ++
client/src/main/java/org/apache/falcon/client/FalconClient.java | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/falcon/blob/62fb403b/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ae45515..45d2e7c 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -35,6 +35,8 @@ Trunk (Unreleased)
FALCON-1213 Base framework of the native scheduler(Pallavi Rao)
IMPROVEMENTS
+ FALCON-1669 Falcon should show more helpful message when it is unable to initialize Falcon Client object(Baishuo via Ajay Yadava)
+
FALCON-1635 Migration of EntityManagerJerseySmokeIT to use falcon unit(Narayan Periwal via Ajay Yadava)
FALCON-1447 Integration Tests for native scheduler(Pavan Kumar Kolamuri via Ajay Yadava)
http://git-wip-us.apache.org/repos/asf/falcon/blob/62fb403b/client/src/main/java/org/apache/falcon/client/FalconClient.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/falcon/client/FalconClient.java b/client/src/main/java/org/apache/falcon/client/FalconClient.java
index b4b1762..aea39a6 100644
--- a/client/src/main/java/org/apache/falcon/client/FalconClient.java
+++ b/client/src/main/java/org/apache/falcon/client/FalconClient.java
@@ -150,7 +150,7 @@ public class FalconClient extends AbstractFalconClient {
client.resource(UriBuilder.fromUri(baseUrl).build());
authenticationToken = getToken(baseUrl);
} catch (Exception e) {
- throw new FalconCLIException("Unable to initialize Falcon Client object", e);
+ throw new FalconCLIException("Unable to initialize Falcon Client object. Cause : " + e.getMessage(), e);
}
}