{
fs.delete(splitDir, true);
}
TreeMap<Integer,BigInteger> queryElements = query.getQueryElements();
ArrayList<Integer> keys = new ArrayList<>(queryElements.keySet());
<BUG>int numSplits = Integer.parseInt(SystemConfiguration.getProperty("pir.expCreationSplits", "100"));
</BUG>
int elementsPerSplit = (int) Math.floor(queryElements.size() / numSplits);
logger.info("numSplits = " + numSplits + " elementsPerSplit = " + elementsPerSplit);
for (int i = 0; i < numSplits; ++i)

{
boolean success;
logger.info("Creating expTable");
Path splitDir = new Path("/tmp/splits-" + queryInfo.getQueryNum());
if (fs.exists(splitDir))
{
fs.delete(splitDir, true);
}
TreeMap<Integer,BigInteger> queryElements = query.getQueryElements();
ArrayList<Integer> keys = new ArrayList<>(queryElements.keySet());
int numSplits = SystemConfiguration.getIntProperty("pir.expCreationSplits", 100);
int elementsPerSplit = (int) Math.floor(queryElements.size() / numSplits);
logger.info("numSplits = " + numSplits + " elementsPerSplit = " + elementsPerSplit);
for (int i = 0; i < numSplits; ++i)
