HBASE-21257 misspelled words.[occured -> occurred]

This commit is contained in:
zhanggangxue 2019-04-14 21:39:59 +08:00 committed by zhangduo
parent f0a032cfb9
commit 01113241a3
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ public class Monkeys implements Closeable {
try {
monkeyRunner.getAndStartMonkey();
} catch (Exception e) {
LOG.error("Exception occured when running chaos monkeys: ", e);
LOG.error("Exception occurred when running chaos monkeys: ", e);
}
};
this.executor = Executors.newSingleThreadExecutor(new ThreadFactoryBuilder()
@ -91,7 +91,7 @@ public class Monkeys implements Closeable {
executor.awaitTermination(10, TimeUnit.SECONDS);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
LOG.warn("Interruption occured while stopping chaos monkeys " + e);
LOG.warn("Interruption occurred while stopping chaos monkeys " + e);
}
}
}

View File

@ -112,7 +112,7 @@ public class ScannerResource extends ResourceBase {
servlet.getMetrics().incrementSucessfulPutRequests(1);
return Response.created(uri).build();
} catch (Exception e) {
LOG.error("Exception occured while processing " + uriInfo.getAbsolutePath() + " : ", e);
LOG.error("Exception occurred while processing " + uriInfo.getAbsolutePath() + " : ", e);
servlet.getMetrics().incrementFailedPutRequests(1);
if (e instanceof TableNotFoundException) {
return Response.status(Response.Status.NOT_FOUND)