HBASE-17982 correct spelling error of 'occured'

Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
张世彬10204932 2017-05-02 17:18:00 +08:00 committed by Michael Stack
parent 2db99eb74a
commit f6dd43be70
9 changed files with 10 additions and 10 deletions

View File

@ -78,7 +78,7 @@ final class ClientIdGenerator {
/**
* @return Some IPv4/IPv6 address available on the current machine that is up, not virtual
* and not a loopback address. Empty array if none can be found or error occured.
* and not a loopback address. Empty array if none can be found or error occurred.
*/
public static byte[] getIpAddressBytes() {
try {

View File

@ -49,7 +49,7 @@ public class DoActionsOncePolicy extends PeriodicPolicy {
try {
action.perform();
} catch (Exception ex) {
LOG.warn("Exception occured during performing action: "
LOG.warn("Exception occurred during performing action: "
+ StringUtils.stringifyException(ex));
}
}

View File

@ -58,7 +58,7 @@ public class PeriodicRandomActionPolicy extends PeriodicPolicy {
try {
action.perform();
} catch (Exception ex) {
LOG.warn("Exception occured during performing action: "
LOG.warn("Exception occurred during performing action: "
+ StringUtils.stringifyException(ex));
}
}

View File

@ -315,7 +315,7 @@ public class HFileArchiver {
* @param start time the archiving started - used for resolving archive
* conflicts.
* @return the list of failed to archive files.
* @throws IOException if an unexpected file operation exception occured
* @throws IOException if an unexpected file operation exception occurred
*/
private static List<File> resolveAndArchive(FileSystem fs, Path baseArchiveDir,
Collection<File> toArchive, long start) throws IOException {

View File

@ -44,7 +44,7 @@ public class DeletionListener extends ZooKeeperListener {
* @param zkWatcher ZookeeperWatcher instance
* @param pathToWatch (Fully qualified) ZNode path that we are waiting to
* be deleted.
* @param deletedLatch Count down on this latch when deletion has occured.
* @param deletedLatch Count down on this latch when deletion has occurred.
*/
public DeletionListener(ZooKeeperWatcher zkWatcher, String pathToWatch,
CountDownLatch deletedLatch) {

View File

@ -89,7 +89,7 @@ public class TestJMXConnectorServer {
LOG.info("Stopping HMaster...");
admin.stopMaster();
} catch (AccessDeniedException e) {
LOG.info("Exception occured while stopping HMaster. ", e);
LOG.info("Exception occurred while stopping HMaster. ", e);
accessDenied = true;
}
Assert.assertTrue(accessDenied);
@ -157,7 +157,7 @@ public class TestJMXConnectorServer {
LOG.info("Stopping HMaster...");
admin.shutdown();
} catch (AccessDeniedException e) {
LOG.error("Exception occured while stopping HMaster. ", e);
LOG.error("Exception occurred while stopping HMaster. ", e);
accessDenied = true;
}
Assert.assertTrue(accessDenied);

View File

@ -75,7 +75,7 @@ public class TestComparatorSerialization {
try {
new RegexStringComparator("regex", Pattern.CASE_INSENSITIVE | Pattern.DOTALL);
} catch (Throwable t) {
assertNull("Exception occured while created the RegexStringComparator object", t);
assertNull("Exception occurred while created the RegexStringComparator object", t);
}
}

View File

@ -577,7 +577,7 @@ public class TestHFileBlockIndex {
reader.close();
}
// to check if ArrayIndexOutOfBoundsException occured
// to check if ArrayIndexOutOfBoundsException occurred
assertFalse(hasArrayIndexOutOfBoundsException);
}

View File

@ -548,7 +548,7 @@ public class TestMasterReplication {
}
}
} catch (Exception e) {
LOG.warn("Exception occured while closing the object:", e);
LOG.warn("Exception occurred while closing the object:", e);
}
}