From 01113241a348f32baff29d234c8d325941898882 Mon Sep 17 00:00:00 2001 From: zhanggangxue Date: Sun, 14 Apr 2019 21:39:59 +0800 Subject: [PATCH] HBASE-21257 misspelled words.[occured -> occurred] --- .../test/java/org/apache/hadoop/hbase/chaos/util/Monkeys.java | 4 ++-- .../java/org/apache/hadoop/hbase/rest/ScannerResource.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/util/Monkeys.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/util/Monkeys.java index 8ad241adf0d..acdd7b08375 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/util/Monkeys.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/util/Monkeys.java @@ -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); } } } diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java index 9de033de1c5..cd1bc4d76fb 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java @@ -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)