Skip to content
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

Snapshot/Restore: NPE in ES when shutdown happens in the middle of snapshotting #6506

Closed
tvinod opened this issue Jun 16, 2014 · 2 comments · Fixed by #7322
Closed

Snapshot/Restore: NPE in ES when shutdown happens in the middle of snapshotting #6506

tvinod opened this issue Jun 16, 2014 · 2 comments · Fixed by #7322

Comments

@tvinod
Copy link

tvinod commented Jun 16, 2014

the process has to be killed forecefully to come out of this state.. here is the stack trace -

[2014-06-16 07:41:36,568][WARN ][snapshots ] [Quentin Quire] Fail
ed to update snapshot state
java.lang.NullPointerException
at org.elasticsearch.snapshots.SnapshotsService.processIndexShardSnapsho
ts(SnapshotsService.java:644)
at org.elasticsearch.snapshots.SnapshotsService.clusterChanged(Snapshots
Service.java:508)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:430)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:134)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)

@imotov
Copy link
Contributor

imotov commented Jun 23, 2014

Which version of elasticsearch was it? Did you shutdown entire cluster or just the master node?

@tvinod
Copy link
Author

tvinod commented Jun 23, 2014

1.1.0

i was shutting down the cluster node by node.. on couple of the nodes, the
shutdown was graceful. and then i hit this exception on 2 other nodes.

thanks

On Mon, Jun 23, 2014 at 2:14 AM, Igor Motov notifications@github.com
wrote:

Which version of elasticsearch was it? Did you shutdown entire cluster or
just the master node?


Reply to this email directly or view it on GitHub
#6506 (comment)
.

@imotov imotov self-assigned this Jun 27, 2014
imotov added a commit to imotov/elasticsearch that referenced this issue Aug 19, 2014
imotov added a commit that referenced this issue Aug 20, 2014
imotov added a commit that referenced this issue Aug 20, 2014
@clintongormley clintongormley changed the title NPE in ES when shutdown happens in the middle of snapshotting Snapshot/Restore: NPE in ES when shutdown happens in the middle of snapshotting Sep 8, 2014
imotov added a commit that referenced this issue Sep 8, 2014
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants