private void upgradeSettings() {
AccumuloConfiguration conf = AccumuloConfiguration.getTableConfiguration(instance.getInstanceID(), Constants.METADATA_TABLE_ID);
if (!conf.getBoolean(Property.TABLE_BLOCKCACHE_ENABLED)) {
try {
// make sure the last shutdown was clean
OfflineMetadataScanner scanner = new OfflineMetadataScanner();
boolean fail = false;
for (Entry<Key,Value> entry : scanner) {
if (entry.getKey().getColumnFamily().equals(Constants.METADATA_LOG_COLUMN_FAMILY)) {
log.error(String.format("Unable to upgrade: extent %s has log entry %s", entry.getKey().getRow(), entry.getValue()));
fail = true;