MAPREDUCE-6767. TestSlive fails after a common change. Contributed by Daniel Templeton.
This commit is contained in:
parent
a1f3293762
commit
5a6fc5f483
@ -101,7 +101,7 @@ List<OperationOutput> run(FileSystem fs) {
|
||||
out.add(new OperationOutput(OutputType.LONG, getType(),
|
||||
ReportWriter.NOT_FOUND, 1L));
|
||||
LOG.warn("Error with appending", e);
|
||||
} catch (IOException e) {
|
||||
} catch (IOException | UnsupportedOperationException e) {
|
||||
out.add(new OperationOutput(OutputType.LONG, getType(),
|
||||
ReportWriter.FAILURES, 1L));
|
||||
LOG.warn("Error with appending", e);
|
||||
|
@ -94,7 +94,7 @@ List<OperationOutput> run(FileSystem fs) {
|
||||
out.add(new OperationOutput(OutputType.LONG, getType(),
|
||||
ReportWriter.NOT_FOUND, 1L));
|
||||
LOG.warn("Error with truncating", e);
|
||||
} catch (IOException e) {
|
||||
} catch (IOException | UnsupportedOperationException e) {
|
||||
out.add(new OperationOutput(OutputType.LONG, getType(),
|
||||
ReportWriter.FAILURES, 1L));
|
||||
LOG.warn("Error with truncating", e);
|
||||
|
Loading…
Reference in New Issue
Block a user