HBASE-22831 Removed deprecated constructor from TableRecordWriter
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
c8f57bf678
commit
0553aa4451
|
@ -53,21 +53,6 @@ public class TableOutputFormat extends FileOutputFormat<ImmutableBytesWritable,
|
||||||
private BufferedMutator m_mutator;
|
private BufferedMutator m_mutator;
|
||||||
private Connection conn;
|
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.
|
* Instantiate a TableRecordWriter with a BufferedMutator for batch writing.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue