You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "yury vashchyla (JIRA)" <ji...@apache.org> on 2012/07/12 22:43:34 UTC

[jira] [Created] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

yury vashchyla created ACCUMULO-687:
---------------------------------------

             Summary: Unable to connect to remote Accumulo instance via Java
                 Key: ACCUMULO-687
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: yury vashchyla


I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.

However from a remote machine:

new ZooKeeperInstance("inst0", "192.168.1.4:2181").getConnector("root", "password".getBytes());

I get the following error:

12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

Posted by "yury vashchyla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

yury vashchyla resolved ACCUMULO-687.
-------------------------------------

    Resolution: Fixed
    
> Unable to connect to remote Accumulo instance via Java
> ------------------------------------------------------
>
>                 Key: ACCUMULO-687
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: yury vashchyla
>
> I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.
> However from a remote machine:
> new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());
> I get the following error:
> 12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

Posted by "yury vashchyla (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413215#comment-13413215 ] 

yury vashchyla commented on ACCUMULO-687:
-----------------------------------------

It works. Thanks a lot!!
                
> Unable to connect to remote Accumulo instance via Java
> ------------------------------------------------------
>
>                 Key: ACCUMULO-687
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: yury vashchyla
>
> I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.
> However from a remote machine:
> new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());
> I get the following error:
> 12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

Posted by "yury vashchyla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

yury vashchyla updated ACCUMULO-687:
------------------------------------

    Description: 
I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.

However from a remote machine:

new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());

I get the following error:

12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]


  was:
I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.

However from a remote machine:

new ZooKeeperInstance("inst0", "192.168.1.4:2181").getConnector("root", "password".getBytes());

I get the following error:

12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]


    
> Unable to connect to remote Accumulo instance via Java
> ------------------------------------------------------
>
>                 Key: ACCUMULO-687
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: yury vashchyla
>
> I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.
> However from a remote machine:
> new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());
> I get the following error:
> 12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines updated ACCUMULO-687:
--------------------------------

    Comment: was deleted

(was: This is the issue that Dave was experiencing with trunk it seems. Perhaps we want to develop a test which exercises this to prevent failure in future releases.)
    
> Unable to connect to remote Accumulo instance via Java
> ------------------------------------------------------
>
>                 Key: ACCUMULO-687
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: yury vashchyla
>
> I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.
> However from a remote machine:
> new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());
> I get the following error:
> 12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

Posted by "Eric Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413185#comment-13413185 ] 

Eric Newton commented on ACCUMULO-687:
--------------------------------------

Change your masters/slaves files to contain "192.168.1.4" instead of "localhost". You can use whatever hostname that host has so long as it is resolvable.

                
> Unable to connect to remote Accumulo instance via Java
> ------------------------------------------------------
>
>                 Key: ACCUMULO-687
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: yury vashchyla
>
> I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.
> However from a remote machine:
> new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());
> I get the following error:
> 12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ACCUMULO-687) Unable to connect to remote Accumulo instance via Java

Posted by "John Vines (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413180#comment-13413180 ] 

John Vines commented on ACCUMULO-687:
-------------------------------------

This is the issue that Dave was experiencing with trunk it seems. Perhaps we want to develop a test which exercises this to prevent failure in future releases.
                
> Unable to connect to remote Accumulo instance via Java
> ------------------------------------------------------
>
>                 Key: ACCUMULO-687
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-687
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: yury vashchyla
>
> I have an Accumulo instance setup (with everything running on onehost) and I'm able to connect locally through the Accumulo shell.
> However from a remote machine:
> new ZooKeeperInstance("inst0", "192.168.1.4").getConnector("root", "password".getBytes());
> I get the following error:
> 12/07/12 16:02:57 WARN impl.ServerClient: Failed to find an available server in the list of servers: [127.0.0.1:9997:9997 (120000)]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira