HBASE-17982 correct spelling error of 'occured'
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
2db99eb74a
commit
f6dd43be70
|
@ -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 {
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -577,7 +577,7 @@ public class TestHFileBlockIndex {
|
|||
reader.close();
|
||||
}
|
||||
|
||||
// to check if ArrayIndexOutOfBoundsException occured
|
||||
// to check if ArrayIndexOutOfBoundsException occurred
|
||||
assertFalse(hasArrayIndexOutOfBoundsException);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue