code: public BlockInfo getInfo(long blockId) throws IOException {
      try (CloseableResource<BlockMasterClient> masterClientResource =
          mContext.acquireBlockMasterClientResource()) {
        return masterClientResource.get().getBlockInfo(blockId);
      }
    }
docs: Gets the block info of a block, if it exists.
  
  @param blockId the blockId to obtain information about
  @return a {@link BlockInfo} containing the metadata of the block