MAPREDUCE-6767. TestSlive fails after a common change. Contributed by Daniel Templeton.

This commit is contained in:
Akira Ajisaka 2016-08-25 10:55:00 +09:00
parent a1f3293762
commit 5a6fc5f483
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ List<OperationOutput> run(FileSystem fs) {
out.add(new OperationOutput(OutputType.LONG, getType(), out.add(new OperationOutput(OutputType.LONG, getType(),
ReportWriter.NOT_FOUND, 1L)); ReportWriter.NOT_FOUND, 1L));
LOG.warn("Error with appending", e); LOG.warn("Error with appending", e);
} catch (IOException e) { } catch (IOException | UnsupportedOperationException e) {
out.add(new OperationOutput(OutputType.LONG, getType(), out.add(new OperationOutput(OutputType.LONG, getType(),
ReportWriter.FAILURES, 1L)); ReportWriter.FAILURES, 1L));
LOG.warn("Error with appending", e); LOG.warn("Error with appending", e);

View File

@ -94,7 +94,7 @@ List<OperationOutput> run(FileSystem fs) {
out.add(new OperationOutput(OutputType.LONG, getType(), out.add(new OperationOutput(OutputType.LONG, getType(),
ReportWriter.NOT_FOUND, 1L)); ReportWriter.NOT_FOUND, 1L));
LOG.warn("Error with truncating", e); LOG.warn("Error with truncating", e);
} catch (IOException e) { } catch (IOException | UnsupportedOperationException e) {
out.add(new OperationOutput(OutputType.LONG, getType(), out.add(new OperationOutput(OutputType.LONG, getType(),
ReportWriter.FAILURES, 1L)); ReportWriter.FAILURES, 1L));
LOG.warn("Error with truncating", e); LOG.warn("Error with truncating", e);