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,14 +63,10 @@ FileOutputFormat<ImmutableBytesWritable, BatchUpdate> {
|
|||
m_table = table;
|
||||
}
|
||||
|
||||
public void close(@SuppressWarnings("unused") Reporter reporter) {
|
||||
try {
|
||||
public void close(@SuppressWarnings("unused") Reporter reporter)
|
||||
throws IOException {
|
||||
m_table.flushCommits();
|
||||
}
|
||||
catch(IOException ioe) {
|
||||
LOG.error(ioe);
|
||||
}
|
||||
}
|
||||
|
||||
public void write(@SuppressWarnings("unused") ImmutableBytesWritable key,
|
||||
BatchUpdate value) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue