code: public void logOpenFile(String path, INodeFileUnderConstruction newNode)  
                     throws IOException {
      AddOp op = AddOp.getInstance();  
      op.set(newNode.getId(),
          path,
          newNode.getReplication(), 
          newNode.getModificationTime(),
          newNode.getAccessTime(),
          newNode.getPreferredBlockSize(),
          newNode.getBlocks(),
          newNode.getPermissionStatus(),
          newNode.getClientName(),
          newNode.getClientMachine());   
      logEdit(op);
    }
docs: Add open lease record to edit log.
  Records the block locations of the last block.