public void commitBlockInUfs ( final long blockId , final long length ) throws IOException { retryRPC ( ( RpcCallable < Void > ) ( ) -> { CommitBlockInUfsPRequest request = CommitBlockInUfsPRequest . newBuilder ( ) . setBlockId ( blockId ) . setLength ( length ) . build ( ) ; mClient . commitBlockInUfs ( request ) ; return null ; } ) ; }
Commits a block in Ufs .