elasticsearch index not analyzed

2015-12-23 Thread guoyiqincn
I have a message, example:
a b
this message beginning with multiple spaces and more than one space between 
this message.
My mapping set no_analyzed,when search this message,This message has only 
one space, example:
a b
I don't know why this is.

-- 
Please update your bookmarks! We have moved to https://discuss.elastic.co/
--- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6c37e052-a912-4eb1-bf69-4c46d7eb4c70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


about org.elasticsearch.indices.recovery.RecoveryFailedException error

2015-04-21 Thread guoyiqincn
*Hi All,*

*I have a 5 nodes cluster. *


*now my cluster eror *

[2015-04-21 18:32:26,032][WARN ][indices.cluster  ] [i-bxtszyhz] 
[blacklist][1] failed to start shard
org.elasticsearch.indices.recovery.RecoveryFailedException: [blacklist][1]: 
Recovery failed from 
[i-5tar85fu][9ofd50CbQmiYwcdppvAYVw][i-5tar85fu][inet[/192.168.101.53:9300]] 
into 
[i-bxtszyhz][AF98fGO3RCG0gta1LKrd-A][i-bxtszyhz][inet[/192.168.101.54:9300]]
at 
org.elasticsearch.indices.recovery.RecoveryTarget.doRecovery(RecoveryTarget.java:308)
at 
org.elasticsearch.indices.recovery.RecoveryTarget.access$200(RecoveryTarget.java:65)
at 
org.elasticsearch.indices.recovery.RecoveryTarget$2.run(RecoveryTarget.java:177)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.elasticsearch.transport.RemoteTransportException: 
[i-5tar85fu][inet[/192.168.101.53:9300]][internal:index/shard/recovery/start_recovery]
Caused by: org.elasticsearch.index.engine.RecoveryEngineException: 
[blacklist][1] Phase[1] Execution failed
at 
org.elasticsearch.index.engine.internal.InternalEngine.recover(InternalEngine.java:1120)
at 
org.elasticsearch.index.shard.service.InternalIndexShard.recover(InternalIndexShard.java:654)
at 
org.elasticsearch.indices.recovery.RecoverySource.recover(RecoverySource.java:137)
at 
org.elasticsearch.indices.recovery.RecoverySource.access$2600(RecoverySource.java:74)
at 
org.elasticsearch.indices.recovery.RecoverySource$StartRecoveryTransportRequestHandler.messageReceived(RecoverySource.java:464)
at 
org.elasticsearch.indices.recovery.RecoverySource$StartRecoveryTransportRequestHandler.messageReceived(RecoverySource.java:450)
at 
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: 
org.elasticsearch.indices.recovery.RecoverFilesRecoveryException: 
[blacklist][1] Failed to transfer [1] files with total size of [2mb]
at 
org.elasticsearch.indices.recovery.RecoverySource$1.phase1(RecoverySource.java:276)
at 
org.elasticsearch.index.engine.internal.InternalEngine.recover(InternalEngine.java:1116)
... 9 more
Caused by: org.elasticsearch.transport.RemoteTransportException: 
[i-bxtszyhz][inet[/192.168.101.54:9300]][internal:index/shard/recovery/file_chunk]
Caused by: java.io.FileNotFoundException: 
/var/data/elasticsearch/9FbankCloud/nodes/0/indices/blacklist/1/index/recovery.1429612346025.segments_5
 
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:221)
at java.io.FileOutputStream.init(FileOutputStream.java:171)
at 
org.apache.lucene.store.FSDirectory$FSIndexOutput.init(FSDirectory.java:389)
at 
org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:282)
at 
org.apache.lucene.store.FileSwitchDirectory.createOutput(FileSwitchDirectory.java:152)
at 
org.apache.lucene.store.RateLimitedFSDirectory.createOutput(RateLimitedFSDirectory.java:40)
at 
org.elasticsearch.index.store.DistributorDirectory.createOutput(DistributorDirectory.java:118)
at 
org.apache.lucene.store.FilterDirectory.createOutput(FilterDirectory.java:69)
at 
org.elasticsearch.index.store.Store.createVerifyingOutput(Store.java:336)
at 
org.elasticsearch.indices.recovery.RecoveryStatus.openAndPutIndexOutput(RecoveryStatus.java:120)
at 
org.elasticsearch.indices.recovery.RecoveryTarget$FileChunkTransportRequestHandler.messageReceived(RecoveryTarget.java:573)
at 
org.elasticsearch.indices.recovery.RecoveryTarget$FileChunkTransportRequestHandler.messageReceived(RecoveryTarget.java:535)
at 
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:275)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)


I really hope to get help

*Thanks !!!*

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1694480e-1017-4986-b7fb-cb756cccf73e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


elasticsearch machine configuration

2015-04-20 Thread guoyiqincn
*Hi* folks:
I want to know elasticsearch machine a single node recommended 
configuration, now my machine is 2 cpu 4G memory.

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/38c900ff-b6ec-483c-86ab-80342e945cd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection error (check network and/or proxy settings)- all nodes failed

2015-04-17 Thread guoyiqincn
*my spark job running *
*this is a error*

*org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection 
error (check network and/or proxy settings)- all nodes failed*

*my code *
*val conf = new SparkConf()*
*conf.set(es.nodes, 1.1.1.1)*

*datainfo.saveJsonToEs(index/type)*


*i need help*


*thanks*

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6bc46afa-c058-4f23-9256-39555c574a70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


about elasticsearch-hadoop error

2015-04-16 Thread guoyiqincn
*Hello*

*when add elasticsearch-hadoop jar *




*this is a error*

Spark assembly has been built with Hive, including Datanucleus jars on 
classpath
Exception in thread main java.lang.SecurityException: Invalid signature 
file digest for Manifest main attributes
at 
sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:287)
at 
sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:240)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:274)
at java.util.jar.JarVerifier.update(JarVerifier.java:228)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:348)
at java.util.jar.JarFile.getInputStream(JarFile.java:415)
at sun.misc.JarIndex.getJarIndex(JarIndex.java:137)
at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:674)
at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:666)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:665)
at sun.misc.URLClassPath$JarLoader.init(URLClassPath.java:638)
at sun.misc.URLClassPath$3.run(URLClassPath.java:366)
at sun.misc.URLClassPath$3.run(URLClassPath.java:356)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)
at sun.misc.URLClassPath.getResource(URLClassPath.java:198)
at java.net.URLClassLoader$1.run(URLClassLoader.java:358)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at 
org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:538)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)



thank you

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


kibana version

2015-04-15 Thread guoyiqincn


Hello, Folks


I did download the newest version Kibana and got following error as 
starting:


Kibana: This version of Kibana requires Elasticsearch 1.4.4 or higher on 
all nodes. I found the following incompatible nodes in your cluster: 
Elasticsearch-rtf1.4.0 …...


Which vesion Kibana should I install? thank you ~

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/84ac7c62-a88d-4bbf-b629-edf7959499bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


I did download the newest version Kibana and got following error as starting

2015-04-14 Thread guoyiqincn


Hello, Folks


I did download the newest version Kibana and got following error as 
starting:


Kibana: This version of Kibana requires Elasticsearch 1.4.4 or higher on 
all nodes. I found the following incompatible nodes in your cluster: 
Elasticsearch-rtf v1.4.0 …...


Which vesion Kibana should I install? thank you ~

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/efa411a7-5fe6-4e9d-baf6-026b5eaac7eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.