Skip to content

Commit

Permalink
HBASE-26680 Close and do not write trailer for the broken WAL writer(…
Browse files Browse the repository at this point in the history
…addendum)
  • Loading branch information
sunhelly committed May 5, 2022
1 parent 64a6ba3 commit 9fd1f2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ protected abstract void initOutput(FileSystem fs, Path path, boolean overwritabl
/**
* simply close the output, do not need to write trailer like the Writer.close
*/
protected abstract void closeOutput();
protected void closeOutput() {
throw new UnsupportedOperationException("Not implemented");
}

/**
* return the file length after written.
Expand Down

0 comments on commit 9fd1f2b

Please sign in to comment.