Hi
We still working with elasticsearch 0.6.0.
Installation process of our system include “data population” task. One of the functions in the task is indexing. It is a small amount of documents for indexing ~100. But sometimes the population is stick (client node). There are two nodes in the system: one – elaticsearch server (index), second – java application with “no data”, “client” node.
Sometimes we see the following error in log of “client” node when index node is running
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel com.hp.f8upper.services.tenant.client.rpc.itcase.ITCaseService.create(com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel)' threw an unexpected exception: org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute [query] total failure; shardFailures {[null][1579430674][4]: No active shards}
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
What is a reason to be “No active” ?
Sometimes no errors in log (both sides) but task is stick . We print thread dump in the client side and got the following:
"http-8086-20" daemon prio=6 tid=0x3e9df400 nid=0x4640 waiting on condition [0x405ae000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0a62cfd8> (a java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
at org.elasticsearch.action.support.PlainActionFuture.get(PlainActionFuture.java:73)
at org.elasticsearch.action.support.PlainActionFuture.actionGet(PlainActionFuture.java:102)
at com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:170)
at com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:150)
at com.hp.f8upper.search.service.ElasticSearchServiceImpl.index(ElasticSearchServiceImpl.java:87)
at com.hp.f8upper.search.adapters.AbstractJsonAdapter.index(AbstractJsonAdapter.java:45)
at com.hp.f8upper.services.community.rpc.message.impl.MessageServiceImpl.create(MessageServiceImpl.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Hi
We still working with elasticsearch 0.6.0.
Installation process of our system include “data population” task. One of
the functions in the task is indexing. It is a small amount of documents
for indexing ~100. But sometimes the population is stick (client node).
There are two nodes in the system: one – elaticsearch server (index),
second
– java application with “no data”, “client” node.
Sometimes we see the following error in log of “client” node when index
node is running
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel
com.hp.f8upper.services.tenant.client.rpc.itcase.ITCaseService.create(com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel)'
threw an unexpected exception:
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to
execute [query] total failure; shardFailures {[null][1579430674][4]: No
active shards}
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
What is a reason to be “No active” ?
Sometimes no errors in log (both sides) but task is stick . We print
thread dump in the client side and got the following:
"http-8086-20" daemon prio=6 tid=0x3e9df400 nid=0x4640 waiting on condition
[0x405ae000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0a62cfd8> (a
java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
at
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
at
org.elasticsearch.action.support.PlainActionFuture.get(PlainActionFuture.java:73)
at
org.elasticsearch.action.support.PlainActionFuture.actionGet(PlainActionFuture.java:102)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:170)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:150)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.index(ElasticSearchServiceImpl.java:87)
at
com.hp.f8upper.search.adapters.AbstractJsonAdapter.index(AbstractJsonAdapter.java:45)
at
com.hp.f8upper.services.community.rpc.message.impl.MessageServiceImpl.create(MessageServiceImpl.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
There are two nodes in the system - one ES node (index) and second one -
client.
After start client node was connected to ES node with index (according to
log) .
Lena
Hi
We still working with elasticsearch 0.6.0.
Installation process of our system include “data population” task. One of
the functions in the task is indexing. It is a small amount of documents
for indexing ~100. But sometimes the population is stick (client node).
There are two nodes in the system: one – elaticsearch server (index),
second
– java application with “no data”, “client” node.
Sometimes we see the following error in log of “client” node when index
node is running
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel
com.hp.f8upper.services.tenant.client.rpc.itcase.ITCaseService.create(com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel)'
threw an unexpected exception:
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to
execute [query] total failure; shardFailures {[null][1579430674][4]: No
active shards}
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
What is a reason to be “No active” ?
Sometimes no errors in log (both sides) but task is stick . We print
thread dump in the client side and got the following:
"http-8086-20" daemon prio=6 tid=0x3e9df400 nid=0x4640 waiting on
condition
[0x405ae000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0a62cfd8> (a
java.util.concurrent.CountDownLatch$Sync)
at
java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
at
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
at
org.elasticsearch.action.support.PlainActionFuture.get(PlainActionFuture.java:73)
at
org.elasticsearch.action.support.PlainActionFuture.actionGet(PlainActionFuture.java:102)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:170)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:150)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.index(ElasticSearchServiceImpl.java:87)
at
com.hp.f8upper.search.adapters.AbstractJsonAdapter.index(AbstractJsonAdapter.java:45)
at
com.hp.f8upper.services.community.rpc.message.impl.MessageServiceImpl.create(MessageServiceImpl.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
There are two nodes in the system - one ES node (index) and second one -
client.
After start client node was connected to ES node with index (according to
log) .
Lena
Hi
We still working with elasticsearch 0.6.0.
Installation process of our system include “data population” task. One
of
the functions in the task is indexing. It is a small amount of documents
for indexing ~100. But sometimes the population is stick (client node).
There are two nodes in the system: one – elaticsearch server (index),
second
– java application with “no data”, “client” node.
Sometimes we see the following error in log of “client” node when index
node is running
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public
abstract com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel
com.hp.f8upper.services.tenant.client.rpc.itcase.ITCaseService.create(com.hp.f8upper.datamodel.client.tenant.IBaseCaseDataModel)'
threw an unexpected exception:
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to
execute [query] total failure; shardFailures {[null][1579430674][4]: No
active shards}
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581)
What is a reason to be “No active” ?
Sometimes no errors in log (both sides) but task is stick . We print
thread dump in the client side and got the following:
"http-8086-20" daemon prio=6 tid=0x3e9df400 nid=0x4640 waiting on
condition
[0x405ae000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0a62cfd8> (a
java.util.concurrent.CountDownLatch$Sync)
at
java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
at
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
at
org.elasticsearch.action.support.PlainActionFuture.get(PlainActionFuture.java:73)
at
org.elasticsearch.action.support.PlainActionFuture.actionGet(PlainActionFuture.java:102)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:170)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:150)
at
com.hp.f8upper.search.service.ElasticSearchServiceImpl.index(ElasticSearchServiceImpl.java:87)
at
com.hp.f8upper.search.adapters.AbstractJsonAdapter.index(AbstractJsonAdapter.java:45)
at
com.hp.f8upper.services.community.rpc.message.impl.MessageServiceImpl.create(MessageServiceImpl.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.