HADOOP-16909 Typo in distcp counters.

Contributed by Sebastian Nagel.
This commit is contained in:
Sebastian Nagel 2020-03-09 15:37:08 +01:00 committed by GitHub
parent c6b8a30386
commit 18050bc583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -109,7 +109,7 @@ public class TestTFile {
byte[] val = readValue(scanner);
String keyStr = String.format(localFormatter, i);
String valStr = value + keyStr;
assertTrue("btyes for keys do not match " + keyStr + " "
assertTrue("bytes for keys do not match " + keyStr + " "
+ new String(key), Arrays.equals(keyStr.getBytes(), key));
assertTrue("bytes for vals do not match " + valStr + " "
+ new String(val), Arrays.equals(
@ -117,7 +117,7 @@ public class TestTFile {
assertTrue(scanner.advance());
key = readKey(scanner);
val = readValue(scanner);
assertTrue("btyes for keys do not match", Arrays.equals(
assertTrue("bytes for keys do not match", Arrays.equals(
keyStr.getBytes(), key));
assertTrue("bytes for vals do not match", Arrays.equals(
valStr.getBytes(), val));
@ -146,11 +146,11 @@ public class TestTFile {
for (int i = start; i < (start + n); i++) {
byte[] key = readKey(scanner);
String keyStr = String.format(localFormatter, i);
assertTrue("btyes for keys do not match", Arrays.equals(
assertTrue("bytes for keys do not match", Arrays.equals(
keyStr.getBytes(), key));
scanner.advance();
key = readKey(scanner);
assertTrue("btyes for keys do not match", Arrays.equals(
assertTrue("bytes for keys do not match", Arrays.equals(
keyStr.getBytes(), key));
scanner.advance();
}

View File

@ -21,4 +21,4 @@ BYTESCOPIED.name= Bytes Copied
BYTESEXPECTED.name= Bytes Expected
BYTESFAILED.name= Bytes Failed
BYTESSKIPPED.name= Bytes Skipped
BANDWIDTH_IN_BYTES.name= Bandwidth in Btyes
BANDWIDTH_IN_BYTES.name= Bandwidth in Bytes