Repository: hadoop Updated Branches: refs/heads/trunk 3749152b6 -> 19a1fc637
MAPREDUCE-6753. Variable in byte printed directly in mapreduce client. Contributed by Kai Sasaki. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/19a1fc63 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/19a1fc63 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/19a1fc63 Branch: refs/heads/trunk Commit: 19a1fc6373f0dea56e5845f19990d469428489bc Parents: 3749152 Author: Akira Ajisaka <[email protected]> Authored: Fri Mar 3 16:11:10 2017 +0900 Committer: Akira Ajisaka <[email protected]> Committed: Fri Mar 3 16:11:10 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/19a1fc63/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]
