in.readFully(buff);
instanceFails = !Arrays.equals(buff, HdfsZooInstance.getInstance().getInstanceID().getBytes());
buff = new byte[in.readInt()];
in.readFully(buff);
confFails = !Arrays.equals(buff, getSystemConfigChecksum());
if (in.available() > 0)
throw new IOException();
} catch (IOException e) {
return TabletServerState.BAD_SYSTEM_PASSWORD;
} catch (NoSuchAlgorithmException e) {
throw new RuntimeException("Failed to compare system password", e);