HBASE-940 Replaced the try catch in close by letting out the IOE
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@707789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce3e6ccdff
commit
75183498b8
|
@ -63,13 +63,9 @@ FileOutputFormat<ImmutableBytesWritable, BatchUpdate> {
|
||||||
m_table = table;
|
m_table = table;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void close(@SuppressWarnings("unused") Reporter reporter) {
|
public void close(@SuppressWarnings("unused") Reporter reporter)
|
||||||
try {
|
throws IOException {
|
||||||
m_table.flushCommits();
|
m_table.flushCommits();
|
||||||
}
|
|
||||||
catch(IOException ioe) {
|
|
||||||
LOG.error(ioe);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void write(@SuppressWarnings("unused") ImmutableBytesWritable key,
|
public void write(@SuppressWarnings("unused") ImmutableBytesWritable key,
|
||||||
|
|
Loading…
Reference in New Issue