code: public void finalizeAndNotifyNamenode(int namespaceId, Block blk)
        throws IOException {
      this.getFSDataset().finalizeBlock(namespaceId, blk);
      this.notifyNamenodeReceivedBlock(namespaceId, blk, null);
    }
docs: Only used for testing