Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -504,7 +504,7 @@ public HeartbeatEndpointTask build() {

if (conf == null) {
LOG.error("No config specified.");
throw new IllegalArgumentException("A valid configration is needed to" +
throw new IllegalArgumentException("A valid configuration is needed to" +
" construct HeartbeatEndpointTask task");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ public void testRequestQuoting() throws Exception {

doReturn(null).when(mockReq).getParameterValues("x");
assertNull(quoter.getParameterValues("x"),
"Test that missing parameters dont cause NPE for array");
"Test that missing parameters don't cause NPE for array");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ public static void verifyMaxKeyLength(String length)
maxKey = Integer.parseInt(length);
} catch (NumberFormatException nfe) {
throw new IllegalArgumentException(
"Invalid max key length, the vaule should be digital.");
"Invalid max key length, the value should be digital.");
}

if (maxKey <= 0) {
throw new IllegalArgumentException(
"Invalid max key length, the vaule should be a positive number.");
"Invalid max key length, the value should be a positive number.");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ protected SCMHAService createSCMService()
scm.getClientRpcAddress());
} else {
inactiveSCMs.add(scm);
LOG.info("Intialized SCM at {}. This SCM is currently "
LOG.info("Initialized SCM at {}. This SCM is currently "
+ "inactive (not running).", scm.getClientRpcAddress());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ private void initializeRatisDirs(OzoneConfiguration conf) throws IOException {
throw new IOException(
"Path of " + OMConfigKeys.OZONE_OM_RATIS_STORAGE_DIR + " and "
+ ScmConfigKeys.OZONE_SCM_HA_RATIS_STORAGE_DIR
+ " should not be co located. Please change atleast one path.");
+ " should not be co located. Please change at least one path.");
}

// Create Ratis snapshot dir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public OMClientResponse validateAndUpdateCache(OzoneManager ozoneManager, Execut
//Check if bucket exist
if (omBucketInfo == null) {
LOG.debug("Bucket: {} not found ", bucketName);
throw new OMException("Bucket doesnt exist",
throw new OMException("Bucket doesn't exist",
OMException.ResultCodes.BUCKET_NOT_FOUND);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class FollowerAppendLogEntryGenerator extends BaseAppendLogGenerator

@Option(names = {"-i", "--next-index"},
description = "The next index in the term 2 to continue a test. (If "
+ "zero, a new ratis ring will be intialized with configureGroup "
+ "zero, a new ratis ring will be initialized with configureGroup "
+ "call and vote)",
defaultValue = "0")
private long nextIndex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public class LeaderAppendLogEntryGenerator extends BaseAppendLogGenerator

@Option(names = {"-i", "--next-index"},
description = "The next index in the term 2 to continue a test. (If "
+ "zero, a new ratis ring will be intialized with configureGroup "
+ "zero, a new ratis ring will be initialized with configureGroup "
+ "call and vote)",
defaultValue = "0")
private long nextIndex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* Container generator for SCM metadata.
*/
@Command(name = "cgscm",
description = "Offline container metadata generator for Storage Conainer "
description = "Offline container metadata generator for Storage Container "
+ "Manager",
versionProvider = HddsVersionProvider.class,
mixinStandardHelpOptions = true,
Expand Down