Thank you for your reply, the java version on each machine are same -- 
1.6.0_45, and the elasticsearch version is 1.1.2.



在 2014年9月11日星期四UTC+8上午10时48分44秒,[email protected]写道:
>
> I would check for the Java version on each machine.
> I had the same problem on a running cluster when adding a node, and 
> unfortunately the last node had Java 1.7.0_65 instead of 1.7.0_55 
> (recommended version and the version of my other machines).
>
> I did not have the time to create a post explaining the whole problem. 
> But, in summary, I ran a default install script using apt-get and, by 
> default, they use the "latest" Java version.
>
> One big problem for me is that they do not support versioned jdk 
> installation and I could not find a deb package for 1.7.0_55. Maybe someone 
> here can help with this.
>
> The "problematic" command:
> apt-get install openjdk-7-jre-headless -y
>
> Regards,
> Pablo Musa
>
> On Wednesday, September 10, 2014 10:31:24 PM UTC-3, Sephen Xu wrote:
>>
>> Hello,
>>
>> I startup 4 nodes on 2 machines, and when create index, all replicas are 
>> unassigned.
>>
>> {
>>   "cluster_name" : "elasticsearch_log",
>>   "status" : "yellow",
>>   "timed_out" : false,
>>   "number_of_nodes" : 4,
>>   "number_of_data_nodes" : 4,
>>   "active_primary_shards" : 22,
>>   "active_shards" : 22,
>>   "relocating_shards" : 0,
>>   "initializing_shards" : 0,
>>   "unassigned_shards" : 22
>> }
>>
>> How can I do?
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8a7a7fcc-9a93-4ae8-9b26-8cdd9715eb7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to