"either file ID or volume name + path required");
if (file.isDirectory())
throw new UserException(POSIXErrno.POSIX_ERROR_EISDIR,
"xtreemfs_get_suitable_osds must be invoked on a file");
String path = null;
<BUG>if (rqArgs.hasPath()) {
path = rqArgs.getPath();
}</BUG>
ServiceSet.Builder usableOSDs = master.getOSDStatusManager().getUsableOSDs(volumeId,
((InetSocketAddress) rq.getRPCRequest().getSenderAddress()).getAddress(), null,

"either file ID or volume name + path required");
if (file.isDirectory())
throw new UserException(POSIXErrno.POSIX_ERROR_EISDIR,
"xtreemfs_get_suitable_osds must be invoked on a file");
String path = null;
if (rqArgs.hasVolumeName() && rqArgs.hasPath()) {
path = new Path(rqArgs.getVolumeName(), rqArgs.getPath()).toString();
}
ServiceSet.Builder usableOSDs = master.getOSDStatusManager().getUsableOSDs(volumeId,
((InetSocketAddress) rq.getRPCRequest().getSenderAddress()).getAddress(), null,
