Skip to Content.
Sympa Menu

illinois-ml-nlp-users - Re: [Illinois-ml-nlp-users] Connection Time Out Error

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

Re: [Illinois-ml-nlp-users] Connection Time Out Error


Chronological Thread 
  • From: "Sammons, Mark" <mssammon AT illinois.edu>
  • To: Bishan Yang <bishan.yang AT gmail.com>, "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: Re: [Illinois-ml-nlp-users] Connection Time Out Error
  • Date: Sun, 4 Nov 2012 04:50:32 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

Hi, Bishan.

Perhaps the documentation isn't clear enough, but you need to have your own instance of Curator running, and to use the hostname of the machine on which the main Curator process is running.

Regards,

Mark


From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Bishan Yang [bishan.yang AT gmail.com]
Sent: Saturday, November 03, 2012 7:01 PM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] Connection Time Out Error

Hi,

I am trying the CuratorConnection example provided in Edison. Following is the connection code:

String curatorHost = "grandma.cs.uiuc.edu";
int curatorPort = 9010;
CuratorClient client = new CuratorClient(curatorHost, curatorPort);

The error I got is

Exception in thread "main" org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection timed out
    at org.apache.thrift.transport.TSocket.open(TSocket.java:185)
    at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
    at edu.illinois.cs.cogcomp.edison.data.curator.CuratorClient.getTextAnnotation(CuratorClient.java:293)
    at CuratorConnectionExample.main(CuratorConnectionExample.java:43)
Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    at java.net.Socket.connect(Socket.java:546)
    at org.apache.thrift.transport.TSocket.open(TSocket.java:180)
......

Maybe the hostname and port number are not correct. Could anyone help me set up the connection to Curator?

Thanks a lot!

Best,
Bishan



Archive powered by MHonArc 2.6.16.

Top of Page