HBASE-21257 misspelled words.[occured -> occurred]
This commit is contained in:
parent
f0a032cfb9
commit
01113241a3
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue