> Strangely enough the warning is only about the 2003 core and not about the other 3 cores.
I'm pretty sure that's because it's the oldest and first in order to be created.
In fact, I think I encountered this error myself when sharding, but I
don't remember the specifics anymore. It wasn't hard to resolve, but I
kept a backup of the unsharded core.
> thanks for your prompt reply. I was aware of both issues and we ran into
> comparable problems with solr failing at various moments when we tried to
> use Tomcat 8 and JDK8. With Tomcat 8 and JDK8 we encounter many memory and
> MMap errors and SOLR would fail repeatedly, occassionally crashing and
> leaving files in the temp directory. When the latter happens, SOLR does not
> recover.
I'm not aware of any unresolved problems reported on Tomcat 8 / Java
8, so if you have them, please do report the details into Jira. Sooner
or later everyone will upgrade and we'll want them resolved. Also
mention which JDK you're using.
Personally, I'm running on OpenJDK 7 and Tomcat 8.0.14 without any problems.
> We now downgraded to Tomcat7 and JDK7 and no longer run into the creation
> and memory errors. The sharding process itself does not report any errors,
> the cores are created at file system. Would you recommend that we not import
> our old log files and/or do no shard the core into years? It would mean that
> we lose our statistics and that would be a pity.
I would not recommend to import from the logs because you'll lose man
fields only captured in Solr, not in the logs.
Of course, if you lost some data, you may choose to import only events
from the lost time range from logs into Solr.
If you have a backup of the unsharded statistics core around, I'd
compare whether number of records there matches the sum of records in
your individual sharded cores. Run a "*:*" query and look at
"numFound", or do that in the Solr admin interface.