New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Find Node #436
Comments
|
Here are my node types: Master, Search, Index, Data. Here is a sample query: |
That's the one and soon Beta4 will be available in the maven repo. For data nodes, you need to enable the HTTP port; this is a requirement of the connector. If that's not an option, you can enable client nodes with HTTP enabled and configure the connector to use only those. |
The client nodes are: 10.2.20.139,10.2.20.140 --- I still receive the error listed above. |
@costin Should this work with nodes i listed above and the use of es.nodes.client.only? |
the params you specify in Can you double check you are using Beta4 (and that no other jar is available in the classpath) and follow the instructions here. In particular, turn on logging on the REST package and please upload as a gist the logs somewhere. Cheers, |
Yes - I removed all files except - elasticsearch-hadoop-2.1.0.Beta4.jar Here is the hive output: I did notice another error, this time... I'm not sure this is related... Error! |
@costin Any ideas |
@costin Any thoughts to this issue? |
Not at the moment, no. When I do, I'll post them - the error does seem conspicuous and likely is caused by an incorrect mapping as explained here. What's your ES mapping? |
My Mapping is huge, but the hive statement I used works in a lower environment. This lower environment has http enabled on all data nodes. Both environments use the same mapping. |
What's the mapping relevant to the fields used by the Hive table? The
|
I was able to get this working after I opened up http on the data nodes. Understood about the mapping -
|
On Wed, May 6, 2015 at 5:46 PM, webtoed notifications@github.com wrote:
|
-What does the es.query provide? How does it help in most cases? To explain my previous question - mapping of fields is direct when looking at data in Elastic. You use a path/field name to perform a search. However performing a search (Post) the return data has changed the field path. Example: to search you can use the metric.application on the index. The reference to this field in the returned JSON , data.hits.hits.appliciation. I was wondering it using es.query transforms the path or mappings in any way. My other issue - 444 seems to be more relevant now. I have moved my client.nodes only testing into another environment that has http disabled on all DATA nodes. This has the latest HIVE and Issue. It a different error from "cannot find node" If you deem them not related we can keep each open. My bottom line is , I need to get client only working. Thanks so much for your time thus far... |
@webtoed Does this mean you have found the solution to your problem? Does client routing works for you or not? And if so, what was the problem in the first place? |
Version: 2.1.0.Beta3
Elastic.version: 1.4.4
Set to : 'es.nodes.client.only' = 'true',
java.io.IOException: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot find node with id [KRPdnBpJRc2FkyTJ_oRQpQ](is HTTP enabled?) from shard [Shard[state=STARTED, primary=true, node=KRPdnBpJRc2FkyTJ_oRQpQ, name=0, index=metrics-2015.04.18]] in nodes [[{state=STARTED, primary=true, node=KRPdnBpJRc2FkyTJ_oRQpQ, relocating_node=null, shard=0, index=metrics-2015.04.18}, {state=STARTED, primary=false, node=sPeEIWyBRZWlnHAHevG7Ng, relocating_node=null, shard=0, index=metrics-2015.04.18}]]; layout [[[{state=STARTED, primary=true, node=KRPdnBpJRc2FkyTJ_oRQpQ, relocating_node=null, shard=0, index=metrics-2015.04.18}, {state=STARTED, primary=false, node=sPeEIWyBRZWlnHAHevG7Ng, relocating_node=null, shard=0, index=metrics-2015.04.18}], [{state=STARTED, primary=false, node=MB83hrQtR-CgPEfKfUFYWA, relocating_node=null, shard=1, index=metrics-2015.04.18}, {state=STARTED, primary=true, node=KRPdnBpJRc2FkyTJ_oRQpQ, relocating_node=null, shard=1, index=metrics-2015.04.18}]]]
The text was updated successfully, but these errors were encountered: