You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Samarth Gupta (JIRA)" <ji...@apache.org> on 2014/07/31 05:47:38 UTC

[jira] [Comment Edited] (FALCON-560) Unable to initialize Falcon Client object

    [ https://issues.apache.org/jira/browse/FALCON-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14080451#comment-14080451 ] 

Samarth Gupta edited comment on FALCON-560 at 7/31/14 3:46 AM:
---------------------------------------------------------------

[~waterman]  can you check the "client.properties" file inside the conf folder of falcon installation.
there is a url mentioned there, it should be same as where you have started the falcon prism / server. Also check for "http" or "https" depending upon how you have started falcon 


was (Author: samarthg):
[~friendmine]  can you check the "client.properties" file inside the conf folder of falcon installation.
there is a url mentioned there, it should be same as where you have started the falcon prism / server. Also check for "http" or "https" depending upon how you have started falcon 

> Unable to initialize Falcon Client object
> -----------------------------------------
>
>                 Key: FALCON-560
>                 URL: https://issues.apache.org/jira/browse/FALCON-560
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Yadong Qi
>
> when i run bin/falcon-debug admin -version
> It throws exception:
> Stacktrace:
> org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client object
>         at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:132)
>         at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:169)
>         at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:125)
> Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, Connection refused
>         at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:159)
>         at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:130)
>         ... 2 more
> Caused by: java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
>         at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
>         at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
>         at java.net.Socket.connect(Socket.java:579)
>         at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:612)
>         at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
>         at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:270)
>         at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327)
>         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
>         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
>         at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
>         at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:186)
>         at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:232)
>         at org.apache.falcon.client.FalconClient.getToken(FalconClient.java:157)
>         ... 3 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)