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:
Jean-Daniel Cryans 2008-10-24 23:28:18 +00:00
parent ce3e6ccdff
commit 75183498b8
1 changed files with 3 additions and 7 deletions

View File

@ -63,13 +63,9 @@ FileOutputFormat<ImmutableBytesWritable, BatchUpdate> {
m_table = table;
}
public void close(@SuppressWarnings("unused") Reporter reporter) {
try {
m_table.flushCommits();
}
catch(IOException ioe) {
LOG.error(ioe);
}
public void close(@SuppressWarnings("unused") Reporter reporter)
throws IOException {
m_table.flushCommits();
}
public void write(@SuppressWarnings("unused") ImmutableBytesWritable key,