if (oldLock == null)
throw new IOException("Cannot lock file: " + oldF);
String odlStorageID = "";
try {
oldFile.seek(0);
int odlVersion = oldFile.readInt();
if (odlVersion < LAST_PRE_UPGRADE_LAYOUT_VERSION)
throw new IncorrectVersionException(odlVersion, "file " + oldF,
LAST_PRE_UPGRADE_LAYOUT_VERSION);
odlStorageID = org.apache.hadoop.io.UTF8.readString(oldFile);