SOLR-6393: TransactionLog replay performance on HDFS is very poor.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619200 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5896: Use local random instance rather than global in LuceneTestCase

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619211 13f79535-47bb-0310-9956-ffa450edef68