Re: A collection gone missing: uninteresting collection

2017-01-21 Thread Chetas Joshi
Is this visible in the logs? I mean how do I find out that a "DELETE
collection" API​ call was made?

Is the following indicative of the fact that the API call was made?

2017-01-20 20:42:39,822 INFO org.apache.solr.cloud.
ShardLeaderElectionContextBase: Removing leader registration node on
cancel: /collections/3044_01_17/leaders/shard4/leader 9

2017-01-20 20:42:39,832 INFO org.apache.solr.cloud.ElectionContext:
Canceling election /collections/3044_01_17/leader_elect/shard4/election/
241183598302995297-core_node3-n_08

2017-01-20 20:42:39,833 INFO org.apache.solr.common.cloud.ZkStateReader:
Removing watch for uninteresting collection [3044_01_17]

  "core":"3044_01_17_shard4_replica1",

  "collection":"3044_01_17",


I am confused as the logs just talk about shard4 not all the shards of the
collection.


Re: A collection gone missing: uninteresting collection

2017-01-21 Thread Erick Erickson
Looks like someone issued a Collections API DELETE command.

On Fri, Jan 20, 2017 at 9:56 PM, Chetas Joshi  wrote:
> Hello,
>
> I have been running Solr (5.5.0) on HDFS.
>
> Recently a collection just went missing with all the instanceDirs and
> Datadirs getting deleted. The following logs in the solrCloud overseer.
>
> 2017-01-20 20:42:39,515 INFO org.apache.solr.core.SolrCore:
> [3044_01_17_shard4_replica1]  CLOSING SolrCore
> org.apache.solr.core.SolrCore@2e2e0a23
>
> 2017-01-20 20:42:39,665 INFO org.apache.solr.core.SolrCore:
> [3044_01_17_shard4_replica1] Closing main searcher on request.
>
> 2017-01-20 20:42:39,690 INFO org.apache.solr.core.CachingDirectoryFactory:
> looking to close hdfs://Ingest/solr53/3044_01_17/core_node3/data
> 

A collection gone missing: uninteresting collection

2017-01-20 Thread Chetas Joshi
Hello,

I have been running Solr (5.5.0) on HDFS.

Recently a collection just went missing with all the instanceDirs and
Datadirs getting deleted. The following logs in the solrCloud overseer.

2017-01-20 20:42:39,515 INFO org.apache.solr.core.SolrCore:
[3044_01_17_shard4_replica1]  CLOSING SolrCore
org.apache.solr.core.SolrCore@2e2e0a23

2017-01-20 20:42:39,665 INFO org.apache.solr.core.SolrCore:
[3044_01_17_shard4_replica1] Closing main searcher on request.

2017-01-20 20:42:39,690 INFO org.apache.solr.core.CachingDirectoryFactory:
looking to close hdfs://Ingest/solr53/3044_01_17/core_node3/data