Repository: hadoop Updated Branches: refs/heads/branch-2.8 2acc4d913 -> c6bf43e0b
MAPREDUCE-6753. Variable in byte printed directly in mapreduce client. Contributed by Kai Sasaki. (cherry picked from commit 19a1fc6373f0dea56e5845f19990d469428489bc) (cherry picked from commit e2fb9538f0e2855d757bcbd586c37278824700ea) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c6bf43e0 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c6bf43e0 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c6bf43e0 Branch: refs/heads/branch-2.8 Commit: c6bf43e0be05af5fc2fe2a0ac82234198435bb75 Parents: 2acc4d9 Author: Akira Ajisaka <[email protected]> Authored: Fri Mar 3 16:11:10 2017 +0900 Committer: Akira Ajisaka <[email protected]> Committed: Fri Mar 3 16:14:03 2017 +0900 ---------------------------------------------------------------------- .../org/apache/hadoop/mapreduce/security/CredentialsTestJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/c6bf43e0/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java index 2141080..e66fb2f 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java @@ -58,7 +58,6 @@ public class CredentialsTestJob extends Configured implements Tool { String secretName = "alias"+i; // get token storage and a key byte[] secretValue = ts.getSecretKey(new Text(secretName)); - System.out.println(secretValue); if (secretValue == null){ throw new RuntimeException("The key "+ secretName + " is not available. "); @@ -66,6 +65,7 @@ public class CredentialsTestJob extends Configured implements Tool { } String secretValueStr = new String (secretValue); + System.out.println(secretValueStr); if ( !("password"+i).equals(secretValueStr)){ throw new RuntimeException("The key "+ secretName + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
