{"action":"opened","issue":{"url":"https://api.github.com/repos/allenai/semanticilp/issues/5","repository_url":"https://api.github.com/repos/allenai/semanticilp","labels_url":"https://api.github.com/repos/allenai/semanticilp/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/allenai/semanticilp/issues/5/comments","events_url":"https://api.github.com/repos/allenai/semanticilp/issues/5/events","html_url":"https://github.com/allenai/semanticilp/issues/5","id":377288300,"node_id":"MDU6SXNzdWUzNzcyODgzMDA=","number":5,"title":"Elastic Search cluster missing","user":{"login":"gurpreet14","id":23559098,"node_id":"MDQ6VXNlcjIzNTU5MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/23559098?v=4","gravatar_id":"","url":"https://api.github.com/users/gurpreet14","html_url":"https://github.com/gurpreet14","followers_url":"https://api.github.com/users/gurpreet14/followers","following_url":"https://api.github.com/users/gurpreet14/following{/other_user}","gists_url":"https://api.github.com/users/gurpreet14/gists{/gist_id}","starred_url":"https://api.github.com/users/gurpreet14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurpreet14/subscriptions","organizations_url":"https://api.github.com/users/gurpreet14/orgs","repos_url":"https://api.github.com/users/gurpreet14/repos","events_url":"https://api.github.com/users/gurpreet14/events{/privacy}","received_events_url":"https://api.github.com/users/gurpreet14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T08:04:46Z","updated_at":"2018-11-05T08:04:46Z","closed_at":null,"author_association":"NONE","body":"I managed to start all the servers mentioned in the README. When a request is made over the network, the following error shows up in the browser: \r\n```\r\nExecution exception \r\n[IllegalArgumentException: Address must be resolved but wasn't - InetSocketAddress#getAddress() returned null]\r\n\r\nIn /home/semanticilp/src/main/scala/org/allenai/ari/solvers/textilp/utils/SolverUtils.scala:159\r\n155      .put(\"client.transport.sniff\", false)\r\n156      .put(\"sniffOnConnectionFault\", false)\r\n157      .build()\r\n158    val host = Constants.elasticBeingUsed.hostIp\r\n159    val address = new InetSocketTransportAddress(new InetSocketAddress(host, Constants.elasticBeingUsed.hostPort))\r\n160    println(s\"Created Elastic Search Client in cluster ${Constants.elasticBeingUsed.clusterName}\")\r\n161    val clientBuilder = TransportClient.builder().settings(settings)\r\n162    clientBuilder.build().addTransportAddress(address)\r\n163  }\r\n```\r\n---\r\nThis is the request\r\n```http://localhost:9000/solveQuestion?question=\"A decomposer is an organism that\"&options=\"hunts and eats animals//migrates for the winter//breaks down dead plants and animals//uses water and sunlight to make food//\"&snippet=\"\" ```\r\n\r\nI believe, this issue is due to the fact that the elastic search cluster on hostIp aristo-es.dev.ai2 is not accessible. \r\n\r\nWhat are the steps to setup this cluster locally? I have installed elastic search locally and would like to know what steps would I need to do next to make this work. \r\n\r\nThanks. \r\n\r\n"}}
{"actor":{"display_login":"gurpreet14"}}