Skip to content

Commit 01c26c5

Browse files
zhanggangxueApache9
authored andcommitted
HBASE-21257 misspelled words.[occured -> occurred]
1 parent 4bc2eda commit 01c26c5

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/util/Monkeys.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public Monkeys(Configuration conf) {
5555
try {
5656
monkeyRunner.getAndStartMonkey();
5757
} catch (Exception e) {
58-
LOG.error("Exception occured when running chaos monkeys: ", e);
58+
LOG.error("Exception occurred when running chaos monkeys: ", e);
5959
}
6060
};
6161
this.executor = Executors.newSingleThreadExecutor(new ThreadFactoryBuilder()
@@ -91,7 +91,7 @@ public void close() throws IOException {
9191
executor.awaitTermination(10, TimeUnit.SECONDS);
9292
} catch (InterruptedException e) {
9393
Thread.currentThread().interrupt();
94-
LOG.warn("Interruption occured while stopping chaos monkeys " + e);
94+
LOG.warn("Interruption occurred while stopping chaos monkeys " + e);
9595
}
9696
}
9797
}

hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Response update(final ScannerModel model, final boolean replace,
112112
servlet.getMetrics().incrementSucessfulPutRequests(1);
113113
return Response.created(uri).build();
114114
} catch (Exception e) {
115-
LOG.error("Exception occured while processing " + uriInfo.getAbsolutePath() + " : ", e);
115+
LOG.error("Exception occurred while processing " + uriInfo.getAbsolutePath() + " : ", e);
116116
servlet.getMetrics().incrementFailedPutRequests(1);
117117
if (e instanceof TableNotFoundException) {
118118
return Response.status(Response.Status.NOT_FOUND)

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/AssignRegionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void process() throws IOException {
152152

153153
@Override
154154
protected void handleException(Throwable t) {
155-
LOG.warn("Fatal error occured while opening region {}, aborting...",
155+
LOG.warn("Fatal error occurred while opening region {}, aborting...",
156156
regionInfo.getRegionNameAsString(), t);
157157
getServer().abort(
158158
"Failed to open region " + regionInfo.getRegionNameAsString() + " and can not recover", t);

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/UnassignRegionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void process() throws IOException {
130130

131131
@Override
132132
protected void handleException(Throwable t) {
133-
LOG.warn("Fatal error occured while closing region {}, aborting...", encodedName, t);
133+
LOG.warn("Fatal error occurred while closing region {}, aborting...", encodedName, t);
134134
getServer().abort("Failed to close region " + encodedName + " and can not recover", t);
135135
}
136136

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/CombinedAsyncWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void close() throws IOException {
6464
}
6565
if (error != null) {
6666
throw new IOException("Failed to close at least one writer, please see the warn log above. " +
67-
"The cause is the first exception occured", error);
67+
"The cause is the first exception occurred", error);
6868
}
6969
}
7070

hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ public static List<String> getUserGroups(String user) {
528528
try {
529529
return groupService.getGroups(user);
530530
} catch (IOException e) {
531-
LOG.error("Error occured while retrieving group for " + user, e);
531+
LOG.error("Error occurred while retrieving group for " + user, e);
532532
return new ArrayList<>();
533533
}
534534
}

0 commit comments

Comments
 (0)