HADOOP-14410. Correct spelling of 'beginning' and variants. Contributed By Dongtao Zhang

This commit is contained in:
Brahma Reddy Battula 2017-05-11 23:33:45 +05:30
parent 51b671ef18
commit 4aae2d40a3
5 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ public URI getUri() {
/**
* Strip out the root from the path.
* @param p - fully qualified path p
* @return - the remaining path without the begining /
* @return - the remaining path without the beginning /
* @throws IOException if the p is not prefixed with root
*/
String stripOutRoot(final Path p) throws IOException {

View File

@ -132,7 +132,7 @@ public URI getUri() {
* Strip out the root from the path.
*
* @param p - fully qualified path p
* @return - the remaining path without the begining /
* @return - the remaining path without the beginning /
*/
public String stripOutRoot(final Path p) {
try {

View File

@ -112,7 +112,7 @@ public void cacheGroupsAdd(List<String> groups) throws IOException {
protected synchronized List<String> getUsersForNetgroup(String netgroup) {
String[] users = null;
try {
// JNI code does not expect '@' at the begining of the group name
// JNI code does not expect '@' at the beginning of the group name
users = getUsersForNetgroupJNI(netgroup.substring(1));
} catch (Exception e) {
if (LOG.isDebugEnabled()) {

View File

@ -133,7 +133,7 @@ protected String execShellGetUserForNetgroup(final String netgroup)
throws IOException {
String result = "";
try {
// shell command does not expect '@' at the begining of the group name
// shell command does not expect '@' at the beginning of the group name
result = Shell.execCommand(
Shell.getUsersForNetgroupCommand(netgroup.substring(1)));
} catch (ExitCodeException e) {

View File

@ -425,7 +425,7 @@ public Map<ApplicationAttemptId, Set<RMContainer>> selectCandidates(
long currentTime = System.currentTimeMillis();
// From the begining of the list
// From the beginning of the list
for (RMContainer reservedContainer : reservedContainers) {
// Only try to preempt reserved container after reserved container created
// and cannot be allocated after minTimeout