private BlurIndex openShard(String table, String shard) throws IOException {
LOG.info("Opening shard [{0}] for table [{1}]", shard, table);
Path tablePath = new Path(getTableDescriptor(table).tableUri);
Path hdfsDirPath = new Path(tablePath, shard);
BlurLockFactory lockFactory = new BlurLockFactory(_configuration, hdfsDirPath, _nodeName, BlurUtil.getPid());
Directory directory = new HdfsDirectory(_configuration, hdfsDirPath);
directory.setLockFactory(lockFactory);
TableDescriptor descriptor = _clusterStatus.getTableDescriptor(true, _cluster, table);