HBASE-22831 Removed deprecated constructor from TableRecordWriter

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Jan Hentschel 2019-08-11 21:40:54 +02:00 committed by GitHub
parent c8f57bf678
commit 0553aa4451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 15 deletions

View File

@ -53,21 +53,6 @@ public class TableOutputFormat extends FileOutputFormat<ImmutableBytesWritable,
private BufferedMutator m_mutator;
private Connection conn;
/**
* Instantiate a TableRecordWriter with the HBase HClient for writing.
*
* @deprecated since 2.0.0 and will be removed in 3.0.0. Please use
* {@code #TableRecordWriter(JobConf)} instead. This version does not clean up connections and
* will leak connections (removed in 2.0).
* @see <a href="https://issues.apache.org/jira/browse/HBASE-16774">HBASE-16774</a>
*/
@Deprecated
public TableRecordWriter(final BufferedMutator mutator) throws IOException {
this.m_mutator = mutator;
this.conn = null;
}
/**
* Instantiate a TableRecordWriter with a BufferedMutator for batch writing.
*/