@Override public Response getattr(String path, Map<Byte, Long> instanceMap) throws TException { // can be sent to ANY partition that replicates the path - we send it to the first returned by // the oracle path = makePathAbsolute(path); Set<Byte> parts = Sets.newHashSet(Byte.valueOf(partition)); Command cmd = newCommand(CommandType.ATTR, parts, instanceMap); AttrCmd attr = new AttrCmd(path, parts); cmd.setAttr(attr); Attr result = (Attr) replica.submitCommand(cmd); Response r = new Response(replica.getInstanceMap()); r.setGetattr(result); return r; }