LOG.info( "setting the schema manager for partition {}", p.getSuffix() );
p.setSchemaManager( schemaManager );
}
}
Partition sysPartition = directoryService.getSystemPartition();
if( sysPartition instanceof BTreePartition )
{
File partitionPath = new File( directoryService.getInstanceLayout().getPartitionsDirectory(), sysPartition.getId() );
( ( BTreePartition ) sysPartition ).setPartitionPath( partitionPath.toURI() );
}
if( sysPartition.getSchemaManager() == null )
{
LOG.info( "setting the schema manager for partition {}", sysPartition.getSuffix() );
sysPartition.setSchemaManager( schemaManager );
}
// Start the directory service if not started yet
LOG.debug( "1. Starting the DirectoryService" );
directoryService.startup();