int totalLocked = 0;
for(String path : _relativePaths) {
ReadWriteLock lock = lockManager.obtainLock(path);
final Lock rlock = lock.readLock();
if(rlock.tryLock()) {
localExecResources.add(new Pair<String, Lock>(path, rlock));
} else {
totalLocked++;
final byte[] k = StringUtils.getBytes(path);
final GridNodeValueCollector collector = new GridNodeValueCollector(_excludeNodeList);