Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Monkeys(Configuration conf) {
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()
Expand Down Expand Up @@ -91,7 +91,7 @@ public void close() throws IOException {
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);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Response update(final ScannerModel model, final boolean replace,
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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void process() throws IOException {

@Override
protected void handleException(Throwable t) {
LOG.warn("Fatal error occured while opening region {}, aborting...",
LOG.warn("Fatal error occurred while opening region {}, aborting...",
regionInfo.getRegionNameAsString(), t);
getServer().abort(
"Failed to open region " + regionInfo.getRegionNameAsString() + " and can not recover", t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void process() throws IOException {

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void close() throws IOException {
}
if (error != null) {
throw new IOException("Failed to close at least one writer, please see the warn log above. " +
"The cause is the first exception occured", error);
"The cause is the first exception occurred", error);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public static List<String> getUserGroups(String user) {
try {
return groupService.getGroups(user);
} catch (IOException e) {
LOG.error("Error occured while retrieving group for " + user, e);
LOG.error("Error occurred while retrieving group for " + user, e);
return new ArrayList<>();
}
}
Expand Down