On 4/4/2018 1:51 PM, Shawn Heisey wrote:
On 4/4/2018 12:13 PM, Doug Turnbull wrote:
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@383] - Exception
causing close of session 0x10024db7e280006: *Len error 5327937*
With that information, I think I can tell you what went wrong.
I asked the ZK list a question related to this situation, to figure out
how to get certain information from the ZK client so Solr could log
warnings when files are too large. They told me that the ZK client
should have indicated what went wrong, as the server log did.
Would it be possible for you to provide entire logs (both the script and
the ZK server) from an upload that fails this way, so I can review what
changes we should make and whether we need to file a bug on ZK?
I did come up with a preliminary patch for Solr that logs warnings about
file sizes. It doesn't attempt to change or abort the operation, just
log warnings. Any error messages would be the same as they are now.
https://www.dropbox.com/s/uzi607evjt9gacc/upload-zk-size-warnings.patch?dl=0
Thanks,
Shawn