* version in ZooKeeper
* @throws IOException If there is an error talking to ZooKeeper
*/
public void update(String newPath) throws IOException {
String id = hostname + Thread.currentThread().getId();
CurrentInProgressMetadataWritable cip = localWritable.get();
cip.set(id, newPath);
byte[] data = WritableUtil.writableToByteArray(cip);
try {
zooKeeper.setData(fullyQualifiedZNode, data, expectedZNodeVersion.get());
if (LOG.isDebugEnabled()) {
LOG.debug("Set " + fullyQualifiedZNode + " to point to " + newPath);